secret-exposure-response
Skill1 starsChanged 2 months agoApache-2.0View on GitHub
Responds to suspected credential or secret exposure by containing access, determining scope, rotating or revoking safely, removing exposed material, validating recovery, and adding preventive controls without reproducing secret values.
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Treat a credible suspected exposure as potentially real until evidence establishes otherwise.
- Distinctive: line 12
Never reproduce, quote, log, paste, summarize, or unnecessarily retrieve the secret value.
- Distinctive: line 20
Remove the source of exposure and move ongoing secret handling to the project's documented secret-management mechanism.
- Distinctive: line 22
Consider repository-history rewriting, artifact deletion, cache invalidation, or other destructive cleanup only when necessary and …
- Distinctive: line 26
Add the smallest useful preventive control, such as secret scanning, least privilege, shorter-lived credentials, safer configuration, a …
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Secret exposure response
- Treat a credible suspected exposure as potentially real until evidence establishes otherwise.
- Never reproduce, quote, log, paste, summarize, or unnecessarily retrieve the secret value. Refer to it by type, identifier, location, or affected system instead.
- Determine the exposure scope, including relevant source files, repository history, build or CI artifacts, logs, caches, screenshots, generated output, deployed systems, clients, integrations, and third parties.
- Identify what the exposed secret can access, its privilege level, expiration behavior, dependencies, and whether evidence suggests unauthorized use.
- Contain access using the safest available mechanism and rotate, revoke, replace, or invalidate the credential according to project policy and applicable human approval requirements.
- Remove the source of exposure and move ongoing secret handling to the project's documented secret-management mechanism. Do not invent or migrate secret infrastructure solely because this skill was invoked.
- Consider repository-history rewriting, artifact deletion, cache invalidation, or other destructive cleanup only when necessary and authorized. Cleanup does not replace credential rotation or revocation.
- Validate dependent applications and automation after remediation. When safe and practical, confirm that the old credential no longer provides access.
- Add the smallest useful preventive control, such as secret scanning, least privilege, shorter-lived credentials, safer configuration, a deterministic check, or focused documentation.
- Preserve incident evidence without preserving the secret itself when audit, investigation, or follow-up requires a record.
Credential rotation, access changes, destructive cleanup, or other high-impact remediation must respect the project's approval boundaries.
Report the exposure type and scope without secret values, containment and remediation status, affected systems, validation performed, and remaining human actions.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- automation-cost-controlSkill
- backup-and-recovery-reviewSkill
- calculation-model-validationSkill
- change-reviewSkill
- compatibility-and-rolloutSkill
- continuous-improvementSkill
- cross-surface-consistencySkill
- delegation-strategySkill
- dependency-changeSkill
- documentation-syncSkill
- environment-release-safetySkill
- high-risk-change-reviewSkill
- interface-qaSkill
- root-cause-debugSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

