Why this matters now
AI agents are now being used to break into websites at scale. In October 2026, Reuters reported a researcher’s findings that one hacker used AI agents to break into more than 100 company websites, at an estimated AI cost of about $50 per successful break-in. Websites built quickly with AI tools are an easy target, because nobody checked the security before they went live.
Cloudflare has open-sourced the skill that started its own vulnerability-discovery system. It is free (MIT licence) and runs inside the coding agent you already use.
How it works: AI vs AI
The skill does not just ask one model “is this secure?”. It maps your project, sends separate hunter agents to look for vulnerabilities, then gives every candidate to a fresh verifier agent whose job is to disprove it. Each finding ends up with one of three verdicts:
- confirmed: traced through the source with an observed result. Fix these.
- needs_validation: one exact fact is still unresolved, so it has no severity yet. Check these.
- rejected: the candidate was disproved. Nothing to fix.
Step by step
Check what you need
A coding agent that supports tool use and parallel sub-agents, such as Claude Code, plus Node.js installed on your computer. Use it on code you own: your website, app or client project you are responsible for.
Open your project in the terminal
Go to the folder where your website’s code lives, the same place you open Claude Code or your coding agent.
Install the skill
Run the install command below. It adds Cloudflare’s security-audit skill to your coding agent. Add --global if you want it available in every project.
npx skills add https://github.com/cloudflare/security-audit-skill \
--skill security-auditAvailable in every project:
npx skills add https://github.com/cloudflare/security-audit-skill \
--skill security-audit \
--globalStart a fresh agent session
Open a new Claude Code (or agent) session in the project so it loads the newly installed skill.
Ask for an audit
Type a plain request such as “security audit this codebase”. A direct audit request runs the full audit; a general security question gets guidance instead.
security audit this codebase
find security vulnerabilities in ./src
do a security review, output to ~/audits/my-projectRead the report
Open REPORT.md first, then FINDINGS-DETAIL.md for the evidence behind each issue and NEEDS-VALIDATION.md for open questions.
Fix confirmed findings first
Ask your agent to fix each confirmed issue, one at a time, and review every change before you publish.
Run it again
Runs build on each other. Cloudflare reports that one run found roughly half of what repeated runs found, so run it again after fixing and before every major release.
What the report looks like
Unless you choose a folder, the full report is saved outside your project, in ~/security-audit-skill/<repo-name>/run-<N>. Alongside the readable reports you get findings.json, coverage-ledger.json and architecture.md, which the next run uses to target what was not covered.

Run it safely
- Only audit code you own or have permission to test.
- To build, test or run your project during the audit, the skill expects an OS-level sandbox with networking switched off and writes limited to scratch folders. Without that, it keeps those leads as needs_validation instead of running your code.
- Do not let the agent push fixes straight to your live site. Review each change, test it, then deploy.
- Keep the report private. It describes exactly where your site is weak.
It will not catch everything, but it catches the basics you would otherwise ship. Never publish a website without checking it first.