कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक