Cloudflare's AI Security Blueprint

Cloudflare details its model-agnostic AI security harness architecture for scalable vulnerability discovery and validation.

7 min read
Diagram illustrating Cloudflare's AI vulnerability discovery and validation system architecture.
An overview of Cloudflare's multi-stage AI vulnerability research workflow.· Cloudflare

Cloudflare is detailing its approach to building a robust AI security system, emphasizing an architecture where models are treated as interchangeable components. This strategy, outlined in their latest blog post, moves beyond relying on single, frontier AI models.

Visual TL;DR. Standalone AI Limits leads to Model-Agnostic Harness. Model-Agnostic Harness enables Persistent Pipeline. Model-Agnostic Harness ensures Adaptable Ecosystem. Persistent Pipeline facilitates Scalable Discovery. Scalable Discovery achieves Enterprise Security. Adaptable Ecosystem supports Enterprise Security. Standalone AI Limits leads to Skill to Pipeline. Skill to Pipeline leads to Model-Agnostic Harness. Model-Agnostic Harness leads to Key Stages.

Related startups

  1. Standalone AI Limits: narrow defensive coverage, lack persistence and deduplication for enterprise security
  2. Model-Agnostic Harness: orchestrates multiple interchangeable AI models for security analysis
  3. Persistent Pipeline: fleet-wide scanning instead of isolated agent sessions for continuous analysis
  4. Adaptable Ecosystem: prevents disruption from model changes or unavailability in AI landscape
  5. Scalable Discovery: enables efficient and broad vulnerability identification across systems
  6. Enterprise Security: robust and reliable AI security system for large organizations
  7. Skill to Pipeline: transitioning from individual AI capabilities to integrated security workflows
  8. Key Stages: structured approach to building and deploying the AI security harness
Visual TL;DR
Visual TL;DR — startuphub.ai Standalone AI Limits leads to Model-Agnostic Harness. Model-Agnostic Harness enables Persistent Pipeline. Model-Agnostic Harness ensures Adaptable Ecosystem. Adaptable Ecosystem supports Enterprise Security leads to enables ensures supports Standalone AI Limits Model-Agnostic Harness Persistent Pipeline Adaptable Ecosystem Enterprise Security From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Standalone AI Limits leads to Model-Agnostic Harness. Model-Agnostic Harness enables Persistent Pipeline. Model-Agnostic Harness ensures Adaptable Ecosystem. Adaptable Ecosystem supports Enterprise Security leads to enables ensures supports Standalone AILimits Model-AgnosticHarness PersistentPipeline AdaptableEcosystem EnterpriseSecurity From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Standalone AI Limits leads to Model-Agnostic Harness. Model-Agnostic Harness enables Persistent Pipeline. Model-Agnostic Harness ensures Adaptable Ecosystem. Adaptable Ecosystem supports Enterprise Security leads to enables ensures supports Standalone AI Limits narrow defensive coverage, lackpersistence and deduplication forenterprise security Model-Agnostic Harness orchestrates multiple interchangeable AImodels for security analysis Persistent Pipeline fleet-wide scanning instead of isolatedagent sessions for continuous analysis Adaptable Ecosystem prevents disruption from model changes orunavailability in AI landscape Enterprise Security robust and reliable AI security system forlarge organizations From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Standalone AI Limits leads to Model-Agnostic Harness. Model-Agnostic Harness enables Persistent Pipeline. Model-Agnostic Harness ensures Adaptable Ecosystem. Adaptable Ecosystem supports Enterprise Security leads to enables ensures supports Standalone AILimits narrow defensivecoverage, lackpersistence and… Model-AgnosticHarness orchestratesmultipleinterchangeable AI… PersistentPipeline fleet-wide scanninginstead of isolatedagent sessions for… AdaptableEcosystem prevents disruptionfrom model changesor unavailability… EnterpriseSecurity robust and reliableAI security systemfor large… From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Standalone AI Limits leads to Model-Agnostic Harness. Model-Agnostic Harness enables Persistent Pipeline. Model-Agnostic Harness ensures Adaptable Ecosystem. Persistent Pipeline facilitates Scalable Discovery. Scalable Discovery achieves Enterprise Security. Adaptable Ecosystem supports Enterprise Security. Standalone AI Limits leads to Skill to Pipeline. Skill to Pipeline leads to Model-Agnostic Harness. Model-Agnostic Harness leads to Key Stages leads to enables ensures facilitates achieves supports Standalone AI Limits narrow defensive coverage, lackpersistence and deduplication forenterprise security Model-Agnostic Harness orchestrates multiple interchangeable AImodels for security analysis Persistent Pipeline fleet-wide scanning instead of isolatedagent sessions for continuous analysis Adaptable Ecosystem prevents disruption from model changes orunavailability in AI landscape Scalable Discovery enables efficient and broad vulnerabilityidentification across systems Enterprise Security robust and reliable AI security system forlarge organizations Skill to Pipeline transitioning from individual AIcapabilities to integrated securityworkflows Key Stages structured approach to building anddeploying the AI security harness From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Standalone AI Limits leads to Model-Agnostic Harness. Model-Agnostic Harness enables Persistent Pipeline. Model-Agnostic Harness ensures Adaptable Ecosystem. Persistent Pipeline facilitates Scalable Discovery. Scalable Discovery achieves Enterprise Security. Adaptable Ecosystem supports Enterprise Security. Standalone AI Limits leads to Skill to Pipeline. Skill to Pipeline leads to Model-Agnostic Harness. Model-Agnostic Harness leads to Key Stages leads to enables ensures facilitates achieves supports Standalone AILimits narrow defensivecoverage, lackpersistence and… Model-AgnosticHarness orchestratesmultipleinterchangeable AI… PersistentPipeline fleet-wide scanninginstead of isolatedagent sessions for… AdaptableEcosystem prevents disruptionfrom model changesor unavailability… ScalableDiscovery enables efficientand broadvulnerability… EnterpriseSecurity robust and reliableAI security systemfor large… Skill to Pipeline transitioning fromindividual AIcapabilities to… Key Stages structured approachto building anddeploying the AI… From startuphub.ai · The publishers behind this format

