
ChartMuseum에서 모든 차트 목록을 추출합니다
TruffleHog를 사용하여 Helm 차트를 다운로드하고 시크릿을 스캔합니다.
Helm 저장소 URL이 주어지면 chart-down은 저장소 인덱스를 가져와 모든 차트 아카이브를 다운로드하고, 압축을 풀고, 내용을 대상으로 TruffleHog를 실행합니다.
brew install trufflehog)go install github.com/RandomRobbieBF/chart-down@latest
또는 소스에서 빌드:
git clone https://github.com/RandomRobbieBF/chart-down.git
cd chart-down
go build -o chart-down .
./chart-down -url <helm-repo-url> [-proxy <proxy-url>]
| 플래그 | 필수 | 설명 |
|---|---|---|
-url | 예 | Helm 저장소 URL (필요시 /index.yaml 추가) |
-proxy | 아니요 | HTTP 또는 SOCKS5 프록시 URL (예: http://127.0.0.1:8080) |
# Basic scan
./chart-down -url https://charts.example.com
# Scan through a proxy
./chart-down -url https://charts.example.com -proxy http://127.0.0.1:8080
| 경로 | 설명 |
|---|---|
charts.txt | 모든 차트 다운로드 URL 목록 |
charts-extracted/ | 추출된 차트 내용 |
trufflehog-results/ |
결과 검토:
# Verified secrets only
cat trufflehog-results/verified-secrets.json 2>/dev/null | jq .
# All findings
cat trufflehog-results/*.json | jq .
| 차트별 JSON 탐지 결과 (시크릿이 있는 차트만) |
trufflehog-results/verified-secrets.json | 통합된 검증된(활성 상태로 확인된) 시크릿 |