कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

nirwan-secret-scanner

nirwandogra द्वारा

Coding Agents & IDEs
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Scans files, repos, and directories for leaked secrets — API keys, tokens, passwords, connection strings, private.

विवरण

यह स्किल क्या करती है

Scans codebases, config files, and directories for accidentally exposed secrets. Detects 40+ patterns covering API keys, tokens, passwords, connection strings, and private keys across major cloud providers and developer services. Outputs findings as a Markdown report or JSON with severity ratings and remediation steps.

Requires no external dependencies beyond Python, so it runs immediately without package installs or API accounts, unlike tools such as truffleHog or gitleaks.

इसे कब इस्तेमाल करें

  • Auditing a repo before pushing to GitHub
  • Checking if AWS credentials were hardcoded in a config file
  • Running a pre-commit scan to catch leaked Stripe live keys
  • Finding hardcoded database passwords across environment files
  • Reviewing a forked project for exposed credentials before using it

उदाहरण वर्कफ़्लो

इनपुट

User asks: Scan my project directory for leaked secrets before I publish

एजेंट
  1. 1

    Run secret_scanner.py on the project directory recursively

  2. 2

    Match file contents against 40+ secret patterns for cloud keys, tokens, and passwords

  3. 3

    Assign severity ratings (Critical, High, Medium, Low) to each finding

  4. 4

    Generate a Markdown report listing each secret by type, file, and location

  5. 5

    Provide remediation steps for rotating and removing each exposed credential

आउटपुट

Markdown report with 3 findings: a hardcoded AWS Access Key (Critical), a Stripe test key (Medium), and a generic password= in a config file (Low), each with rotation and removal guidance

इंस्टॉलेशन

clawhub install nirwandogra/nirwan-secret-scanner

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक