# /security-audit: Evidence-first security audits that disprove false positives

Source: https://trendhub.net/skills/cloudflare-security-audit-skill/security-audit
Skill folder: https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit
Pack: Cloudflare Security Audit Skill (https://trendhub.net/skills/cloudflare-security-audit-skill)
Works with: Skills CLI (project), Skills CLI (global)

The security-audit skill turns a coding agent into a coordinator for a source-first vulnerability review. It maps trust boundaries into a coverage ledger, sends isolated hunters after each unit, has fresh agents try to refute every candidate, and only then writes confirmed, needs-validation and rejected records plus readable reports.

## When to use it

- You want a full security review of a repository before a release or handover.
- You need findings in a machine-readable form that another tool or team can triage.
- You have a specific suspected vulnerability and want a focused, guidance-only review of it.

## How it works

1. **Pick a mode and profile**: The agent stays in guidance mode unless you ask for a full audit, then chooses a quick, standard or deep profile and records scope and any agent budget in run metadata.
2. **Map and plan coverage**: Reconnaissance documents architecture and trust boundaries and seeds a coverage ledger, reusing earlier runs only where the relevant source is unchanged.
3. **Hunt in isolated waves**: Hunter subagents each get a ledger unit and their own scratch directory, and coverage critics look for areas the wave missed.
4. **Try to disprove each candidate**: A fresh verifier attacks every candidate, and only claims with a full source trace and a bounded observed result are confirmed with a severity.
5. **Validate and report**: The parent checks findings.json and the ledger with the bundled validators, has final claims re-verified, then derives REPORT.md and companion reports.

## What it steers the agent away from

- Reporting missing best practices or defense-in-depth gaps as vulnerabilities
- Testing against live, shared or production systems
- Giving a severity to leads that have not actually been demonstrated

## What it can touch

Reads the target source, dispatches subagents, runs Node.js validators and writes run files to an output directory outside the repo by default; target code is executed only inside a network-isolated sandbox, and source is never modified.

## Questions

### What does needs_validation mean in the results?

It marks a lead grounded in source whose decisive fact could not be established, such as a deployment setting not in the repo. It names that missing fact and carries no severity.

### Can I limit how much an audit costs?

Yes. You can set a budget as a maximum number of agent invocations; the skill reserves critic and verifier calls first and marks the run incomplete rather than silently thinning evidence.
