Written content
Agentic securityDecember 1, 2026

The signal problem in AI vulnerability detection

AI makes potential vulnerabilities easier to find. Understanding their significance remains the harder task.

Siddant Basnet

About the author

Siddant Basnet

Head of GrowthAlpen Labs

Siddant studied computer science at Cornell University and subsequently worked at the intersection of fintech and blockchain, beginning at Mastercard.

About the author

Siddant studied computer science at Cornell University and subsequently worked at the intersection of fintech and blockchain, beginning at Mastercard.

A vulnerability report creates work before it creates a fix. Someone has to follow the code path, check the deployment, and decide whether the reported behavior puts anything at risk. AI makes it cheap to produce these reports, but checking them still takes care. At Alpen Labs, we have been changing how we review code to account for that cost.

Thank you to the Alpen engineers for generously sharing their knowledge for this article.

From detection to validation

In September, MASH, our multi-agent security harness, traced the root cause of the Liquid exploit and reproduced it locally in about an hour. Blockstream later confirmed the cause matched its own internal findings. That post was about what agents can find. This one is about the cost of everything else they find.

Running agents across a codebase brings a less visible task: investigating everything they flag along the way. A convincing report can take time to dismiss, even when the underlying behavior is harmless in production.

The cost of excess findings

In one scan across several Alpen repositories, the first results looked alarming. One report flagged a test-only command that could write secrets in plain text. Another warned that a bridge operator's permissive CI defaults could accept an invalid proof. Real deployments replace those parameters and validate them repeatedly. The scanner had found the code paths; it had missed the conditions under which they ran.

After review, we judged most of the findings unimportant for our deployments. Some described real behavior without showing how an attacker could reach it or cause harm. Someone still had to investigate every report.

That work comes out of the same time available for design review, testing, and investigating serious issues. Enough low-value reports can delay a useful one. Over time, they also risk making the whole channel easier to ignore.

We saw the cost in our bug-bounty program. Weak AI-generated submissions became so costly to validate that we temporarily paused it. The program existed to bring in researchers who could challenge our assumptions. Keeping up with submissions had made that outside scrutiny harder to sustain.

Assessing risk in the context of deployment

A scanner can spot a parser error or a suspicious memory access without understanding the whole protocol. Deciding how dangerous it is requires more. Who supplies the input? What must an attacker control? Which checks sit between that code and something worth attacking?

Consider a soundness bug reachable only by someone who controls an Alpen-operated sequencer. We need to assess it against what the protocol promises if that sequencer is compromised or acts maliciously. If a permissionless bridge operator can reach the same path, the attacker starts from a different position. The code alone does not tell us the risk.

Our public ckt library shows how a scanner gets this wrong. It implements a compressed binary format for Boolean circuits, which represent a computation as a sequence of simple gates. In Alpen's garbled-circuit work, ckt writes, compresses, streams, reads, and verifies those gate sequences.

Because ckt can read from files, memory, or network streams, a scanner treated its suspicious behavior as though it sat on an exposed protocol boundary. In our deployment, it runs inside a narrower, controlled part of the system. Another user of the library might expose it differently. The finding needs to be assessed against the actual boundary in each case.

That puts a responsibility on us to write down our deployment assumptions. A tool needs to know which inputs are trusted and which actors can be hostile. Making those assumptions explicit also gives engineers something to question.

Evidence required for escalation

We treat an AI finding as a hypothesis. Before escalating it as a serious vulnerability, we want to know who can exploit it, how they reach the affected code, and what they can achieve. We also want someone or something to have tried to disprove it.

A useful report makes that reasoning inspectable. It names the prerequisites, traces the path through the code, and explains which assumption fails. The evidence should match the severity claimed: a critical report needs a credible account of the damage, ideally with a safe reproduction. A smaller weakness may still be worth fixing before anyone has a complete exploit, particularly if a later change could expose it.

We are working toward a workflow in which agents test these hypotheses before passing them to an engineer. The agent would receive the code, threat model, deployment assumptions, and tools available to the proposed attacker. It would then work in a disposable environment running realistic versions of the bridge operators, Strata, Alpen, and connected components.

The test should produce something observable: an invalid proof accepted, for example, or assets moved without authorization. A successful attempt would come with a reproduction path. An unsuccessful one would need examination before revision or rejection; a failed attempt is not proof of safety. Weaknesses worth fixing as defense in depth would still have a route to an engineer.

MASH already does part of this in staging, where agents check their results against independent models before a person sees them. Extending that into the full workflow is the next step.

The value of reviewing changes early

A substantial security review used to take us one to four weeks. We now get useful initial automated feedback 10 to 15 minutes after a pull request opens. That is the start of a review, not its completion. But it changes when an engineer can act: the code is still unmerged, and the author still remembers why it was written. For a global team, the first feedback can also arrive before another reviewer starts their day.

The scope of a pull request gives the reviewer a place to start without confining it to the diff. The agent can follow dependencies into surrounding components. The author then has to check the finding and decide whether it needs a fix or a broader investigation, while the change is still fresh.

The limits of automated validation

The harness inherits assumptions from the threat model and test environment we give it. If we draw a trust boundary in the wrong place, it may spend its effort testing the wrong attacks. Agents may spot gaps, but we still need reviewers willing to question the setup itself.

Filtering creates a related problem. A real finding can look unconvincing at first. We would rather investigate some noise than make the output look clean by discarding difficult reports.

Security outcomes beyond finding counts

External audits remain valuable, especially when auditors challenge assumptions we have come to take for granted. Automated review gives us more chances to catch mistakes between audits. Confirmed weaknesses can then become regression tests for the next change.

We want to know whether this work helps us catch severe vulnerabilities and how much engineering time that takes. Counting reports will not answer those questions. Neither will counting how many we reject.

A vulnerability report makes a claim about how a system can fail. Following that claim through the deployed system, testing it, and acting on the evidence is what gives it value. As AI makes those claims cheaper to produce, that standard becomes more important. Progress should be measured in what an attacker can no longer do.