/indra:sh-kb-secretsfrom Indra
Knowledge base for finding hardcoded secrets and sensitive-data exposure: API keys, passwords, tokens, private keys, and connection strings in source/config, or secrets leaked to logs/errors/URLs.
Ships in Indra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Credentials embedded in code/config or leaked through logs, errors, or client-visible responses. High value: a single leaked key can defeat every other control.
password\s*=, passwd, api[_-]?key, secret, token, access[_-]?key,
client_secret, Authorization: Bearer <literal>, -----BEGIN (RSA |EC |OPENSSH )?PRIVATE KEY-----.os.environ[...]/process.env.*/vault calls).AKIA (AWS), AIza (Google), ghp_/gho_ (GitHub), sk- / sk_live_ (OpenAI/Stripe),
xox[baprs]- (Slack), -----BEGIN.mongodb://user:pass@, postgres://user:pass@, Data Source=...Password=.logger.*(... token/password ...), returning exception detail to clients.graft grep "(api|secret|access|private)[_-]?(key|token)|password|BEGIN [A-Z ]*PRIVATE KEY|AKIA|sk_live|xox[bp]-" --json
(and native Grep across config/CI/Docker/.env committed files).changeme, xxx, example) or an env lookup.file:line (mask the value in the report: AKIA****). For a live key, the "PoC" is
demonstrating it authenticates - describe rather than actually using third-party creds without authorization.*.example; obviously fake values.os.environ, process.env, AWS Secrets Manager, Vault, KMS).pk_, OAuth client_id, public certs).CWE-798/259 (hardcoded creds), CWE-312 (cleartext storage), CWE-532 (log exposure), CWE-522. OWASP A05:2021 (Misconfiguration) / A02:2021 (Cryptographic Failures). Live production credential -> critical; test/limited-scope or client publishable-by-design -> low/info.
A leaked key is often the first link: DB creds -> full data access; cloud key -> infra takeover; JWT
secret -> forge tokens (auth); pairs with path-traversal/sqli reads that surface config files.
Remove secrets from code; load from env/secret manager/vault; rotate any exposed secret (and purge from git history); never log secrets/PII (redact); return generic errors to clients; keep keys server-side; add pre-commit secret scanning (gitleaks/trufflehog) to prevent recurrence.
What SKILL.md sets; muted values are Claude Code's defaults
20 skills in this plugin
/indraindra - the entry point for application-security work. Dispatcher for the indra security harness. Use when the user asks for any application-security work - 'security review', 'audit this codebase', 'pentest', 'find vulnerabilities', 'check for SQLi/XSS/IDOR/SSRF', 'generate a security report/SARIF'. Interprets the request and routes it to the full sh-security-review pipeline, a single stage, or a single vulnerability-class knowledge base./sh-kb-access-controlKnowledge base for finding broken access control - IDOR/BOLA, missing function-level authorization, privilege escalation, and multi-tenant isolation failures. Use when hunting authorization issues or reviewing whether users can access resources/actions they shouldn't. CWE-284/285/639/862/863, OWASP A01:2021-Broken Access Control./sh-kb-authKnowledge base for finding authentication and session-management failures - weak login, broken JWT/session handling, password/reset flaws, MFA bypass, credential storage issues. Use when hunting authentication (not authorization - see sh-kb-access-control). CWE-287/384/613/620/640, OWASP A07:2021-Identification and Authentication Failures./sh-kb-cryptoKnowledge base for finding cryptographic failures - weak hashing/encryption, insecure randomness, hardcoded/static keys and IVs, ECB mode, missing integrity, and predictable tokens. Use when hunting crypto misuse. CWE-327/328/330/326/916, OWASP A02:2021-Cryptographic Failures./sh-kb-csrfKnowledge base for finding Cross-Site Request Forgery - state-changing requests that rely only on ambient credentials (cookies) with no anti-CSRF token or SameSite protection. Use when hunting CSRF. CWE-352, OWASP A01:2021-Broken Access Control./sh-kb-deserializationKnowledge base for finding insecure deserialization - untrusted data fed to object-deserialization APIs that can trigger RCE or object injection via gadget chains. Use when hunting deserialization issues. CWE-502, OWASP A08:2021-Software and Data Integrity Failures.npx claudepluginhub dmdhrumilmistry/indra --plugin indraOther plugins' skills for the same job