fix(security): F01·F02·F03·F05 서버 취약점 보완 - #29
Merged
Merged
Conversation
- F01: Gemini를 사용한 브리핑 생성을 서버로 이동 - 서버 환경변수로 API 키 관리 - 인증·소유권 확인 후 저장된 분석 결과로 프롬프트 구성 - 호출 제한·캐시·동시 요청 제어·타임아웃 적용 - F02: 영상 및 분석 리포트 소유권 검증 - 타인 영상·삭제된 영상·없는 영상 접근 차단 - URL 서명과 외부 API 호출 전에 권한 확인 - 접근 불가·분석 대기·실패 상태 구분 - F03: access와 refresh 토큰의 사용 목적 검증 - 일반 API에서 refresh 토큰 사용 차단 - 서명·만료·사용자 ID 검증 강화 - 토큰 갱신 시 저장된 refresh 토큰 확인 - F05: 업로드 파일의 실제 내용 검증 - ffprobe 기반 영상 형식·크기·해상도 검사 - 썸네일 검사 및 JPEG 재인코딩 - 검증 실패 시 저장과 분석 요청 차단 - 서버에서 MIME과 객체 키 결정
This was referenced Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
F01: Gemini를 사용한 브리핑 생성을 서버로 이동
F02: 영상 및 분석 리포트 소유권 검증
F03: access와 refresh 토큰의 사용 목적 검증
F05: 업로드 파일의 실제 내용 검증
병합 전 검증 결과
병합 판단 전에 남은 항목
--large_video --max_sample_num 120설정으로 실제 전체 분석했습니다. 나머지 두 영상은 기본 설정입니다. 기본 1080p 운영 동작을 통과한 것으로 보지 않습니다.함께 검토할 PR 및 적용 순서
서버 전용 키·ffprobe를 준비하고 Backend·보안 프록시·Frontend 순서로 호환되게 적용합니다. 실제 키·토큰·영상·분석 JSON·스크린샷은 이 PR에 올리지 않습니다. 남은 확인 전에는 미병합 상태를 유지합니다.
현재 PR CI