scan_path
Scan local files or folders against public-sector security standards, skipping build/vendor dirs and binaries, without sending code to external APIs; report Korean audit findings with safe fixes.
Instructions
파일 또는 폴더를 공공기관 보안 기준으로 점검(보안·검토·체크·검사)합니다.
사용자가 "이 폴더/프로젝트 보안 점검해줘", "이 파일 검토/체크해줘", "안전한지 검사해줘"처럼 로컬 경로를 가리키면 이 도구를 사용하세요. 메모리의 코드 조각이면 대신 scan_code 를 씁니다. "기존 코드베이스 감사" 흐름의 진입점입니다.
경로를 로컬에서 순회하며 빌드·vendor 디렉터리를 건너뛰고 바이너리는 무시하며, 소스 코드를 외부 API로 전혀 보내지 않습니다. 각 발견 사항에는 why_it_matters 와 safe_fix 가 포함됩니다. 검사 후 render_report 로 한국어 보고서를 만드세요.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 검사할 로컬 파일 또는 폴더의 절대·상대 경로. 원격 URL 불가(먼저 clone) | |
| caller | No | 호출 주체 자율 신고 (예: 'harness:auto'). 감사 구분용 | |
| profile | No | 정책 프로파일 ID. 값: public-default-strict(기본·엄격) | civil-complaint-chatbot | internal-db-query | web-civil-service | public-default-strict |
| scenario | No | 용도 힌트 — 해당 시나리오 룰을 우선 적용. 값: web-app | data-pipeline | llm-integration | agent | |
| max_files | No | 최대 검사 파일 수 (기본 20,000). 초과분은 skipped_files에 사유와 함께 기록 | |
| max_file_bytes | No | 파일 하나의 크기 상한(바이트, 기본 8,000,000). 넘는 실행 소스는 coverage.oversized_source_files 에 남고 게이트는 승인을 내리지 않는다 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||