zgba 站群
Cloudflare/Security-Audit-Skill

Cloudflare/Security-Audit-Skill

A coding-agent skill that turns your agent into a security auditor. It orchestrates isolated agents through reconnaissance, coverage-led hunting, candidate validation, structured output, independent record verification, and target-neutral reporting.

This is the skill that seeded Cloudflare’s vulnerability discovery harness, described in Build your own vulnerability harness. The harness grew into a multi-stage, fleet-wide system; this skill is the single-repo starting point it evolved from.

The skill runs a structured audit in six phases:

The parent runs validate-coverage-ledger.cjs after creating the ledger and after each later ledger update. It runs validate-findings.cjs in Phase 4 and again after every Phase 5 replacement.

The verdicts are distinct: confirmed has a complete source trace and bounded observed result, needs_validation has an exact unresolved fact and no severity, and rejected records a disproved candidate.

Multiple runs against the same repo are additive. The skill uses prior ledgers and findings to target gaps, revalidate changed source, and carry forward current-source evidence without treating stale or unresolved work as covered.

Install the skill with the Skills CLI:

Use —global for a user-level installation:

Run npx skills —help for agent-selection and non-interactive options.

Start your coding agent in (or pointed at) the codebase you want to audit, then ask it to do a security audit:

The skill activates automatically when the request matches its trigger (security audit, find vulnerabilities, pen-test the code, etc.). A direct codebase audit or pen-test request uses full audit mode. Security questions and focused vulnerability work use guidance mode unless you request report artifacts. In full audit mode, an unspecified output directory defaults to ~/security-audit-skill//run-. The workflow writes inside the target repository only when you explicitly select a directory that version control ignores.

Questions, feedback, or comparing notes on AI-driven security tooling: security-ai-research@cloudflare.com

A coding-agent skill for multi-phase security audits with independently verified, machine-readable findings

View original article