Can AI do novel security research? Meet the HTTP Terminator
The paper describes an autonomous AI-driven system that generated tens of thousands of candidate HTTP desync triggers from RFC fragments, tested them against live bug bounty targets, and confirmed novel triggers that caused request smuggling-style desyncs on many sites, including a bank and government infrastructure. It also covers automated weaponisation toward response queue poisoning, which could expose other users' responses and credentials.
portswigger.net
Published on portswigger.net
We all know AI can find bugs. After a decade of research, I asked a harder question: can an autonomous system invent new attack techniques, and use them to hack live websites at scale?
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely weak request isolation in HTTP/1.1 combined with front-end and back-end servers disagreeing on request framing, for example when an unusual Transfer-Encoding value or content type causes one server to treat the body differently from the other.
Impact
Confirmed triggers caused desyncs on hundreds of live sites, and response queue poisoning could expose other users' responses including live credentials such as session cookies and API keys, though testing was rate-limited to under one request per second per domain.
What the attacker needed
Authorised bug bounty or VDP target; front-end and back-end share HTTP/1 connection; attacker can send crafted requests
How it was found
- Feed the system fragments of RFC text as micro-inspiration to generate candidate desync triggers.
- Send each candidate trigger over a separate connection to the front-end, followed by a normal request that usually gets a consistent response.
- Watch whether the normal request now returns a different response, which indicates cross-request contamination.
- Combine confirmed novel triggers with known attack formats to see whether a third distinct response can be elicited.
- Hand confirmed triggers to a collaborator who scans targets and achieves response queue poisoning on multiple sites.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Websites often sit behind a front-end server that passes requests to a back-end server over a shared connection. If the two disagree about where one request ends and the next begins, an attacker can slip in extra data that gets attached to another user's request, which is called a desync or request smuggling attack. This paper describes an AI system that invented many new ways to cause that disagreement and tested them on real sites.
What is Smuggling / CRLF?
A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.