AI Agent Discovers Critical OTP Bypass in Live Insurance Site

A recent assessment by an AI-driven security testing agent uncovered a severe authentication bypass vulnerability on a major insurer’s production website. The issue rested on a basic but critical flaw: the system allowed the request for a one-time passcode (OTP) to specify both the delivery channel and address—without confirming that the address belonged to the account in question.

The Vulnerability Unpacked

The AI pentesting agent, operated by Reflectiz, was exploring the login sequence. It manipulated the login request to redirect the OTP to an email inbox it controlled. To its surprise, the code was delivered to that unregistered email, and login proceeded normally. This behavior represented a high-severity authentication bypass. Reflectiz reported the finding immediately.

In most OTP-based systems, the delivery path is fixed—or at least checked—so that codes go to an account-associated phone number or email. In this case, the login request included two parameters: “channel” and “address.” By switching the channel to email and specifying an arbitrary address in the request, the server would send the verification code to that address, regardless of whether it was tied to the user account. The server never verified the link.

How the AI Agent Confirmed It in the Wild

Reflectiz’s agent started with reconnaissance—reviewing site JavaScript and API calls to find clues about the OTP delivery process. Those observations exposed the two request parameters that govern how and where the code is dispatched. To confirm the vulnerability, the agent crafted tests manipulating those parameters via the live login flow. The tests verified that the server accepted the manipulated request and allowed access.

Backing up those exploits was Reflectiz’s extensive web context—built over more than ten years of monitoring websites. That context includes logged-in flows with verification, text message-based OTPs, two-factor authentication, and similar features. Because the insurer’s site was already one of those monitored sites, the agent didn’t start from scratch. Instead, it navigated workflows as real users do.

Pentests vs. Ongoing Assurance

An earlier manual penetration test—done roughly six months before the discovery—had missed this flaw, or at least didn’t report it. It remains unclear when exactly the vulnerability was introduced. The miss isn’t being blamed on human testers, but on the inherent limitations of periodic testing. Security assessments that happen at intervals can’t always keep up with new code changes or feature rollouts. Attackers, particularly those using AI, can zero in on flaws in between tests.

Agentic pentesting offers a more continuous alternative. Reflectiz claims it can perform targeted tests as frequently as the website evolves, assuming there’s appropriate access and well-defined boundaries. Their approach produces a coverage record showing which tests ran, which vulnerabilities were found, and which parts of the site were excluded—making it more operationally scalable than traditional pentests.

Reflectiz estimates its agent-driven methodology can boost testing capacity by up to tenfold—at costs comparable to conventional manual pentesting. That doesn’t mean finding ten times as many bugs always, but rather that the same resources can be used to test more endpoints, more often, and more deeply.

While the identity of the insurer isn’t disclosed, the implications are universal. The flaw shows up in a login component—a core asset of most online services—and the risk applies wherever OTPs are mis-bound to users’ credentials. Any attacker who knows or can guess account identifiers could exploit similar vulnerabilities.

This is a live-production system issue, not just theoretical. Attackers don’t need sophisticated tools if baseline account identifiers are exposed—IDs that many services routinely leak via error messages, profile pictures, or URL paths.

This vulnerability was fully verified in the production environment and responsibly reported. There are no indications of its exploitation in the wild yet.

What this Means & What To Watch
The discovery underlines a shifting security paradigm: AI-powered agents are reaching a level where they can automatically detect deep flow issues—especially logic and authentication flaws—that regular tests may overlook. Companies should review how OTP delivery is handled: verify delivery addresses belong to accounts, disable adjustable channel/address parameters unless absolutely needed, and run frequent automated logic tests. Agentic pentesting won’t replace all manual audits, but it’s becoming essential in a fast-changing threat landscape.