본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

ggshield-scanner

amascia-gg 제작

Security & Passwords
2.1kclawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Detect 500+ types of hardcoded secrets.

설명

이 스킬이 하는 일

Wraps GitGuardian's ggshield CLI to scan repositories, files, staged changes, and Docker images for 500+ types of hardcoded secrets. It can install git pre-commit hooks to automatically block commits containing credentials before they reach version control.

ggshield combines entropy analysis, known-format pattern matching, and ML trained on real leaked credentials, catching secrets that simple regex scanners miss.

사용 시점

  • Scan a repo for leaked API keys before pushing to GitHub
  • Audit an old project for credentials accidentally committed to history
  • Block commits containing hardcoded secrets via pre-commit hooks
  • Check a Docker image for secrets embedded in its layers
  • Add automated secret detection to a CI/CD pipeline

예시 워크플로

입력

User asks: scan my repo for secrets before I push

에이전트
  1. 1

    Runs scan-repo on the target repository path

  2. 2

    ggshield scans all files and git history for secret patterns

  3. 3

    Identifies matches by file path and line number

  4. 4

    Returns a clean confirmation or a list of detected secrets with remediation advice

출력

Found 2 secrets: AWS Access Key ID in config/prod.py:42, Slack API token in .env.backup:8. Rotate these credentials immediately and remove them from history.

요구 사항

  • GitGuardian account (free at dashboard.gitguardian.com)
  • GITGUARDIAN_API_KEY environment variable set to your API key
  • ggshield CLI installed

설치

clawhub install amascia-gg/ggshield-scanner

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크