Cloudflare Bot Management: machine learning and more

This post introduces the Cloudflare Bot Management platform, detailing its product and technical requirements. It defines key terms like 'Bot', 'Good bots', 'Bad bots', 'Bot Management', and 'WAF'. The core innovation presented is the 'Score', a unified metric (0-100) indicating the likelihood of a request being human-generated. This score is integrated into Firewall Rules via the `cf.bot_management.score` field, enabling flexible and real-time bot mitigation. The post also outlines the platform's architecture, highlighting its microservices, data stores (Kafka, ClickHouse, Postgres, Redis, Ceph), programming languages (Go, Rust, Python, Java, Bash), and containerization technologies (Docker, Kubernetes). It details the output of the edge Bot Management module, including firewall fields, cookies (cf_bm), and JS challenges.
More from the Website Security & Threat Management trail
- We tested our own WAF with frontier AI models. Here’s what we found
- When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts
- Introducing automatic remediation policies with Cloudflare CASB
- Introducing context-aware vulnerability discovery and remediation with Cloudflare Managed Defense and OpenAI Daybreak Models
- Introducing Adaptive Intelligence: undermining the economics of every bot attack