Introducing full transaction detection for Cloudflare WAF
- Source
- blog.cloudflare.com
- Publisher
- Cloudflare
- Date

Context
A web firewall usually judges incoming requests alone, and Cloudflare's post explains why that forces a trade-off: broad request signatures catch more attacks but also block legitimate traffic, while narrow ones let ambiguous traffic through. Full transaction detection adds the other half of the exchange. The WAF correlates each request with what the origin sends back, so the same suspicious input can be judged differently depending on whether the rejected it or answered with something it should not have. Cloudflare's example is a traversal request for a private config : request inspection can flag the attempt, but only the response shows whether a 200 OK carrying database credentials actually came back.
Response rules are the enforcement step. When one matches, Cloudflare replaces the origin's response with a WAF block page and HTTP 403, or a custom response, before it reaches the requester. Cloudflare is explicit about the limit: blocking the response cannot undo actions already performed at the origin. It stops sensitive output from reaching an attacker. It does not reverse a change the request has already made on the server. Detection and action are kept separate, so teams can first see which endpoints and signatures fire in Security Analytics, then decide what to block.
Cloudflare ties the launch to AI-driven vulnerability hunting, arguing that persistent agents adapt payloads based on feedback, and that a response can tell an attacker whether an attempt worked. Its first managed protections using the new capability address php2shell, the PHP engine flaw disclosed by Wiz the same day; Wiz still describes the PHP update as the only complete remediation. Managed response rules and up to three custom response rules, with Log and Block actions, are available on every plan including Free. Rules on the response body are not available yet, the detection-score fields are for paying customers, and those fields are still rolling out to accounts.
- Cloudflare's WAF can now evaluate a request together with the origin's response, so a path-traversal attempt followed by a response that looks like a private config file counts as stronger evidence of exposure than either signal alone.
- Response rules can replace a matching origin response with a 403 block page before it reaches the requester. Cloudflare notes this cannot undo actions the origin already performed; it only stops the response, including feedback an AI scanner could use to refine an exploit.
- Detection and mitigation are separate: detections attach confidence, category and signature fields to the transaction, and rules decide what to do. Teams can inspect detections in Security Analytics before writing a blocking policy.
- All plans, including Free, get the managed response ruleset and up to three custom response rules with Log and Block actions. Rules on the response body are not yet available, and the cf.waf.signature.response.* fields are for paying customers.
- Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
- Server — Software that receives requests, processes them and returns responses; the computer running it is its host.
- Path — A description of a file or folder location, written using directory names and separators.
- File — A named unit of stored data that keeps its contents while no program is using it.
blogWe tested our own WAF with frontier AI models. Here’s what we foundblog.cloudflare.com
blogIntroducing context-aware vulnerability discovery and remediation with Cloudflare Managed Defense and OpenAI Daybreak modelsblog.cloudflare.com
articlephpAfterShell: critical PHP session flaw and what Cloudflare's WAF coversCloudflare