secret-exposure-reviewer
Purpose
Check whether prompts, tools, logs, traces, memory, or outputs can expose credentials, keys, tokens, or sensitive internal data.
Trigger this skill when
- The current artifact has LLM, prompt, retrieval, memory, or agent-tooling behavior that needs structured review or hardening.
- You need to turn vague AI safety or agent security concerns into concrete findings, controls, or requirements.
- You want the next agent-security-focused action to be explicit rather than ad hoc.
Expected inputs
- secrets inventory
- prompt and context paths
- logs and traces
- tool responses
- storage locations
Deliverables
- secret exposure findings
- high-risk disclosure paths
- redaction and storage recommendations
- monitoring recommendations
- recommended next skill
Operating procedure
- Read the artifact from an agent-security perspective and identify the concrete trust, autonomy, and side-effect model.
- Separate facts from assumptions and call out missing details that materially affect risk or confidence.
- Start with the highest-impact abuse paths rather than trying to describe every possible issue equally.
- Translate findings into explicit controls, approvals, isolation boundaries, or policy language that builders can act on.
- Prefer concrete exploit paths, sinks, boundaries, and failure conditions over generic AI-safety slogans.
- Finish with the most sensible handoff skill based on the dominant risk pattern you found.
Quality gates
- Findings are specific to the actual prompt, retrieval, memory, tool, or runtime design rather than generic AI risk boilerplate.
- Output separates facts, assumptions, risks, controls, and recommended next action.
- Prioritization reflects impact, privilege, and automation potential rather than just issue count.
- Recommendations are implementable and framed in a way that can be tested or reviewed later.
Handoff targets
- context-leak-reviewer
- agent-sandbox-reviewer
- guardrail-policy-writer
Output style
- Be explicit about uncertainty.
- Prefer concrete abuse paths and control implications over generic safety slogans.
- Separate facts, risks, recommendations, and next steps.
- Make the output usable by engineers, reviewers, security testers, and policy owners.
Failure modes to avoid
- Do not treat "the model should know better" as a security control.
- Do not bury high-impact autonomous action risk behind long, unprioritized issue lists.
- Do not recommend guardrails without explaining the exploit or failure they address.
- Do not hide uncertainty when prompt assembly, retrieval, memory, or runtime details are missing.
Minimum output skeleton
## Summary
## Findings
## Structured outputs
## Risks
## Recommendations
## Recommended next skill
1---2name: secret-exposure-reviewer3description: secret-exposure-reviewer4---5# secret-exposure-reviewer67## Purpose8Check whether prompts, tools, logs, traces, memory, or outputs can expose credentials, keys, tokens, or sensitive internal data.910## Trigger this skill when11- The current artifact has LLM, prompt, retrieval, memory, or agent-tooling behavior that needs structured review or hardening.12- You need to turn vague AI safety or agent security concerns into concrete findings, controls, or requirements.13- You want the next agent-security-focused action to be explicit rather than ad hoc.1415## Expected inputs16- secrets inventory17- prompt and context paths18- logs and traces19- tool responses20- storage locations212223## Deliverables24- secret exposure findings25- high-risk disclosure paths26- redaction and storage recommendations27- monitoring recommendations28- recommended next skill293031## Operating procedure321. Read the artifact from an agent-security perspective and identify the concrete trust, autonomy, and side-effect model.332. Separate facts from assumptions and call out missing details that materially affect risk or confidence.343. Start with the highest-impact abuse paths rather than trying to describe every possible issue equally.354. Translate findings into explicit controls, approvals, isolation boundaries, or policy language that builders can act on.365. Prefer concrete exploit paths, sinks, boundaries, and failure conditions over generic AI-safety slogans.376. Finish with the most sensible handoff skill based on the dominant risk pattern you found.3839## Quality gates40- Findings are specific to the actual prompt, retrieval, memory, tool, or runtime design rather than generic AI risk boilerplate.41- Output separates facts, assumptions, risks, controls, and recommended next action.42- Prioritization reflects impact, privilege, and automation potential rather than just issue count.43- Recommendations are implementable and framed in a way that can be tested or reviewed later.4445## Handoff targets46- context-leak-reviewer47- agent-sandbox-reviewer48- guardrail-policy-writer495051## Output style52- Be explicit about uncertainty.53- Prefer concrete abuse paths and control implications over generic safety slogans.54- Separate facts, risks, recommendations, and next steps.55- Make the output usable by engineers, reviewers, security testers, and policy owners.5657## Failure modes to avoid58- Do not treat "the model should know better" as a security control.59- Do not bury high-impact autonomous action risk behind long, unprioritized issue lists.60- Do not recommend guardrails without explaining the exploit or failure they address.61- Do not hide uncertainty when prompt assembly, retrieval, memory, or runtime details are missing.6263## Minimum output skeleton64```md65## Summary66## Findings67## Structured outputs68## Risks69## Recommendations70## Recommended next skill71```