security-audit
Skill4 starsChanged 7 months agoMITView on GitHub
Commands, step-by-step procedures, and mechanical execution for performing deep security audits, vulnerability assessments, and report generation on codebases and configurations. You MUST load this skill when performing security audits or validation.
140 other projects use a version of this.
Adopted by
Most recently taken up by
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- PostHog/posthogtheir own version, first seen Oct 4, 2026
- PostHog/posthog-fosstheir own version, first seen Oct 4, 2026
- louisbrulenaudet/monorepo-templatetheir own version, first seen Oct 2, 2026
- MaxMiksa/Auto-Companytheir own version, first seen Oct 2, 2026
Used with
Projects with it also use asset-spec, create-control-manifest and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
- +10 more from cenconq25
Other versions140 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 140
- ruvnet/ruflo★ 74ksame name
- PostHog/posthog★ 40ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- cloudflare/security-audit-skill★ 24ksame name
- maximhq/bifrost★ 8.6ksame name
- MaxMiksa/Auto-Company★ 3.1ksame name
- marketcalls/openalgo★ 2.8ksame name
- theopenco/llmgateway★ 1.7ksame name
- laolaoshiren/claude-code-skills-zh★ 876same name
- decebals/claude-code-java★ 747same name
130 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .vscode/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-log-analysisSkill
- agent-mdSkill
- agent-md-writerSkill
- agent-skill-md-writerSkill
- agentskillsSkill
- agents-md-writerSkill
- ai-prompt-writerSkill
- ansibleSkill
- apache-airflow-apiSkill
- apache-airflow-dagsSkill
- astro-cliSkill
- astronomer-docsSkill
- awesome-copilotSkill
- brainstorm-agent-runsSkill
- brainstorm-github-prSkill
- brainstormSkill
- catSkill
- chrome-devtoolsSkill
- claude-docsSkill
- codeqlSkill
- code-reviewSkill
- code-tourSkill
- coding-standard-writerSkill
- context-aware-opsSkill
- copilot-cliSkill
- copilot-docsSkill
- critical-thinkingSkill
- datadog-agentSkill
- datadog-apiSkill
- datadog-mcpSkill
- datadog-monitorsSkill
- datadog-pulumiSkill
- devcontainerSkill
- dictationSkill
- direnvSkill
- dockerfileSkill
- dockerSkill
- docs-reviewSkill
- docs-writerSkill
- dot-claudeSkill
- dotfilesSkill
- dot-githubSkill
- editorconfigSkill
- fact-writerSkill
- gdpr-compliantSkill
- gh-agent-taskSkill
- gh-apiSkill
- gh-aw-compileSkill
- gh-aw-firewall-debugSkill
- gh-aw-firewallSkill
- gh-aw-newSkill
- gh-awSkill
- gh-aw-troubleshootingSkill
- gh-codespaceSkill
- gh-issueSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 118 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use this skill when the request involves:
- Very specific: line 33
When performing a lightweight PR review (use security-review).
- Very specific: line 34
When writing tests for functional validation (use tester or tdd).
- Distinctive: line 35
When optimizing code purely for performance without a security context.
“Common” is measured: kept by at least 6 in 10 of the 118 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Auditing Skill
This skill outlines the mechanical steps, mindset, and procedures required to conduct a thorough security audit on a target codebase or architectural component. It integrates dependency analysis, deep vulnerability scanning, structured threat modeling, and strict output constraints.
When to Use
Use this skill when the request involves:
- Scanning a codebase or file for security vulnerabilities
- Running a security audit or vulnerability check
- Checking for SQL injection, XSS, command injection, or other injection flaws
- Finding exposed API keys, hardcoded secrets, or credentials in code
- Auditing dependencies for known CVEs
- Reviewing authentication, authorization, or access control logic
- Detecting insecure cryptography or weak randomness
- Performing a data flow analysis to trace user input to dangerous sinks
- Any request phrasing like "is my code secure?", "scan this file", or "check my repo for vulnerabilities"
- Running
/security-auditor/security-audit <path>
When Not to Use
- When performing a lightweight PR review (use
security-review). - When writing tests for functional validation (use
testerortdd). - When optimizing code purely for performance without a security context.
Common Pitfalls
- False Positives: Flagging code as vulnerable purely based on regex matches without considering existing sanitization or trust boundaries.
- Ignoring the Supply Chain: Auditing the source code meticulously but neglecting to check
package.jsonorrequirements.txtfor known CVEs. - Suggesting Breaking Changes: Recommending heavy-handed security controls that completely break the application's core business logic.
Role Persona & Cognitive Framework
- Adversarial Attacker Engine: Think like an advanced persistent threat (APT). Ask "How can I bypass this check?", "What happens if this input is 10GB?", and "Can I pivot from this resource to another?"
- Zero-Trust Assumption Principle: Assume developers have made the most common mistake and that the network is already compromised.
- Root Cause Vulnerability Tracing: Trace security flaws to their architectural root.
- Audit-Only Enforcement: Base your analysis on reading the code, static analysis, and configuration inspection.
- Exploit & Remediation Pairing: For every vulnerability found, provide both the adversarial attack scenario and an exact, implementable remediation.
1. Threat Surface Discovery & Triage
- Architecture & Trust Boundary Mapping:
- Identify all primary assets, actors, data flows, and entry points.
- Map explicit trust boundaries.
- Dependency & Supply Chain Audit:
- Analyze dependency manifests to identify vulnerable dependencies (known CVEs).
2. Deep Vulnerability Audit Execution
Execute a rigorous, ordered security analysis against the target architecture:
- Injection & Input Handling: SQLi, XSS, command injection.
- Authentication & Authorization: RBAC, IDOR, session management.
- Secrets, Cryptography & Data Protection: Credential scanning, weak crypto.
- Security Headers & Network Config: CSP, HSTS, CORS.
- Third-Party Integrations: Webhooks, API keys.
- AI & Prompt Security: Prompt injection boundaries.
3. Threat Modeling & Exploitability Assessment
- STRIDE Analysis.
- Attack Scenario Formulation.
- Blast-Radius Check.
- Risk Ranking.
4. Remediation Reporting
Output the full report in the structured format defined in references/report-format.md.
Output Format
The report MUST include:
- Findings Summary Table.
- Detailed Findings.
- Dependency Audit.
- Secrets Scan.
- Patch Proposals.
Execution Workflow
Step 1 — Scope Resolution
Step 2 — Dependency Audit
Step 3 — Secrets & Exposure Scan
Step 4 — Vulnerability Deep Scan
Step 5 — Cross-File Data Flow Analysis
Step 6 — Self-Verification Pass
Step 7 — Generate Security Report
Step 8 — Propose Patches
Severity Guide
| Severity | Meaning |
| 🔴 CRITICAL | Immediate exploitation risk, data breach likely |
| 🟠 HIGH | Serious vulnerability, exploit path exists |
| 🟡 MEDIUM | Exploitable with conditions or chaining |
| 🔵 LOW | Best practice violation, low direct risk |
| ⚪ INFO | Observation worth noting |
Reference Files
references/vuln-categories.mdreferences/secret-patterns.mdreferences/language-patterns.mdreferences/vulnerable-packages.mdreferences/report-format.md
Related Skills
- critical-thinking
- robust-commands
- security-review
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

