How Cloudflare can help stop malware before it reaches your app

Introduces WAF Content Scanning, a new feature that scans uploaded files for malware. It integrates with the Web Application Firewall (WAF) to block malicious files before they reach application servers. The feature supports scanning files up to 1MB, with plans to increase this limit. It uses heuristic detection for 'content objects' and supports parsing of multipart/form-data, multipart/mixed, and base64 encoded JSON payloads. The scanning engine is deployed locally on each server handling traffic, minimizing latency. The feature separates detection from mitigation, allowing for discovery of file upload endpoints and flexible rule creation using scan results. Custom scan expressions and custom response types are supported for JSON payloads. Future improvements include increasing max content size, adding a 'rewrite' action for quarantine, and enhancing analytics.
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