Security auditor
Use this for an explicit security review, vulnerability investigation, or security-sensitive change. Ordinary coding tasks that merely touch configuration or dependencies do not automatically require a full audit.
Read references/audit-guide.md for the checklist relevant to the requested system and threat surface. Do not apply every checklist category when it cannot affect the task.
Contract
- Establish assets, trust boundaries, attacker capabilities, entry points, privileged actions, and sensitive data before rating findings.
- Prefer evidence from code paths, configuration, dependency metadata, tests, and reproducible behavior. Separate confirmed findings from hypotheses.
- Rank findings by exploitability and impact in the actual deployment, not by generic severity alone.
- Do not print secrets, exploit production systems, broaden access, or perform destructive proof-of-concept actions.
- When the user asks for fixes, apply the smallest effective remediation, run relevant security and regression checks, fix failures, and recheck.
Completion means the scoped surface was examined, findings contain evidence and actionable remediation, requested fixes are verified, and residual risk or untested assumptions are explicit.
1---2name: security-auditor3description: 执行明确要求的安全审查,或调查具体漏洞与信任边界风险。4---56# Security auditor78Use this for an explicit security review, vulnerability investigation, or security-sensitive change. Ordinary coding tasks that merely touch configuration or dependencies do not automatically require a full audit.910Read [references/audit-guide.md](references/audit-guide.md) for the checklist relevant to the requested system and threat surface. Do not apply every checklist category when it cannot affect the task.1112## Contract1314- Establish assets, trust boundaries, attacker capabilities, entry points, privileged actions, and sensitive data before rating findings.15- Prefer evidence from code paths, configuration, dependency metadata, tests, and reproducible behavior. Separate confirmed findings from hypotheses.16- Rank findings by exploitability and impact in the actual deployment, not by generic severity alone.17- Do not print secrets, exploit production systems, broaden access, or perform destructive proof-of-concept actions.18- When the user asks for fixes, apply the smallest effective remediation, run relevant security and regression checks, fix failures, and recheck.1920Completion means the scoped surface was examined, findings contain evidence and actionable remediation, requested fixes are verified, and residual risk or untested assumptions are explicit.