Security Audit (Cloudflare)
Turns a coding agent into a structured security auditor: isolated hunter agents map coverage and find candidates, then a separate verifier agent tries to disprove each one before it's reported as confirmed.
Overview
Security Audit is the skill that seeded Cloudflare's internal vulnerability discovery harness. It runs a coding agent through a structured, six-phase audit instead of a single static pass, using isolated agents that hunt for issues and separate agents that try to disprove every candidate before it counts as confirmed.
How it works
- Reconnaissance maps architecture, trust boundaries, and input
surfaces into
architecture.mdand a deterministiccoverage-ledger.json. - Coverage-led hunting assigns isolated hunter agents to ledger units; coverage critics look for gaps the hunters missed.
- Candidate validation hands every unique candidate to a fresh verifier agent that actively tries to disprove it, not just re-confirm it.
- Structured output writes
confirmed,needs_validation, andrejectedrecords tofindings.json, validated against a JSON schema. - Independent record verification has fresh agents re-check final claims; any material replacement gets another independent verifier.
- Target-neutral reporting derives
REPORT.md,FINDINGS-DETAIL.md, andNEEDS-VALIDATION.mdfrom the verified records and coverage ledger.
Multiple runs against the same repo are additive: the skill reuses prior ledgers and findings to target gaps instead of re-covering old ground.
Examples
security audit this codebase
find security vulnerabilities in ./src
do a security review, output to ~/audits/my-project
Installation
You need a coding agent with tool use and parallel sub-agent support, and Node.js for the bundled zero-dependency validators. Full audit mode also needs an OS-enforced sandbox (no external networking, resource limits, writes restricted to scratch paths) since it builds, tests, and runs target code. Do not point it at untrusted code without one.
- Run
npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit(add--globalfor a user-level install). - Start your coding agent in, or pointed at, the codebase to audit.
- Ask it to "do a security audit" or "find vulnerabilities in ./src".
- Check the generated
REPORT.mdandFINDINGS-DETAIL.mdfor confirmed findings, andNEEDS-VALIDATION.mdfor leads that need a human look.
Related assets
Frontend Design
Generates distinctive, production-grade UI that avoids generic "AI slop," with bold typography, cohesive color, and precise motion, implemented as real code.
Graphify
Turns a codebase, plus its docs, PDFs, images, and video, into a queryable knowledge graph that a coding agent can traverse instead of grepping raw files, and never guesses silently: every edge is tagged EXTRACTED, INFERRED, or AMBIGUOUS so you know what was found versus inferred.
Caveman
Makes your coding agent answer in a stripped down, high signal style that keeps every technical fact and cuts filler, saving output tokens on chat style questions.