How to audit your app's security with Cloudflare's agent skill

Cloudflare's security skill, plus my guide to running it on your app.

Get the skill

Get the skill

The skill is Cloudflare's, not mine. It is called security-audit and lives at github.com/cloudflare/security-audit-skill.

Free under the MIT licence. Credit to Cloudflare. Not affiliated with Cloudflare. Checked against the skill's files at commit c1c8a8c (14 September 2026) on 24 November 2026.

  1. Step 1

    Open your coding agent (for example Claude Code) in your app's folder.

  2. Step 2

    Say "run this command to install a skill" and paste the command from Cloudflare's README.

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

    Running it in a terminal yourself, for Claude Code? This skips the agent list.

    npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit --agent claude-code --yes

Installing starts nothing. The audit starts when you ask your agent for it. The run guide below tells your agent how to start it with you.

The run guide, free, no email

My part: how I run it. Attach the .md in your coding agent, in your app's folder, and say the line below. It tells your agent to check your setup, agree a small scope and budget with you, run the skill, read the report with you in plain words, and apply the fixes you approve one at a time. Version 1.2, November 2026.

Then say this to your agent:

run my first security audit

Coming back later? Attach the file again and say:

read SECURITY-PROGRESS.md and carry on

On 18 June 2026 Cloudflare released a free skill that, in their words, "turns your agent into a security auditor". You point your coding agent at your app's code and it sends out agents to look for weak points.

I made a reel about it. A reel has no room for the conditions, so this is the long version.

What Cloudflare released, and when

The skill is called security-audit. It is Cloudflare's, not mine. It lives at github.com/cloudflare/security-audit-skill, free under the MIT licence.

It came out on 18 June 2026 with the post Build your own vulnerability harness, which says: "Along with this blog post, we're releasing the initial skill we used to develop the harness". Cloudflare Developers posted it on X on 4 November 2026.

My part is the run guide above. The skill facts here were checked against its files at commit c1c8a8c (14 September 2026) on 24 November 2026.

What it does

The skill runs an audit in six phases:

Phase
1
Cloudflare's name
Reconnaissance
In plain words
Agents map your code base: how it is built, where input comes in, and where it should stop trusting what it is given
Phase
2
Cloudflare's name
Coverage-led hunting
In plain words
Separate hunter agents look for weaknesses, area by area, and a critic looks for gaps
Phase
3
Cloudflare's name
Candidate validation
In plain words
A fresh agent tries to disprove each candidate
Phase
4
Cloudflare's name
Structured output
In plain words
Results are written to findings.json and checked by a script
Phase
5
Cloudflare's name
Independent record verification
In plain words
Fresh agents check the final records against your source
Phase
6
Cloudflare's name
Target-neutral reporting
In plain words
You get REPORT.md, FINDINGS-DETAIL.md and NEEDS-VALIDATION.md

Each result ends up with one of three verdicts: confirmed (only after a safe test run in a sandbox), needs_validation or rejected.

How to install it and start it

This is the command from Cloudflare's README:

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

Open your coding agent (for example Claude Code) in your app's folder, say "run this command to install a skill", and paste it.

Installing starts nothing. The audit starts when you ask your agent for it. The first of Cloudflare's usage examples is one line:

security audit this codebase

By default the reports land outside your app, in ~/security-audit-skill/<repo-name>/run-<N>. Keep that folder private. It lists the weak points in your app.

What you need

From the README's requirements:

  • A coding agent whose model can use tools and run sub-agents side by side. The skill hands the work to separate agents.
  • Node.js. The skill's two checker scripts run on it.
  • An OS-enforced sandbox, if you want confirmed findings. That is a locked area on your computer where code runs with no internet and no reach into your files.

The sandbox matters. The skill only marks a finding confirmed after it has safely run a test on your code. Without a sandbox it does not run your code: the README says the workflow "keeps the lead as needs_validation instead of executing target code", and the report says what is still unproven.

