COMMENT AUDIT · FREE GUIDE

Launching tomorrow? Run a second-opinion security audit first

The AI that wrote your code is a weak reviewer of that same code. Before launch, get a second opinion.

By ·

The short version

  • An AI that wrote your code is a weak reviewer of that same code: get a second opinion before launch.
  • Cloudflare's security-audit-skill is open source (MIT) on GitHub.
  • One agent hunts for security problems; a fresh agent then tries to disprove each finding, so false alarms get cut.
  • Run it more than once: in Cloudflare's own test runs, a single run found roughly half of the vulnerabilities that repeated runs found in total. It adds to a human review; it doesn't replace one.

How Cloudflare's security-audit skill works

cloudflare/security-audit-skill is open source (MIT). It is an agent skill: your coding agent loads it and runs the audit with separate agents, so the one that checks a finding is never the one that found it.

  1. It maps your app first: architecture, trust boundaries and every place input comes in.
  2. Isolated hunter agents then look for security problems, area by area.
  3. A fresh agent tries to disprove each candidate finding, so the one checking is never the one that found it.
  4. Every finding ends up confirmed, needs_validation (with the exact open question) or rejected, and the reports (REPORT.md and friends) are written from those verified records.

What you need

  • A coding agent whose model supports tool use and parallel sub-agents.
  • Node.js, for the skill's small validator scripts.
  • A sandbox if you want it to build or run your code: without one, it leaves those leads as needs_validation instead of running anything.
  • Reports go to ~/security-audit-skill/<repo-name>/run-<N> unless you name another folder.

Install the security-audit skill

Run this in a terminal, inside your project folder.

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

Want it in every project? Add --global for a user-level install.

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

The audit prompt

prompt
Use the security-audit skill to audit this app before we launch. Focus on authentication, secrets in client code, input handling and redirects. For each finding, show the file and line, why it is exploitable, and the smallest fix. List the confirmed findings first, then anything marked needs_validation with what still has to be checked.

Before launch, step by step

  1. Open a terminal in your project folder
  2. Run the install command above
  3. Ask your coding agent to run a security audit of the app (prompt below)
  4. Read REPORT.md: fix the confirmed findings first, then check the needs_validation ones
  5. Run the audit again: runs on the same repo add up, and a second run can catch things the first one missed
  6. Before launch, still have a person review anything that touches logins, payments or user data

Don't let the AI that wrote it be the only one checking it.

Sources checked

Checked against Cloudflare's repo and blog on 26 November 2026. The skill changes over time, so treat the README as the final word.

  • cloudflare/security-audit-skill is MIT-licensed; install with npx skills add ... --skill security-audit (add --global for a user-level install); recon, isolated hunters, a fresh verifier that tries to disprove each candidate, confirmed / needs_validation / rejected verdicts; default output folder; Node.js and sub-agent requirements; a single run found roughly half of what repeated runs found in Cloudflare's tests (README, checked 26 November 2026). github.com/cloudflare/security-audit-skill
  • The skill seeded Cloudflare's vulnerability discovery harness (Cloudflare blog). blog.cloudflare.com/build-your-own-vulnerability-harness
  • npx skills is the Skills CLI. skills.sh

About the video: the reel that sent you here uses 3D characters and an AI clone of Hammad Yousuf's voice. The skill is by Cloudflare; this guide is not affiliated with Cloudflare or Anthropic.

Keep going