Asking a coding agent "is my app secure?" usually gets a confident answer based on a quick look at a few files. Cloudflare has published a more disciplined approach: security-audit-skill, an MIT-licensed skill that turns an agent into a structured, multi-phase auditor.
What it is
In a June 18, 2026 post on its blog, Cloudflare described an internal vulnerability discovery harness built from AI agents. Across its own repositories, it produced 20,799 raw candidates, which were narrowed down to 7,245 actionable findings. The skill on GitHub is the initial piece that harness grew from, cleaned up for release. The full harness has not been released.
What it can do
- Map the code: the agent records architecture, trust boundaries and input surfaces, plus a coverage ledger of what needs checking.
- Hunt and challenge: isolated hunters look for bugs, and critics look for areas nobody covered.
- Disprove before reporting: each candidate goes to a fresh verifier whose job is to prove it wrong. Final records are checked again by independent agents.
- Write readable reports: REPORT.md, FINDINGS-DETAIL.md and NEEDS-VALIDATION.md, built from records that are validated against a schema.
How to try it
- You need a coding agent that supports tool use and parallel sub-agents, such as Claude Code, plus Node.js for the validators.
- Install it with the Skills CLI: npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit. Add --global for a user-level install.
- Ask your agent to run a security audit on the repo, then read REPORT.md first and NEEDS-VALIDATION.md second.
- Run it more than once. Cloudflare says that in its tests, a single run found roughly half of the vulnerabilities that repeated runs found in total.
Limits and caveats
- Sandbox: to execute target code (builds, tests, fuzzers), the skill expects an OS-enforced sandbox with no external network, a clean environment, resource limits and restricted write paths. Without it, the agent does not run that code and marks the lead as needs-validation.
- Time and tokens: Cloudflare reports that a full pass on a repo of about 30,000 lines took around 14 hours end to end. Expect real model costs.
- It is not a guarantee. Cloudflare makes no claim about missed bugs, and every fix should be reviewed by a person before it is merged.
- Only audit code you own or are authorized to test.
Who it is for
Developers and solo builders who ship code written with AI agents and want a serious review before launch, and small teams without a dedicated security person. It does not replace a professional pentest for high-risk systems, but it is a strong first pass.
More skills and agent workflows at masterphub.io.
Sources: cloudflare/security-audit-skill on GitHub; Cloudflare blog: Build your own vulnerability harness.