So without a sandbox, expect leads and no confirmed findings. That is fine to start with. A lead with a clear trail through your code is still worth a close look.

What a run uses

A lot. The skill counts spend in agent invocations, meaning how many separate agents it starts (SKILL.md, "Cost budget"). There is no fixed number. It follows the size of your code base, the profile and the budget you set.

For scale: two audits of apps I work on, with different profiles and scopes, used 62 and 75 agent invocations. On a Claude Pro plan (about $20 billed monthly) or Max (from $100) (read 24 November 2026), a run that size is a lot of your usage in one go.

So start small. The skill has three profiles: quick, standard (the default) and deep. Cloudflare describes quick as "a bounded pass for small targets, re-runs, or a fast first look". You can also set a budget, which is the maximum number of agent invocations across all phases.

My advice, not the skill's: begin with quick and a budget of 15. The smallest quick run reserves six of those before any hunting: four to map, one critic and at least one verifier. The skill says a budget can still be exceeded if a run turns up many candidates, and that it must tell you when that happens.

A quick or scoped run is a partial pass. The report lists what was left out.

What it will not do

It will not change your code. SKILL.md says: "The audit describes fixes; it does not modify target source." You decide what goes in.

One run does not find it all. SKILL.md tells the agent "Never imply that one run exhausts the target", and Cloudflare's README says that in their test runs "a single run found roughly half of the vulnerabilities that repeated runs found in total."

It does not prove your app is safe. An audit lowers risk. If your app handles money, health data or many people's private data, a professional security review is still worth it.

How I apply the fixes

This part is my advice. It is not in Cloudflare's skill.

  1. Read the report in order: what was covered and what was not, then confirmed findings (only if a sandbox let the skill run a test), then the leads.
  2. Take one fix at a time. Your agent makes a new branch and shows you the smallest change.
  3. You say yes. Then the agent applies it.
  4. Test it. Have the agent check what a test connects to before running it. If it points at a live database or a paid service, do not run it.
  5. Commit, then move to the next one.

If a finding involves a leaked password or key, change that secret at the provider yourself. Removing it from the code does not undo the leak.

When the approved fixes are in, run the audit again on the changed code. The README says runs on the same repo are additive: the skill reads its earlier run and aims at the gaps and at what changed.

Why I'd run it more than once

New flaws keep being published. The CVE Program published 20,696 CVE records in the second quarter of 2026 and 36,962 in the third (read 23 November 2026). Those are all published CVEs across all software, not a count of flaws found by AI.

So when a library you use announces a security fix, update it, then run the audit again if your code leans on the part that changed. I would also run it after a big change, like new sign-in, payments or uploads, and before a launch.

What the reports say about AI and attacks

In the reel I said attacks have gone up as the models get better. This is what that rests on:

  • Google's Threat Intelligence Group reported on 16 November 2026 that in the past quarter it identified threat actors using LLM frameworks to automate finding and exploiting vulnerabilities with no human in the loop.
  • Anthropic's September 2026 misuse report says that with AI, criminal cyber conduct "has increased in scale and severity."
  • On 12 November 2026 Unit 42 wrote up attackers using autonomous AI to target organisations, and noted that "the vulnerabilities the attackers exploited were known".
Read the full guide

Sources

  1. Cloudflare, security-audit skill (README, checked at commit c1c8a8c on 2026-11-24)
  2. Cloudflare, SKILL.md
  3. Cloudflare, LICENSE (MIT)
  4. Cloudflare, commit c1c8a8c (2026-09-14)
  5. Cloudflare, Build your own vulnerability harness (2026-06-18)
  6. Claude pricing (read 2026-11-24)
  7. CVE Program metrics (read 2026-11-23)
  8. Google Threat Intelligence Group (2026-11-16)
  9. Anthropic, threat intelligence report (September 2026)
  10. Unit 42, Palo Alto Networks (2026-11-12)

You don't need us for any of this. The skill and the run guide are enough to run it yourself.

Where we help at Velorum is building agents and automations for the jobs your team repeats.

Book a call