by cloudflare
A coding-agent skill for multi-phase security audits with independently verified, machine-readable findings
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/cloudflare/security-audit-skillGuides for using ai agents skills like security-audit-skill.
A coding-agent skill that turns your agent into a security auditor. It orchestrates isolated agents through reconnaissance, coverage-led hunting, candidate validation, structured output, independent record verification, and target-neutral reporting.
This is the skill that seeded Cloudflare's vulnerability discovery harness, described in Build your own vulnerability harness. The harness grew into a multi-stage, fleet-wide system; this skill is the single-repo starting point it evolved from.
The skill runs a structured audit in six phases:
architecture.md and coverage-ledger.json.confirmed, needs_validation, and rejected records to findings.json and validate them against report-schema.json.REPORT.md, FINDINGS-DETAIL.md, and NEEDS-VALIDATION.md from the verified records and coverage ledger.The parent runs validate-coverage-ledger.cjs after creating the ledger and after each later ledger update. It runs validate-findings.cjs in Phase 4 and again after every Phase 5 replacement.
The verdicts are distinct: confirmed has a complete source trace and bounded observed result, needs_validation has an exact unresolved fact and no severity, and rejected records a disproved candidate.
Multiple runs against the same repo are additive. The skill uses prior ledgers and findings to target gaps, revalidate changed source, and carry forward current-source evidence without treating stale or unresolved work as covered.
| File | Purpose |
|---|---|
SKILL.md |
Setup, core principles, platform terminology, workflow overview, and audit anti-patterns |
RECONNAISSANCE.md |
Phase 1 reconnaissance prompts and synthesis instructions |
HUNTING.md |
Phase 2 orchestration, hunting methodology, and validation rules |
ATTACK-CLASSES.md |
Core, wildcard, and obvious-things attack prompts |
MEMORY-SAFETY-AND-BINARY.md |
Memory-safety, binary, and kernel hunting classes for native targets |
AI-AND-LLM.md |
Prompt-injection, agent/tool, and output-handling hunting classes for LLM-backed targets |
WEB-PROTOCOL-AND-AUTH.md |
HTTP request-framing, cache, and authentication-protocol hunting classes for HTTP-protocol and auth targets |
CLIENT-SIDE.md |
DOM-injection, messaging-trust, UI-redress, and prototype-pollution hunting classes for client-side/browser targets |
SUPPLY-CHAIN-AND-RELEASE.md |
Dependency, CI, release, signing, update, plugin, and extension hunting classes |
CLOUD-AND-DEPLOYMENT.md |
IAM, infrastructure-as-code, container, serverless, ingress, and runtime-configuration hunting classes |
PROTOCOLS-RPC-AND-MESSAGING.md |
RPC, serialization, queue, broker, webhook, and streaming-protocol hunting classes |
RESOURCE-EXHAUSTION-AND-AVAILABILITY.md |
Shared resource, quota, queue, worker, and operator-spend hunting classes |
DATA-ISOLATION-AND-LIFECYCLE.md |
Tenant isolation, cache, search, export, backup, migration, deletion, and restore hunting classes |
DESKTOP-MOBILE-AND-LOCAL-IPC.md |
Native app, deep-link, webview, exported-component, helper, daemon, and local-IPC hunting classes |
VALIDATION-AND-REPORTING.md |
Phases 3–6 candidate validation, structured output, record verification, and reporting |
report-schema.json |
JSON schema for all three findings.json verdicts |
validate-findings.cjs |
Zero-dependency validator for findings.json in Phases 4 and 5 |
validate-findings.test.cjs |
Findings-validator tests and producer-compatible fixture checks |
validate-coverage-ledger.cjs |
Zero-dependency validator for coverage-ledger.json in Phases 1–5 |
validate-coverage-ledger.test.cjs |
Coverage-ledger validator tests |
Install the skill with the Skills CLI:
npx skills add https://github.com/cloudflare/security-audit-skill \
--skill security-audit
Use --global for a user-level installation:
npx skills add https://github.com/cloudflare/security-audit-skill \
--skill security-audit \
--global
Run npx skills --help for agent-selection and non-interactive options.
Start your coding agent in (or pointed at) the codebase you want to audit, then ask it to do a security audit:
security audit this codebase
find security vulnerabilities in ./src
do a security review, output to ~/audits/my-project
The skill activates automatically when the request matches its trigger (security audit, find vulnerabilities, pen-test the code, etc.). A direct codebase audit or pen-test request uses full audit mode. Security questions and focused vulnerability work use guidance mode unless you request report artifacts. In full audit mode, an unspecified output directory defaults to ~/security-audit-skill/<repo-name>/run-<N>. The workflow writes inside the target repository only when you explicitly select a directory that version control ignores.
needs_validation instead of executing target code.needs_validation with its exact unresolved fact.Questions, feedback, or comparing notes on AI-driven security tooling: security-ai-research@cloudflare.com
MIT -- see LICENSE.
security-audit-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cloudflare. A coding-agent skill for multi-phase security audits with independently verified, machine-readable findings. It has 71,783 GitHub stars.
security-audit-skill's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/cloudflare/security-audit-skill" and add it to your Claude Code skills directory (see the Installation section above).
security-audit-skill is primarily written in JavaScript. It is open-source under cloudflare on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh security-audit-skill against similar tools.
No comments yet. Be the first to share your thoughts!