In short.
Cloudflare Security Audit is an instruction skill that guides AI coding agents through defensive security reviews of codebases, for developers and security reviewers who want vulnerability findings backed by source evidence. Its full audit workflow needs coordinated agents and strict controls for any local execution. It combines broad security guidance with explicit evidence standards, coverage tracking and fresh verifier agents. The supplied files establish its documented design and validator implementation; vulnerability detection quality, host compatibility, execution time and total cost are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
The scope is the complete captured skills/security-audit directory at commit c1c8a8c1471069fb0e188eeaff69b8e8db6564a8: all twenty instruction, reference, schema, validator and test files. The repository-root LICENSE is included as the related rights notice. Other repository folders and linked material outside the selected directory are excluded. No agent workflow, validator, test suite, sandbox, artifact-promotion procedure or target audit was executed. Installation, runtime compatibility, vulnerability detection performance and operational outcomes are not assessed.
The overview
Identity
The resource is the security-audit skill in Cloudflare's security-audit-skill repository. It consists of instructions, domain references, a findings schema, JavaScript validators and their test files. It supplies procedures for an AI agent to follow rather than a standalone scanning application.
The original directory is [https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit]. The captured entry file is pinned to a specific revision at [https://raw.githubusercontent.com/cloudflare/security-audit-skill/c1c8a8c1471069fb0e188eeaff69b8e8db6564a8/skills/security-audit/SKILL.md].
Assessment
Its clearest strength is the distinction between suspicious code and a demonstrated security defect. A finding must identify who controls the input, which protected resource or authority is affected, the relevant source path and a meaningful result. Missing best practices and actions confined to the requester's intended authority are not automatically vulnerabilities.
On its documented design, it suits teams that want traceable security reports and explicit gaps. The tradeoff is coordination work: full audits require coverage records, isolated assignments, critic passes, validation and reconciliation. Whether those requirements improve accuracy or justify their effort is unknown without execution evidence.
Users
The intended audience includes developers investigating a specific security question, security engineers reviewing code and maintainers requesting a comprehensive audit. Guidance mode addresses focused questions without automatically creating audit files; full audit mode produces a complete set of reports and supporting records.
The breadth extends beyond web applications to libraries, native software, infrastructure and AI systems. Beginners can use the explanations to understand what evidence a finding needs, but operating the full workflow requires familiarity with source tracing, authorization, local tooling and sandbox controls.
Capabilities
The general guidance covers injection, access control, files and URLs, cryptography, business logic, data leakage and failures spanning several components. Ten companion documents add AI agents and MCP, browser behavior, HTTP and authentication, cloud deployment, data isolation, desktop and mobile interfaces, native memory safety, messaging, supply chains and availability.
The AI companion is especially specific: it separates prompt injection from an actual security failure, distinguishes resource authorization from approval of an exact action, and examines persistent memory, tool dispatch and MCP identity.
Two Node.js validators check findings and coverage records. Their source checks include verdict-specific fields, safe relative paths, severity constraints, canonical coverage identifiers, assignment ownership and state transitions. Both limit input files to 5 MiB and nesting to 64 levels; these are structural controls rather than proof that a security conclusion is correct.
Using it
Requirements
Full audit mode needs access to the target repository, an agent host supporting delegation and fresh verifier assignments, and a writable report directory with separate agent scratch areas. Local validation also needs the relevant toolchains and dependencies already available; dependency downloads are prohibited.
Target-controlled execution requires an OS-enforced sandbox with no external network, an empty explicitly populated environment, read-only target and tools, scratch-only writes and limits on CPU, memory, processes, file size, disk and elapsed time. Missing controls block execution and must remain explicit validation blockers.
The validators use Node.js built-in modules. A minimum supported Node.js version is not specified. Their input readers reject platforms where usable no-follow and nonblocking file-open flags are unavailable.
Mechanism
The full workflow has six phases: map the repository and trust boundaries, investigate assigned coverage units, independently validate candidates, write structured records, independently verify final records and derive reports. A coverage unit connects an entry surface, trust boundary, subsystem and attack class; deep reviews also distinguish lifecycle modes.
The parent agent owns shared records while delegated investigators write only to their own scratch areas. Critic agents identify missed or insufficiently reviewed coverage. Stable fingerprints connect the same suspected root cause across reviews and verdict changes.
Findings have three distinct outcomes. Confirmed records require source evidence and bounded observed results. Needs_validation records identify a specific unresolved fact without severity. Rejected records preserve disproved claims. Reports are derived from the final records rather than changing their conclusions.
Setup
Keep the selected directory together. SKILL.md links the three phase guides and ATTACK-CLASSES.md, which in turn links the ten domain companions; validate-findings.cjs loads report-schema.json from its own directory, and the test files load the validators from the same folder. The captured files do not establish a platform-specific installation command or a verified compatibility matrix.
Before a full audit, resolve the repository, reviewed commit and worktree state, scope, profile and output location. The default output is outside the target repository. Quick, standard and deep profiles change breadth and review redundancy, while scoped reviews restrict the paths or domains covered.
The directory specifies sandbox and artifact-promotion requirements but does not supply a general sandbox launcher or a parent-side promotion implementation. The host must provide those capabilities before relying on target execution or retained execution evidence.
Example
Consider a support assistant that retrieves customer documents and can export records. The AI guidance would trace who may edit a retrieved document, whose session consumes it, which identity performs the export and whether the final handler checks both the requested resource and the user's intended action. An instruction hidden in a document would not, by itself, establish a vulnerability.
Confirmation would require a complete source trace and a bounded local fixture showing the minimum unauthorized or unrequested effect using dummy data. If a decisive provider or deployment behavior were unavailable, the result would remain needs_validation with that exact blocker. This example is illustrative; no application, export or fixture was run.
Assessment & evidence
Limitations
The skill depends on the host actually enforcing isolation, delegation boundaries and evidence handling. Instructions describing those controls do not establish that a particular agent platform implements them. Source inspection also cannot establish external identity policies, deployed routing, browser headers, broker permissions or production drift.
The validators check record structure and internal constraints. They do not establish that cited source lines support a claim, that artifact contents prove the result or that artifact promotion followed the prescribed procedure.
Test source is included for malformed JSON, resource bounds, unsafe paths, diagnostic escaping and other validator behaviors. None of those tests was executed here. Detection accuracy, missed vulnerabilities, false-positive rates, portability and final report quality remain unassessed.
Reasoning
The design addresses a practical weakness in AI security review: a suspicious pattern can sound convincing without proving an affected user or resource. Its requirement to reconstruct the strongest existing control and seek the smallest observable boundary failure makes conclusions easier to examine.
For AI applications, the distinction between permission and intent is particularly useful. A user may be authorized to send an email while never having requested the particular email induced by retrieved content. The skill requires those different failures to be explained separately.
Fresh agents attempt to refute candidates, while coverage critics look for missing work. These are documented checks against unsupported conclusions and omissions; their effectiveness is not demonstrated by the supplied material.
Alternatives
Within the resource, guidance mode is the lighter option for one question or a focused investigation. Quick provides a partial pass with one hunting wave and one final critic. Standard uses repeated coverage review, while deep adds finer subdivisions and additional independent review.
The instructions also use existing unit tests, sanitizers, bounded fuzzing and manual logic review as complementary methods. No named competing product evaluation or comparative benchmark is supplied, so the evidence does not establish superiority over another skill, scanner or human review.
Evidence
The supplied directory contains twenty files: the entry skill, three phase guides, the general attack-class reference, ten domain companions, the findings schema, two validators and two validator test files. The repository-level license accompanies them.
The implementation source supports specific statements about JSON validation and input handling. The test files show intended regression cases, including excessive nesting, malformed records, unsafe paths and terminal-control escaping. They contain no execution receipts establishing that those cases passed.
No completed target audit, reproduced vulnerability, comparative evaluation or measured operating cost is supplied. Claims about practical security outcomes therefore remain unknown.
Access & freshness
Costs
No service price, model-provider rate or representative audit total is supplied. Monetary cost is unknown. The documented budget counts agent invocations across reconnaissance, investigation, critics and verification rather than tokens or currency.
The workflow reserves critic and validation capacity before assigning investigators. An inadequate budget can prevent a pass from starting, and an unexpectedly large candidate set can leave a run incomplete. Quick reduces repeated investigation and verification, but no measured savings or execution times are provided.
Rights
The captured repository license is MIT, with copyright attributed to Cloudflare, Inc. for 2025–2026. It permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation, subject to retaining the copyright and permission notice in copies or substantial portions.
The license supplies the material without warranty and disclaims liability. The captured notice is available at [https://raw.githubusercontent.com/cloudflare/security-audit-skill/c1c8a8c1471069fb0e188eeaff69b8e8db6564a8/LICENSE].
Freshness
The supplied snapshot is pinned to commit c1c8a8c1471069fb0e188eeaff69b8e8db6564a8 and was captured on 13 November 2026 at 18:52:43 UTC. These conclusions apply to that revision; the main-branch address can later show different content.
A release version, release date and subsequent change history are not established by the supplied files. Compatibility with current agent hosts and runtimes has not been assessed.
Actions
Start by deciding whether the task needs focused guidance or report-producing audit mode. Keep the complete pinned directory and license together, then confirm that the chosen host can support its delegation, output ownership and execution requirements.
For a first full audit, select an explicit scope and profile, identify the reviewed source revision and reserve enough agent capacity for verification. If local execution controls are unavailable, retain source-grounded leads with precise blockers rather than treating them as confirmed findings.
Before relying on generated reports, check both structural validation and the underlying source and execution evidence. The resource itself treats validator success as a format check rather than proof of security or exhaustive coverage.
