Breaking
AI & MLDeveloping Story

AI Research Gets a Human Amplifier

PortSwigger's HTTP Terminator, guided by a human, finds novel vulnerability classes and hundreds of live targets.

··7 hours ago·4 min read
a computer circuit board with a brain on it
Photo by Steve A Johnson on Unsplash

An artificial intelligence system built by a security researcher has identified hundreds of websites vulnerable to HTTP request smuggling, hacked them live at scale, and uncovered a previously unknown class of vulnerability. But the AI didn't work alone—a human guided it every step of the way, and that collaboration may be the most significant takeaway.

Human-AI collaboration inverts the narrative

James Kettle, director of research at security firm PortSwigger, designed and built the AI, named HTTP Terminator, using his own research processes. He posed narrow, high-value questions, ruled out weak answers, applied anomaly-detection logic, used deterministic code to restrict agent behavior, and applied findings to subsequent 'cascade' research.

“This inverts the accepted narrative by showing an expert can be a massive amplifier for an AI research system,” Kettle explained in a white paper. “A human in the loop can still add significant value, as opposed to just building the loop, then stepping back.”

HTTP request smuggling explained

HTTP desync attacks, also known as HTTP request smuggling, interfere with the way websites process HTTP requests from various users. In this architecture, users send requests to a front-end server, which then forwards them to back-end servers.

The issue lies in the inherently “weak” isolation of requests, Kettle pointed out. The front-end server typically sends several requests at once over the same back-end network connection to improve performance and efficiency. “HTTP requests are sent one after another, and the receiving server has to determine where one request ends and the next one begins,” he explained. But front-end and back-end systems must “agree” on where each request ends, otherwise attackers can send ambiguous messages that are interpreted as two requests by the back end.

Through response query poisoning (RQP), attackers can inject false information into subsequent requests or manipulate data flows so that systems lose track of which responses came from where. They can then intercept responses intended for other users, which can sometimes include sensitive information, credentials, or API keys. While request smuggling is typically associated with HTTP/1 requests, websites that support HTTP/2 might also be vulnerable, depending on their back-end architecture, Kettle noted.

“Request smuggling vulnerabilities are often critical in nature, allowing an attacker to bypass security controls, gain unauthorized access to sensitive data, and directly compromise other application users,” he said.

How HTTP Terminator works

Kettle built HTTP Terminator around his own research methodologies. The initial phase is ideation: it autonomously generates hypothetical testable RQP attacks, such as desync triggers, patterns, or weaponization techniques.

The next step is evaluation: hypotheses are tested at large scale to identify which actually worked. HTTP Terminator used live websites that allow security testing via bug-bounty and Vulnerability Disclosure Programs (VDPs). A built-in anomaly detection layer flagged unusual responses.

Following that is a weaponization phase, which determines whether findings actually have real-life impact. In some cases, they did: HTTP Terminator initially generated 30,000 unique attack vectors that it tested continuously, soon identifying 700 vulnerable targets, including financial institutions and government infrastructure. The system even stole a live API key from one of these banks, and other breaches were traced back to flaws in popular enterprise products like Apache Traffic Server, Citrix NetScaler, and BeyondTrust.

The cascade effect

Finally, there’s a step Kettle calls ‘cascade.’ Each finding may be a clue to an overlooked target or detection path. “When you discover something, if you explore back up the tree you may find other undiscovered branches,” he explained.

For instance: how could you detect similar behavior elsewhere? And could the behavior enable other types of attacks? Essentially, each finding becomes “the seed for the next.” “That might not look like much, but it creates a positive feedback loop which can spiral into a cascade of discoveries taking you beyond predictable findings, into the unknown,” Kettle said.

Ultimately, “I realized that autonomous vs human is the wrong framing,” he explained. “It’s better to frame system design as AI vs code vs human.”

A new class of vulnerability

HTTP Terminator was able to invent and prove several novel desync triggers, one novel desync pattern, and a desync weaponization technique. Notably, though, it identified a new “shared-parser confusion” technique that allows attackers to parse requests and responses and thus increase their attack surface.

“That, by itself, is absolutely huge,” Kettle said. But, he emphasized, “this discovery was not fully autonomous — the HTTP Terminator proposed it, and I validated it. Neither of us would have discovered it alone.”

Open-sourcing the blueprint

Kettle has open-sourced HTTP Terminator along with his research blueprint so other security teams can “turn their own methodology and instincts into an autonomous research weapon.” He advised tackling tasks in four steps: set an objective, create an evaluation strategy, establish inspiration sources, and explore cascade routes for new discoveries.

“Evaluation is the first concrete step for both design and implementation,” he said, “because any issues there will derail the entire project.” It’s also important to “aggressively” identify and resolve data quality issues, as those will be difficult to correct later on. Further, ask high-value questions without being too broad; review outputs in initial test runs and use them to rule out low-value hypotheses; and remember that “every extra sentence of prompt risks context-contamination,” Kettle said.

When a system is fully AI-driven and also reliant on AI-built code, it’s near-impossible for it to improve over time, he said. It’s better to start quickly with an AI-heavy approach, then move responsibility to deterministic code for speed and accuracy.

Why this matters for security teams

This research suggests that the most effective AI security tools may not be fully autonomous. Instead, they could serve as force multipliers for human experts, amplifying their instincts and methodologies. For teams facing a growing volume of vulnerabilities, the human-amplified approach could mean faster, more thorough discovery of critical flaws—and a better chance of staying ahead of attackers who are also adopting AI.

#ai#http-request-smuggling#vulnerability-research#portswigger#security

Sources

Iliyas

Editor, Xploitwire

This article was researched and drafted through our automated editorial pipeline from the sources listed above, then checked against those sources through our automated fact-check process, under the editorial policies set by Iliyas. Our Automation Policy →

← Back to all stories