AI-Discovered Desync
The HTTP Terminator — an autonomous research system that invented and proved new HTTP desync triggers, patterns and an attack class on live sites, at Black Hat USA 2026 / DEF CON 34.
How it works
James Kettle built a system that emulates a human desync-research methodology in four phases: Ideation (generate testable hypotheses), Evaluation (confirm on authorized live targets), Weaponization (prove impact, chiefly Response Queue Poisoning), and Cascade (feed each finding back as inspiration). Key design ideas (HTTP Terminator):
- Micro-inspiration. Feeding whole RFCs over-anchors the model and reproduces known vectors. Splitting inputs into 1–3-sentence fragments and asking for 1–5 vectors each maximised novelty — 138 HTTP/SMTP RFCs → 15,000 fragments → ~30,000 unique desync vectors.
- Expectation-free evaluation. A Burp extension + SQLite scanned 30,000 sites; a trigger is flagged if a known-good request suddenly gets a different response when paired with it over a separate connection — detecting any cross-request contamination, including unknown classes.
- AI vs Code vs Human. Deterministic code (not the LLM) owns success-validation gates to kill false positives; each weaponization step runs with fresh context passing only evidence and scripts, so bad reasoning can’t contaminate the next step.
Techniques / findings
- Novel triggers from RFC lines.
Transfer-Encoding: gzipon an HTTP/1.0 message → CL.0 on many servers (F5 BIG-IP; an airport back-office exposure).Content-Type: multipart/byterangestreated as a CL.0 trigger hit 200+ sites incl. a US bank — an RFC rule written for responses misapplied to a request. - Dual-matching Content-Length — a novel desync pattern: two identical, valid CL headers made a server (Citrix NetScaler, Meta infra) frame the body as length-zero, enabling RQP that accidentally captured a long-lived bank API key.
- Dangling-byte technique — a novel RQP weaponization: send the smuggled request one byte short so the back-end’s second response isn’t generated until the victim’s request arrives, eliminating the stacked-response race that normally breaks RQP.
- Response Forking — one clean request yields two responses without any length disagreement (observed over HTTP/0.9 / compressed), a hypothetical new desync class not yet proven exploitable.
- Shared-Parser Confusion — the headline concept: a server that reuses one parser for requests and responses lets a request reach response-processing code, so “any response-processing feature can be exploited by a request.” Partially overlaps Orange Tsai’s Apache Confusion Attacks but generalizes across unrelated servers. AI proposed it; the human validated it.
- Status-line injection and Range cache poisoning — two further research leads (copying the request protocol string into the response status line; RANGE responses cached without a
206). - Status: dual-CL is a new pattern, dangling-byte a new weaponization, Response Forking an unproven class, Shared-Parser Confusion the most significant discovery. The exploitation agent also had to be coaxed past model refusals and desync misconceptions (pipelining ≠ smuggling) via reality-reframing and deterministic validation (theinjection.dev, YesWeHack).
Notable cases
- Apache Traffic Server — CVE-2026-63078, a desync zero-day surfaced by the anomaly-detection layer (a misbehaving vector + lucky permutation + TRACE body).
- Bank / SSO / Meta / Citrix NetScaler dual-CL findings; a Beyond Trust product RQP via
CONNECTforwarding. - Tooling shipped alongside the paper: open-source HTTP Terminator, plus HTTP Request Smuggler (new vectors + request-contamination detection), Turbo Intruder (MCP interface), and Param Miner (protocol-ruler header analysis) (Turbo Intruder, Burp Suite Extensions, Burp AI and MCP).
Defenses
- The standing fix holds: never use upstream HTTP/1.1 — use HTTP/2 or higher end-to-end.
- Two additions from the Terminator vector haul: allow-list request methods on front-end and back-end, and separately allow-list which methods may carry a body (POST, optionally PUT/PATCH) — GET/HEAD/OPTIONS should never have one.
Related
- HTTP Request Smuggling — parent guide.
- CL.TE and TE.CL Desync · HTTP/2 Downgrade Smuggling · Client-Side and Connection-Locked Desync · Web Exploitation Talks · AI-Accelerated Gadget Discovery · Turbo Intruder