The core idea is to create a persistent, fleet-wide scanning pipeline rather than isolated agent sessions. This model-agnostic layer is crucial for adapting to the rapid shifts in the AI ecosystem, preventing disruptions when specific models become unavailable or are superseded.

Beyond Standalone Models

The limitations of single-model approaches are clear: they offer narrow defensive coverage and struggle with the persistence and cross-referencing needed for enterprise-scale security analysis. Subagents, while useful, lack the necessary persistence, deduplication, and resumability for this task.

Cloudflare's solution centers on a 'harness' that orchestrates multiple models. This harness, not the individual model, is the lasting component. By frequently interchanging and cross-testing models, the system ensures vulnerabilities are validated by distinct logical sets.

From Skill to Pipeline

The journey began with a ~450-line security-audit skill designed for single-repository analysis. This initial skill mapped out a 7-phase audit, including reconnaissance, attack simulation, adversarial validation, and independent re-verification.

However, single runs only captured about half the potential bugs, often the simpler ones. Several walls quickly emerged: context exhaustion, where models forget previous findings; lack of persistence, leading to lost work on crashes; and an inability to reason across repositories.

Building the Enterprise Harness

To address these limitations, Cloudflare developed a unified harness capable of covering a large fleet of repositories with cross-repo tracing. This system handles a diverse mix of languages without per-language tuning, focusing on higher-level security orchestration.

The workflow is divided into two stages: the Vulnerability Discovery Harness (VDH) for initial scanning and the Vulnerability Validation System (VVS) for rigorous checking. Crucially, different models are used for VDH and VVS, creating an adversarial validation loop.

Key Stages and Mechanisms

The VDH includes stages like Recon (mapping threat vectors), Hunt (simulating attacks), Validate (mechanical checks and disproving findings), Gapfill (generating new tasks), Dedup (consolidating findings), Trace (walking dependency graphs), and Feedback (optimizing future runs).

Persistence is managed by writing each stage's output to a SQLite database, allowing any stage to resume without redoing work. This prevents losing hours of progress due to transient errors.

The Recon stage dynamically generates threat models tailored to specific codebases. Hunter agents go beyond code reading to active execution, compiling and attacking code fragments in sandboxed environments.

Specialized mechanisms like Sibling Forking (allowing agents to explore interesting code paths outside their current scope) and a Wishlist (for requesting external tools or resources) grant agents significant autonomy.

This robust architecture ensures that even transient API errors are classified correctly, preventing empty runs from being logged as successes.

This entire process forms the basis of Cloudflare's Flue Framework: Cloudflare's Agent Push.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.