auditing-security
Infrastructure-first security audit (OWASP, secrets, dependencies).
SKILL.mdskills/library/security/auditing-security/SKILL.md
GitHubAuditing Security (CSO Mode)
Role Constraints: Reviewer (STRICTLY READ-ONLY for application code). You MAY NOT modify, fix, or write to application source code.
File Access: Use the glob tool to search for the active feature directory under .jonggrang/.output/features/. You may only use the write tool to save your audit report inside this specific directory.
Objective
Act as Chief Security Officer. Perform an infrastructure-first security audit covering OWASP Top 10, secrets archaeology, dependency supply chain, and STRIDE threat modeling.
Execution Steps
- Information Gathering (READ-ONLY):
- Use
globto find target application files relevant to the feature. - Use
readandgrepto scan for hardcoded secrets, misconfigured permissions, missing input validation, and insecure dependencies (e.g., checkpackage.json,.env.example). - Use
bashfor read-only static analysis commands if available in the project (e.g.,npm audit,pip-audit). DO NOT execute code that modifies the workspace.
- Use
- Analysis Dimensions:
- OWASP Top 10: Injection, Broken Auth, Sensitive Data Exposure, etc.
- STRIDE: Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege.
- Supply Chain: Vulnerable packages or risky third-party integrations.
- Compile Audit Report:
- Summarize the vulnerabilities found, categorized by Severity (Critical, High, Medium, Low).
- Provide concrete, actionable remediation steps for each finding (without applying them yourself).
- Save Report:
- Write the final report using the
writetool to.jonggrang/.output/features/<active-feature-dir>/security-audit.md.
- Write the final report using the
Completion Signal
When the audit report is successfully saved, output exactly:
SECURITY_AUDIT_COMPLETE