Cloudflare Security Audit Skill Explained: Turn Your Coding Agent Into a Security Auditor
The Cloudflare security audit skill turns a coding agent into a structured security auditor. It runs a six-phase audit — reconnaissance, coverage-led hunting, candidate validation, structured output, independent record verification and target-neutral reporting — then delivers confirmed findings with severity, evidence and fixes, free under the MIT licence.

Key facts
- Project: Cloudflare Security Audit Skill — a skill that turns a coding agent into a security auditor
- GitHub stars: 76,835, with 5,180 forks and 14 commits (checked 22 November 2026)
- Growth: +41,810 stars this month — monthly trending #1
- Licence: MIT
- Created: 18 June 2026
- Releases: 0, with 0 tags; default branch main
- Install: one command —
npx skills add(see below) - Requirements: a coding agent with tool use and parallel sub-agents, Node.js, and an OS-enforced sandbox with no external networking
- Contact: security-ai-research@cloudflare.com
What Is the Cloudflare Security Audit Skill and Why Does It Matter?
Most AI code reviews read like a checklist with opinions attached: a model skims the diff, flags anything that looks risky, and hands back a long list of warnings for a human to triage. The Cloudflare security audit skill takes the opposite approach: it is a packaged set of instructions that turns a coding agent into a structured security auditor, with a fixed method, adversarial checks and a strict rule on what counts as a finding.
The skill comes from Cloudflare’s security AI research team, and it seeded Cloudflare’s own vulnerability discovery harness. That origin matters: it was built to survive contact with real codebases, not to demo well on a toy repository. It is also strikingly new: created on 18 June 2026, it had gathered 76,835 stars and 5,180 forks by 22 November 2026, adding 41,810 stars in a single month to become the month’s number-one trending repository.
The idea matters because AI-written code is now everywhere, and the review step has not kept up. Developers ask an agent to write a feature, the agent writes it, and the security review is skipped or handed to another model with a vague prompt. This skill closes that gap by giving the agent a repeatable audit method instead of a blank page — the same direction as the other open-source developer tools on the KongoTech homepage.
How Does the Six-Phase Audit Actually Work?
The audit runs in six phases, and the order is part of the design: each phase produces a written artefact the next phase consumes, so the audit is traceable from the first map to the final report.
Phase one is reconnaissance. The agent maps the architecture, the trust boundaries and the input surfaces, and writes the result into two files: architecture.md, a human-readable map of the system, and coverage-ledger.json, a machine-readable ledger of what still needs checking. Nothing is hunted yet: every later claim about a vulnerability has to trace back to a surface the reconnaissance actually mapped.
Phase two is coverage-led hunting. Isolated hunter agents examine the mapped surfaces, while coverage critics check whether the hunting covers the ledger. The hunters work in isolation so one agent’s theory does not contaminate another’s, and the critics exist because an audit that never looks at a surface cannot claim it is safe.
Phase three is candidate validation. Every candidate finding goes to a fresh verifier agent whose job is to try to disprove it. This is the adversarial heart of the skill: the agent that checks a finding is never the agent that found it. A candidate survives only if the verifier cannot break it.
What Happens After the Hunting Phase?
Phase four turns survivors into structured output. Findings go into findings.json, each with a verdict of confirmed, needs_validation or rejected, and the file is validated against report-schema.json so a malformed or incomplete finding cannot slip through. The three-way verdict is deliberate: a finding is proven, honestly marked as needing a human to validate it, or rejected outright — no middle ground for a guess dressed up as a result.
Phase five is independent record verification. Fresh agents verify the final source claims — the file names, line numbers and code quotations the findings rest on. This catches a common AI-audit failure: sound reasoning, evidence pointing at the wrong line of code.
Phase six is target-neutral reporting. The audit produces three files: REPORT.md, the main report; FINDINGS-DETAIL.md, the detail behind each finding; and NEEDS-VALIDATION.md, the items that need a human. Target-neutral means the report describes what was found without tailoring the message to please the team that owns the code.
Two small scripts hold the structure together: validate-coverage-ledger.cjs and validate-findings.cjs, both zero-dependency Node.js scripts that check the ledger and the findings file. With no dependencies, they run anywhere Node.js runs, with nothing to install.

