scan_secrets
Scans source code for hardcoded secrets such as API keys, database passwords, and tokens, generating a report with file names and line numbers.
Instructions
소스코드 파일이나 디렉토리를 커밋 전에 스캔하여 하드코딩된 AWS/GCP/Slack API 키, DB 비밀번호, JWT 토큰 등을 탐지하고 파일명 및 라인 번호를 포함한 경고 보고서를 생성합니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | 스캔할 소스코드 파일 목록 | |
| entropy_threshold | No | 엔트로피 임계값 (기본값: 4.5, 높을수록 민감도 낮음) | |
| output_format | No | 출력 포맷: report | json | sarif |