- 규칙 발견0건확인
- 코드 정적 분석코드 파일 5개완료
- 비밀정보 패턴파일 5개완료
- 의존성 분석완료 범위 없음미지원
- 입력 흐름검토 후보 0건부분 분석
- 객체 인가
- 객체 인가
- 관계 1개
- 서버 데이터 전달
- 서버 데이터 전달
- 기록 4개
검토할 항목
현재 저장된 근거가 없어요. 분석 상태와 범위를 먼저 확인하세요.
분석별 점검 범위
코드를 실행하지 않고 점검해요.
각 분석에서 살펴본 범위와 확인이 멈춘 이유를 볼 수 있어요.
코드 정적 분석
완료코드 파일 5개규칙 패턴과 함수 내부의 일부 입력 흐름을 검사했어요.
분석한 파일5개
app/api/notifications/route.tsapp/api/channels/route.tslib/database.tsapp/notifications/panel.tsxapp/notifications/page.tsx
분석 기준
파일의 코드 패턴을 규칙과 대조하고, 함수 안에서 입력값이 쓰이는 지점을 살펴봐요. 함수·파일을 넘는 전체 흐름이나 실제 실행 결과는 확인하지 않아요.
원본 범위 기록
{ "files": [ { "path": "app/api/notifications/route.ts", "path_hash": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc" }, { "path": "app/api/channels/route.ts", "path_hash": "9a54f0cbe38d78165f25b1f16896b338402d26b9e57de6e6a0c8d09b272d0d4c" }, { "path": "lib/database.ts", "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326" }, { "path": "app/notifications/panel.tsx", "path_hash": "32f1d41ee621df0d291c9326c970d178025bf24b51003297acb4f39ac884a557" }, { "path": "app/notifications/page.tsx", "path_hash": "cb3553ed8e5458367f787ce50b9794b6698cd58676805fe52d4624fb4b8b33ea" } ], "excluded": [] }비밀정보 패턴
완료파일 5개비밀정보 패턴을 검사했어요. 발견한 값이 실제 키라면 폐기·교체해 주세요.
분석한 파일5개
app/api/notifications/route.tsapp/api/channels/route.tslib/database.tsapp/notifications/panel.tsxapp/notifications/page.tsx
분석 기준
선택한 파일의 문자열을 키·토큰 패턴과 대조해요. 토큰 유효성·권한과 Git 과거 이력은 확인하지 않아요.
원본 범위 기록
{ "files": [ { "path": "app/api/notifications/route.ts", "path_hash": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc" }, { "path": "app/api/channels/route.ts", "path_hash": "9a54f0cbe38d78165f25b1f16896b338402d26b9e57de6e6a0c8d09b272d0d4c" }, { "path": "lib/database.ts", "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326" }, { "path": "app/notifications/panel.tsx", "path_hash": "32f1d41ee621df0d291c9326c970d178025bf24b51003297acb4f39ac884a557" }, { "path": "app/notifications/page.tsx", "path_hash": "cb3553ed8e5458367f787ce50b9794b6698cd58676805fe52d4624fb4b8b33ea" } ], "excluded": [] }의존성 분석
미지원완료 범위 없음버전을 확인할 의존성 파일이 없어요. npm·pnpm 잠금 파일, uv.lock·poetry.lock 또는 버전이 고정된 requirements.txt를 포함하면 대조할 수 있어요.
분석 기준
잠금 파일과 버전이 고정된 선언에서 패키지 이름과 버전을 읽어 OSV에 등록된 취약점과 대조해요. 실제 설치·배포 여부는 확인하지 않아요.
원본 범위 기록
진단 코드:
dependency_files_missing{ "files": [], "excluded": [] }입력 흐름
부분 분석요청 처리 코드 2곳 · 검토 후보 0건파일 2개에서 요청값이 SQL이나 명령 실행으로 이어지는지 살펴봤어요.
끝까지 추적하지 못한 이유5가지
호출 대상어떤 함수가 호출되는지 특정하지 못했어요.11건
app/api/notifications/route.ts:3:191app/api/notifications/route.ts:3:16app/api/notifications/route.ts:4:28app/api/notifications/route.ts:6:62app/api/notifications/route.ts:7:14app/api/notifications/route.ts:10:19app/api/notifications/route.ts:11:26app/api/notifications/route.ts:12:30app/api/notifications/route.ts:14:21app/api/notifications/route.ts:15:41app/api/notifications/route.ts:16:10
속성 출처속성값의 출처를 확인하지 못했어요.9건
app/api/notifications/route.ts:3:191app/api/notifications/route.ts:4:28app/api/notifications/route.ts:5:16app/api/notifications/route.ts:6:7app/api/notifications/route.ts:6:36app/api/notifications/route.ts:12:7app/api/notifications/route.ts:13:16app/api/notifications/route.ts:15:7app/api/notifications/route.ts:15:25
값 전달어떤 값이 전달되는지 특정하지 못했어요.7건
app/api/notifications/route.ts:3:16app/api/notifications/route.ts:6:62app/api/notifications/route.ts:7:14app/api/notifications/route.ts:10:19app/api/notifications/route.ts:12:30app/api/notifications/route.ts:14:21app/api/notifications/route.ts:15:41
함수 밖 코드함수 밖에서 실행된 코드의 영향을 확인하지 못했어요.5건
app/api/notifications/route.ts:1:1app/notifications/page.tsx:2:1lib/database.ts:1:1lib/database.ts:2:1app/notifications/panel.tsx:1:1
예외 흐름예외가 발생한 뒤의 흐름을 확인하지 못했어요.3건
app/api/notifications/route.ts:4:22app/api/notifications/route.ts:11:20app/api/notifications/route.ts:2:1
분석 기준
지원하는 요청 처리 함수에서 시작해 요청값이 SQL 문자열이나 셸 명령에 쓰이는 지점까지 따라가요. 검토 후보는 코드에서 이 연결을 발견한 경우예요. 실제 실행 결과는 확인하지 않아요.
원본 범위 기록
{ "engine_version": "teum-typescript-flow-0.6", "error_code": null, "coverage": { "supplied_files": 5, "parsed_files": 5, "entrypoints": 2, "visited_files": 2, "steps": 122, "calls": 2 }, "unknowns": [ { "reason": "unsupported_module_effect", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 1, "column": 1, "role": "evidence" } }, { "reason": "unsupported_module_effect", "location": { "file_id": "cb3553ed8e5458367f787ce50b9794b6698cd58676805fe52d4624fb4b8b33ea", "path": "app/notifications/page.tsx", "line": 2, "column": 1, "role": "evidence" } }, { "reason": "unsupported_module_effect", "location": { "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326", "path": "lib/database.ts", "line": 1, "column": 1, "role": "evidence" } }, { "reason": "unsupported_module_effect", "location": { "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326", "path": "lib/database.ts", "line": 2, "column": 1, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 3, "column": 191, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 3, "column": 191, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 3, "column": 16, "role": "evidence" } }, { "reason": "ambiguous_value", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 3, "column": 16, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 4, "column": 28, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 4, "column": 28, "role": "evidence" } }, { "reason": "exception_flow", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 4, "column": 22, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 5, "column": 16, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 6, "column": 7, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 6, "column": 36, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 6, "column": 62, "role": "evidence" } }, { "reason": "ambiguous_value", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 6, "column": 62, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 7, "column": 14, "role": "evidence" } }, { "reason": "ambiguous_value", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 7, "column": 14, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 10, "column": 19, "role": "evidence" } }, { "reason": "ambiguous_value", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 10, "column": 19, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 11, "column": 26, "role": "evidence" } }, { "reason": "exception_flow", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 11, "column": 20, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 12, "column": 7, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 12, "column": 30, "role": "evidence" } }, { "reason": "ambiguous_value", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 12, "column": 30, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 13, "column": 16, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 14, "column": 21, "role": "evidence" } }, { "reason": "ambiguous_value", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 14, "column": 21, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 15, "column": 7, "role": "evidence" } }, { "reason": "unresolved_property", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 15, "column": 25, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 15, "column": 41, "role": "evidence" } }, { "reason": "ambiguous_value", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 15, "column": 41, "role": "evidence" } }, { "reason": "indirect_call", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 16, "column": 10, "role": "evidence" } }, { "reason": "exception_flow", "location": { "file_id": "b6cae109c85817860743f275e5506a9bb522116baef909ab6a287b73466b3ecc", "path": "app/api/notifications/route.ts", "line": 2, "column": 1, "role": "evidence" } }, { "reason": "unsupported_module_effect", "location": { "file_id": "32f1d41ee621df0d291c9326c970d178025bf24b51003297acb4f39ac884a557", "path": "app/notifications/panel.tsx", "line": 1, "column": 1, "role": "evidence" } } ] }서버 데이터 전달
부분 분석분석 페이지 1개페이지 1개에서 인증·조회·전달·반환에 관한 세부 기록 4개를 남겼어요.
getUser 인증 API 호출
서버에서 로그인한 사용자 정보를 요청한 위치예요. 개별 데이터에 접근할 권한은 별도로 확인해야 해요.
코드 위치 보기
- 서버 페이지
app/notifications/page.tsx:4:1 - 서버 클라이언트 생성
lib/database.ts:5:10 - 인증 호출
app/notifications/page.tsx:6:43
notifications 조회 · id, title
owner_id = getUser 사용자 ID (사용자 식별값의 존재를 확인하는 조건이 있어요)
코드 위치 보기
- 조회
app/notifications/page.tsx:8:25 - 필터
app/notifications/page.tsx:8:31 - 존재 확인 조건
app/notifications/page.tsx:7:17
Client prop title · 선택 필드 전달
전달 필드: title · title ← title. Client 본문은 분석하지 않았어요.
코드 위치 보기
- Client prop
app/notifications/page.tsx:10:17 - Client 컴포넌트
app/notifications/panel.tsx:2:1
서버 함수의 중단·반환 지점
서버 함수가 처리를 멈추거나 결과를 반환하는 위치예요.
코드 위치 보기
- 중단·반환
lib/database.ts:5:3 - 중단·반환
app/notifications/page.tsx:7:23 - 중단·반환
app/notifications/page.tsx:9:13 - 중단·반환
app/notifications/page.tsx:10:3
끝까지 추적하지 못한 이유5가지
- 함수 호출이 함수 호출을 거친 데이터는 추적하지 못했어요.
lib/database.ts:4:23 - 조건 분기일부 조건 분기를 끝까지 해석하지 못했어요.
app/notifications/page.tsx:7:7 - 클라이언트Client 컴포넌트 본문은 분석하지 않았어요.
app/notifications/panel.tsx:2:1 - 인가 설정서버 데이터 전달에는 객체 인가 설정을 적용하지 않아요.
- DB 접근 정책실제 DB에서 어떤 행에 접근할 수 있는지는 확인하지 못했어요.
분석 기준
서버 페이지에서 로그인 확인과 데이터 조회를 거쳐 어떤 필드가 화면으로 전달되는지 따라가요. 조회한 필드, 전달한 속성, 함수가 끝나는 위치를 각각 기록해요.
실제 접근 권한·데이터 민감도·DB 설정은 별도로 확인해야 해요.
원본 범위 기록
{ "engine_version": "teum-typescript-server-data-0.1", "error_code": null, "coverage": { "supplied_files": 5, "parsed_files": 5, "entrypoints": 1, "visited_files": 2, "steps": 52, "calls": 9, "client_bodies_analyzed": 0 }, "unknowns": [ { "reason": "server_data_call_unsupported", "location": { "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326", "path": "lib/database.ts", "line": 4, "column": 23, "role": "unresolved" } }, { "reason": "server_data_condition_unresolved", "location": { "file_id": "cb3553ed8e5458367f787ce50b9794b6698cd58676805fe52d4624fb4b8b33ea", "path": "app/notifications/page.tsx", "line": 7, "column": 7, "role": "unresolved" } }, { "reason": "server_data_client_body_not_analyzed", "location": { "file_id": "32f1d41ee621df0d291c9326c970d178025bf24b51003297acb4f39ac884a557", "path": "app/notifications/panel.tsx", "line": 2, "column": 1, "role": "unresolved" } }, { "reason": "server_data_policy_not_configured", "location": null }, { "reason": "server_data_rls_unverified", "location": null } ] }- 서버 페이지
참고 기록
가져온 코드와 자료 처리 내역을 확인하세요.
GitHub에서 가져온 코드 범위teum-sample/no-findings · 수집한 파일 5개
- 저장소
- teum-sample/no-findings
- 선택 폴더
저장소 루트- 수집 범위
- 전체 5개 · 수집 5개 · 제외 0개