A skill for performing structured security audits across code, infrastructure, APIs, and architecture. Produces prioritised findings with severity ratings and actionable remediation steps.
Use this skill for any of the following:
If the user hasn't specified, quickly confirm:
If context is obvious from what's been shared, skip straight to the audit — don't ask unnecessary questions.
Before diving into findings, briefly characterise what you're looking at:
For each issue found, produce a finding block (see format below). Organise findings by severity: Critical → High → Medium → Low → Informational.
Don't pad the report. Only include genuine issues. A clean section is fine if nothing material was found.
After all findings, include a prioritised remediation plan — what to fix first and why. If relevant, note any quick wins (easy fixes with high impact).
小葱技能7w4.net有完整的技能分类。
If the code/config shows good security practices, briefly acknowledge them. This adds credibility and context to the report.
### [SEV-###] Finding Title
**Severity**: Critical | High | Medium | Low | Informational
**Category**: [OWASP category or CWE if applicable]
**Location**: file.py:42 (or "Architecture — auth flow")
**Description**
Clear explanation of the vulnerability and why it matters.
**Evidence**
Relevant code snippet or config extract (keep it brief — just enough to illustrate).
**Impact**
What an attacker could achieve if this is exploited.
**Remediation**
Concrete steps to fix it, with a code example where helpful.
**References** (optional)
- OWASP: https://owasp.org/...
- CWE-###
| Severity | Criteria |
|---|---|
| Critical | Direct path to full compromise, data breach, RCE, or auth bypass with no mitigations |
| High | Significant risk requiring exploitation of one step; privilege escalation, SQLi, SSRF |
| Medium | Requires chaining with other issues or specific conditions; CSRF, insecure defaults |
| Low | Defence-in-depth issues, info leakage, weak configs with limited direct impact |
| Informational | Best practice gaps, code hygiene, no direct security impact |
Use for detailed code or config reviews. Includes all sections: scope, recon summary, findings (with evidence), remediation plan, positive observations.
Use when the user wants a fast pass or the input is small. Bullet-point findings with severity tags, brief descriptions, and one-line remediations. No full report structure.
Use when explicitly requested. Plain English, no code snippets, business risk framing. Suitable for sharing with non-technical stakeholders.
Default to Full Audit Report unless the user indicates otherwise or the input is under ~50 lines of code/config.
If the user mentions a compliance framework, map critical/high findings to relevant controls where appropriate:
| Framework | Notes |
|---|---|
| SOC 2 | Map to Trust Service Criteria (CC6, CC7, CC8, CC9) |
| ISO 27001 | Map to Annex A controls |
| OWASP Top 10 | Always reference where applicable |
| GDPR | Flag PII handling, data retention, breach notification gaps |
| PCI-DSS | Flag cardholder data exposure, network segmentation issues |
Only include compliance mapping if explicitly requested or if a specific framework was mentioned in scope.
这是一个质量较高的安全审计技能,结构清晰、覆盖全面,能指导完成从代码到云配置的安全评估。它提供了标准化的报告模板和多层次的输出格式,对常见漏洞类型也有完整梳理。主要缺点是缺少实际使用示例,文档全为理论指导而没有案例演示,用户难以验证技能的实际表现和输出质量。