secrets-handling-checker
Purpose
Check how credentials, API keys, tokens, signing keys, and configuration secrets are stored, rotated, injected, and exposed.
Trigger this skill when
- The current artifact has security implications that need structured review or hardening.
- You need to turn vague security concerns into concrete findings, controls, or requirements.
- You want the next security-focused action to be explicit rather than ad hoc.
Expected inputs
- config files
- secret injection paths
- CI/CD settings
- runtime environment
- rotation process
Deliverables
- secrets findings
- exposure risks
- storage/injection recommendations
- rotation gaps
- priority remediations
Operating procedure
- Read the artifact from a security perspective and identify the concrete trust and exposure model.
- Separate facts from assumptions and call out missing information that affects confidence.
- Map the highest-risk paths first rather than trying to describe every possible issue equally.
- Translate findings into concrete control or requirement language that a builder can act on.
- Prefer explicit attack paths, assets, boundaries, and failure conditions over generic advice.
- Finish with the most sensible handoff skill based on the dominant risk area you found.
Quality gates
- Findings are specific to the artifact and threat context, not generic security boilerplate.
- Output separates facts, assumptions, risks, controls, and recommended next action.
- Prioritization reflects impact and exposure, not just the number of issues found.
- Recommendations are implementable and framed in a way that can be tested or reviewed later.
Handoff targets
- least-privilege-reviewer
- security-misconfiguration-checker
- dependency-vuln-exposure-reviewer
Output style
- Be explicit about uncertainty.
- Prefer concrete attack paths and control implications over generic slogans.
- Separate facts, risks, recommendations, and next steps.
- Make the output usable by engineers, reviewers, and test designers.
Failure modes to avoid
- Do not confuse compliance language with real security risk reduction.
- Do not bury critical exposure behind long, unprioritized issue lists.
- Do not recommend controls without explaining the attack or failure they address.
- Do not hide uncertainty when architecture or deployment details are missing.
Minimum output skeleton
## Summary
## Findings
## Structured outputs
## Risks
## Recommendations
## Recommended next skill
1---2name: secrets-handling-checker3description: secrets-handling-checker4---5# secrets-handling-checker67## Purpose8Check how credentials, API keys, tokens, signing keys, and configuration secrets are stored, rotated, injected, and exposed.910## Trigger this skill when11- The current artifact has security implications that need structured review or hardening.12- You need to turn vague security concerns into concrete findings, controls, or requirements.13- You want the next security-focused action to be explicit rather than ad hoc.1415## Expected inputs16- config files17- secret injection paths18- CI/CD settings19- runtime environment20- rotation process2122## Deliverables23- secrets findings24- exposure risks25- storage/injection recommendations26- rotation gaps27- priority remediations2829## Operating procedure301. Read the artifact from a security perspective and identify the concrete trust and exposure model.312. Separate facts from assumptions and call out missing information that affects confidence.323. Map the highest-risk paths first rather than trying to describe every possible issue equally.334. Translate findings into concrete control or requirement language that a builder can act on.345. Prefer explicit attack paths, assets, boundaries, and failure conditions over generic advice.356. Finish with the most sensible handoff skill based on the dominant risk area you found.3637## Quality gates38- Findings are specific to the artifact and threat context, not generic security boilerplate.39- Output separates facts, assumptions, risks, controls, and recommended next action.40- Prioritization reflects impact and exposure, not just the number of issues found.41- Recommendations are implementable and framed in a way that can be tested or reviewed later.4243## Handoff targets44- least-privilege-reviewer45- security-misconfiguration-checker46- dependency-vuln-exposure-reviewer4748## Output style49- Be explicit about uncertainty.50- Prefer concrete attack paths and control implications over generic slogans.51- Separate facts, risks, recommendations, and next steps.52- Make the output usable by engineers, reviewers, and test designers.5354## Failure modes to avoid55- Do not confuse compliance language with real security risk reduction.56- Do not bury critical exposure behind long, unprioritized issue lists.57- Do not recommend controls without explaining the attack or failure they address.58- Do not hide uncertainty when architecture or deployment details are missing.5960## Minimum output skeleton61```md62## Summary63## Findings64## Structured outputs65## Risks66## Recommendations67## Recommended next skill68```