A probe instead of an agent

A paper posted to arXiv on 26 October proposes skipping the agent. Its authors present REVA, a vulnerability detector that reaches an agentic detector’s accuracy in a single forward pass of a language model, by reading the model’s internal representations rather than its written verdict.

The problem it targets is timing. Agentic detectors work the way a security engineer would: they run analysis tools, explore surrounding code, test hypotheses and weigh evidence. That reasoning spans many model calls, so each verdict takes minutes. Faster detectors — a fine-tuned classifier, or an LLM prompted for a direct yes or no — judge a function without the context an agent gathers, and the paper argues an LLM’s generated verdict is unreliable even when given some of it.

60.0% in about a second

REVA assembles the context up front instead of discovering it. For each new function it supplies the model with a pre-computed threat model of the function’s module, lightweight static analysis findings and call-graph information, then uses a trained probe to read what the model internally represents about that function in that context.

On PrimeVul’s held-out test set, REVA running on GLM-5.3-Flash reaches 60.0% accuracy in about one second per function. The authors report that this matches VulTriage, which they describe as the state-of-the-art agentic detector, at 59.2% on the same underlying model — while being more than 250 times faster and less than a tenth as costly.

Rows of white desks and blue chairs in an empty office training room.
Agentic detectors spread their reasoning across many model calls. Stock image. Max Vakhtbovych · pexels · Pexels License

The figure worth holding onto is the headline accuracy itself. 60.0% on a vulnerability-detection benchmark is not a solved problem. The claim is parity with a far more expensive method, not a high absolute score.

The internals beat the model’s own answer

The more interesting result is internal. Given the same prompt, the probe is 14% to 17% more accurate than the verdict the model writes out. Across three open LLMs, REVA is at least as accurate as VulTriage, and roughly 10% more accurate on two of them.

The authors draw the obvious conclusion: a model’s internal representations already encode much of what agentic detectors spend many calls reasoning their way toward. If that holds up, the reasoning trace is partly a reporting layer rather than the place the judgement is formed — which is a claim with consequences well beyond vulnerability scanning.

A warehouse aisle lined with tall orange racking, a worker walking at the far end.
The paper frames real-time screening as a first filter in front of slower review. Stock image. Tiger Lily · pexels · Pexels License

What to watch

Two caveats sit on the result. It is a preprint, not yet peer reviewed, and the comparison is against one named agentic baseline on one benchmark. PrimeVul is a standard dataset, but benchmark accuracy and catching a real vulnerability in a real pull request are different tests. The practical question is whether a one-second screen at 60% accuracy is useful as a first filter in front of slower review, which is how the authors frame it, and that will be settled by deployment rather than by the paper.