AC secrets-audit
Scan projects and codebases for exposed secrets, API keys, tokens, passwords, and sensitive credentials. Detects hardcoded secrets in source code, config files, environment files, and git history. Use when asked to audit a project for secrets, check for exposed credentials, scan for API keys, find hardcoded passwords, review security of a codebase, check for leaked tokens, audit .env files, or verify no secrets are committed. Triggers on "secrets audit", "scan for secrets", "find exposed keys", "check for credentials", "security scan", "leaked secrets", "hardcoded passwords", "API key exposure", "credential check".
As a process C 55/100 · Has gaps — weak spots: result and completion, inputs and preconditions, running it twice
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 8
✓ No critical or high findings
Medium and low: 8
-
low Secrets in code
secret-aws-keyreferences/secret-patterns.md:10AWS access key ID (placeholder value)| AWS Access Key | `AKIA[0-9A-Z]{16}` | AKIA…PLE |placeholder -
low Secrets in code
secret-high-entropy-tokenreferences/secret-patterns.md:12High-entropy token-like string (may be an id, hash or a credential) (placeholder value)| GCP API Key | `AIza[0-9A-Za-z_-]{35}` | AIza…tuv |placeholder -
low Secrets in code
secret-google-keyreferences/secret-patterns.md:12Google API key (placeholder value)| GCP API Key | `AIza[0-9A-Za-z_-]{35}` | AIza…tuv |placeholder -
low Secrets in code
secret-high-entropy-tokenreferences/secret-patterns.md:19High-entropy token-like string (may be an id, hash or a credential)| Stripe Secret | `sk_live_[0-9a-zA-Z]{24,}` | sk_l…7dc | -
low Exfiltration
exfil-webhook-urlreferences/secret-patterns.md:25Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)| Slack Webhook | `https://hooks.slack.com/services/T.../B.../...` | — |
placeholder -
low Exfiltration
exfil-webhook-urlreferences/secret-patterns.md:26Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)| Discord Webhook | `https://discord.com/api/webhooks/...` | — |
placeholder -
low Secrets in code
secret-github-tokenreferences/secret-patterns.md:41GitHub token (placeholder value)| GitHub PAT | `gh[pousr]_[A-Za-z0-9_]{36,}` | ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |placeholder -
low Secrets in code
secret-password-literalSKILL.md:76Hard-coded password / key literal (may be an example) (detector / deny-list definition)Match: password: "pr0d…n_p@ss"
detector
Files scanned: 7. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 55/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 11 mutating operations with no state check
- 55Failures and branches. 1 branches
- 60Tools and files. Uses tools (bash) that frontmatter does not declare
- 70When it triggers. States when to use, but not when not to
- 100Steps. 41 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 981 tokens
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- -5TODO / placeholder text left in the skill
- +1No license
- +2Single-language instructions
- +5Description quotes 9 example trigger phrases
- +3Description length 622: enough signal without eating the budget
- +4Structure: 16 headings
- +3Step-by-step instructions: 41 items
- +4Has examples (2 code blocks)
- +4Reference files are cited in the instructions (2 of 2)
- +3All 1 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 91.