How Do You Install and Run the Skill?
Installation is a single command, run from the terminal:
npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit
Add –global to install it at user level instead of for one project, so every codebase you open can use it. The command fetches the skill into your agent’s skills directory, and it is available whenever you ask the agent to audit code.
Three things are required. First, a coding agent with tool use and parallel sub-agents — the audit’s hunters, critics and verifiers run as separate agents, so a single-shot chatbot cannot run it. Second, Node.js, which runs the two validator scripts. Third, an OS-enforced sandbox with no external networking, so the audit agents can test your code without reaching the internet.
Once installed, you invoke it in plain language. Two prompts from the project’s own documentation show the pattern:
security audit this codebase
find security vulnerabilities in ./src
The agent then runs the six phases and writes the report files into the project. The same agent-first pattern is spreading across the tooling world, and AG-UI shows how agents and user interfaces are learning to work together.
What Makes This Audit Different From a Normal AI Code Review?
Five design principles separate this skill from a generic “review my code for security issues” prompt.
First, only established boundary failures count. A finding must show a trust boundary actually failing — untrusted input reaching a sensitive operation in a way an attacker can use. A suspicious-looking pattern with no reachable path is not a finding.
Second, validation is adversarial. The agent that checks a finding is never the agent that found it, and the verifier’s job is to disprove the candidate. Most AI review tools ask the same model to check its own work, which is why their findings read like confident guesses.
Third, severity requires impact. A finding is scored on likelihood multiplied by impact, not on deviation from a checklist. A textbook violation with no realistic impact is not high-severity, and a subtle flaw with real impact is not waved away.
Fourth, defense-in-depth gaps are not vulnerabilities. A missing second layer of protection is a hardening suggestion, not a vulnerability, and the audit says so rather than inflating its count.
Fifth, multiple runs improve coverage. The project’s own testing found that a single run found roughly half of what repeated runs found, so the honest way to use it is to run it more than once and merge the results. That is an unusual admission for a security tool — and the most useful line in the documentation: the audit is a sampling process, not a guarantee.

Who Should Use It — and What Are Its Limits?
The skill fits any team whose code is increasingly written by agents. If an agent writes your features, an agent should audit them — with a fixed method, not a free-form prompt. Security reviewers get a first pass of confirmed findings with evidence, instead of a raw list to triage. Solo developers get a review they would otherwise skip entirely, since the audit runs locally and costs nothing beyond the agent’s own usage.
There are honest limits. The skill is young — created in June 2026, with zero releases and zero tags — so it is evolving quickly. It needs a capable agent, Node.js and a sandboxed environment, so it is not a one-click tool. And the needs_validation verdict exists for a reason: some findings need a human who understands the business logic.
For teams whose work is mostly documents rather than code, What Is Univer shows where the same AI-assistant pattern is heading for office files. For code, this skill is the equivalent step: package the expertise once, reuse it on every codebase.

Frequently Asked Questions
What is the Cloudflare security audit skill?
The Cloudflare security audit skill is a free, open-source set of instructions that turns a coding agent into a structured security auditor. It runs a six-phase audit — reconnaissance, coverage-led hunting, candidate validation, structured output, independent record verification and target-neutral reporting — and delivers confirmed findings with severity, evidence and fixes.
How many GitHub stars does the Cloudflare security audit skill have?
It has 76,835 stars and 5,180 forks on GitHub, checked on 22 November 2026. It gained 41,810 stars in a single month, making it the month’s number-one trending repository. Created on 18 June 2026, it has 14 commits, no releases and no tags, and is released under the MIT licence.
How do I install the Cloudflare security audit skill?
Run npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit in your terminal, adding –global to install it at user level. You need a coding agent with tool use and parallel sub-agents, Node.js, and an OS-enforced sandbox with no external networking. Then prompt the agent with “security audit this codebase”.
How does the six-phase audit work?
Reconnaissance maps the architecture, trust boundaries and input surfaces into architecture.md and coverage-ledger.json. Isolated hunters search for vulnerabilities while coverage critics check the ledger. A fresh verifier tries to disprove each candidate, survivors become structured findings in findings.json, fresh agents verify the source claims, and the audit ends with REPORT.md, FINDINGS-DETAIL.md and NEEDS-VALIDATION.md.
Is the Cloudflare security audit skill free, and what do I need to run it?
Yes, it is free under the MIT licence. You need a coding agent with tool use and parallel sub-agents, Node.js for the two zero-dependency validator scripts, and an OS-enforced sandbox with no external networking. Questions go to security-ai-research@cloudflare.com.
Conclusion
The Cloudflare security audit skill is a small package with a serious idea: security review should be a method, not a mood. With 76,835 stars in five months, a six-phase audit and adversarial validation, it gives coding agents the structure human auditors have always relied on. Run it more than once, read the needs-validation list yourself, and treat the report as a starting point, not a verdict. Stitch Skills for Google Stitch makes the same point in another field: package a proven way of working once, and reuse it every time.