Launch offer: the first 1,000 users get Settl free for a year* Claim your spot
settlbuilding in public

Cloudflare's security-audit skill: a real security audit in Claude Code

The short version

Cloudflare published security-audit, a free coding-agent skill that "turns your agent into a security auditor." It is the skill that seeded Cloudflare's own vulnerability discovery harness. You install it once, open your project in Claude Code and type one sentence. It maps the ways into your code, sends isolated hunter agents through each part, then hands every find to a fresh agent whose only job is to disprove it.

What The number
GitHub Trending, 24 Oct 2026 #1 of the day, 2,271 stars that day
GitHub stars 43,184
Forks 2,696
Price Free (MIT)

Source: the security-audit-skill GitHub repository (README), GitHub Trending and Cloudflare's blog post "Build your own vulnerability harness", checked 24 Oct 2026.

Asking Claude "is this secure?" is one agent marking its own homework. The skill's rule: "The agent that checks a finding is never the agent that found it."

Your links

What Link
The repo (README, the skill, the validators) github.com/cloudflare/security-audit-skill
Cloudflare's post on the harness it grew into blog.cloudflare.com/build-your-own-vulnerability-harness

Install (one command)

npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit

Add --global to install it for every project on your machine. You need Node.js for its two validators (zero dependencies).

The six phases

Phase What happens
1. Reconnaissance Maps the architecture, trust boundaries and input surfaces into architecture.md and coverage-ledger.json.
2. Coverage-led hunting Isolated hunters, one per part of the code, record what they checked; critics look for gaps.
3. Candidate validation Every candidate goes to a fresh verifier that tries to disprove it.
4. Structured output Each find is confirmed, needs_validation or rejected in findings.json, checked against a schema.
5. Record verification Fresh agents re-check the final source claims.
6. Reporting REPORT.md, FINDINGS-DETAIL.md and NEEDS-VALIDATION.md.

Copy these prompts

The one sentence from the reel

security audit this codebase

Point it at one folder

find security vulnerabilities in ./src

Choose where the report goes

do a security review, output to ~/audits/my-project

Without an output folder, a full audit writes to ~/security-audit-skill/<repo-name>/run-<N>.

Read the report in this order

Verdict What it means What you do
confirmed A complete trace through your code and an observed result. Fix these first.
needs_validation A real lead with one exact fact it couldn't settle (no severity yet). Check that one fact yourself.
rejected A candidate the verifier disproved. Skim it: these are the false alarms.

Run it again

Cloudflare: "a single run finds only about half the bugs you'd catch across multiple runs." Runs on the same repo are additive: the next run reads the earlier ledger and findings and goes after the gaps.

If you are building with Claude Code

Run this on your codebase

security audit this codebase
When it's done:
1. List every confirmed finding from REPORT.md with the file and line, highest severity first.
2. For each needs_validation lead, tell me the one fact I need to check.
3. Fix the confirmed findings one at a time, with a test for each.
Then run the audit again and tell me what the second run found that the first one missed.

Get the next one in your inbox