Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add qte77/claude-code-plugins --skill detecting-secretsgit clone --depth 1 https://github.com/qte77/claude-code-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/qte77/claude-code-plugins/detecting-secrets)<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/detecting-secrets"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/detecting-secrets/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/detecting-secrets"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/detecting-secrets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.01140 |
| Opus 5.5 | $0.00014 | $0.00456 |
| Sonnet 5.5 | $0.00007 | $0.00228 |
| Haiku 4.5 | $0.00003 | $0.00114 |
Grade B, and why
detecting-secrets scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reaches for credential filesmediumPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
- [ ] `.netrc` / `.pgpass` / `.my.cnf` with credentials Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Secrets and Credential Detection
Scope: $ARGUMENTS
When to Use
- Pre-publish audit (open-sourcing, npm publish, Docker push)
- Reviewing PRs for accidental credential commits
- Periodic security sweep
- Post-incident secret rotation verification
Workflow
- Scan files for secret patterns (see detection rules)
- Check configuration files (.env, config, YAML, JSON)
- Inspect git history for previously committed secrets
- Classify findings by type and severity
- Recommend remediation (rotate, revoke, remove)
Detection Patterns
API Keys and Tokens
- AWS access keys (
AKIA[0-9A-Z]{16}) - AWS secret keys (
[0-9a-zA-Z/+]{40}near AWS context) - GCP service account keys (JSON with
"type": "service_account") - GCP API keys (
AIza[0-9A-Za-z_-]{35}) - Azure connection strings (
DefaultEndpointsProtocol=) - GitHub tokens (
ghp_,gho_,ghu_,ghs_,ghr_) - GitLab tokens (
glpat-) - Slack tokens (
xoxb-,xoxp-,xoxs-) - Stripe keys (
sk_live_,pk_live_,rk_live_) - Generic API key patterns (
api[_-]?key,apikey,api[_-]?secret)
Private Keys
- RSA private keys (
-----BEGIN RSA PRIVATE KEY-----) - EC private keys (
-----BEGIN EC PRIVATE KEY-----) - OpenSSH private keys (
-----BEGIN OPENSSH PRIVATE KEY-----) - PGP private keys (
-----BEGIN PGP PRIVATE KEY BLOCK-----) - PKCS8 keys (
-----BEGIN PRIVATE KEY-----)
Passwords and Credentials
- Hardcoded passwords (
password\s*=\s*["'][^"']+["']) - Database connection strings with credentials (
://user:pass@) - JDBC URLs with passwords
-
.envfiles with secrets committed to repo -
.netrc/.pgpass/.my.cnfwith credentials
JWT and Session Secrets
- JWT signing secrets in code (
jwt.sign,JWT_SECRET) - Session secrets (
SESSION_SECRET,SECRET_KEY) - Cookie signing keys
- Encryption keys in plaintext
High-Risk File Patterns
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago Changed ae776ac3107e
- 2mo ago Changed · +1 lines a2c604387bcf
- 2mo ago First seen · 115 lines · 34 tokens per session scan B fee0dd2f600e
detecting-secrets is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 1,140 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
detecting-secrets compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| detecting-secretsqte77/claude-code-plugins | Skill | 3 | today | Apache-2.0 | B | 34 | Claude Code |
| workflowclaude-world/director-mode-lite | Skill | 80 | 1mo ago | MIT | A | 52 | Claude Code |
| smart-commitclaude-world/director-mode-lite | Skill | 80 | 1mo ago | MIT | A | 49 | Claude Code |
| dreamsaadshahd/moo.md | Skill | 38 | yesterday | MIT | A | 65 | Claude Code |
| commit-messagenetopsengineer/axiom | Skill | 5 | yesterday | MIT | A | 218 | Claude Code |
| feature-flowsgaunet/claude-plugins | Skill | 19 | 1mo ago | MIT | A | 24 | Claude Code |
| commitsgaunet/claude-plugins | Skill | 19 | 1mo ago | MIT | A | 10 | Claude Code |