What matters in AI.

Subscribe

A shared AI cache removed security results in code tests

Reuse of saved model work changed 40.6% to 85.7% of security reports, although the model, code and prompt stayed the same.

Researchers published a paper about AI agents that examine code for security. To decrease cost, one agent can use again the saved work that a model made when it read the same code for a different agent. This is cross-agent cache reuse. In the tests, this reuse removed 21.7% to 89.5% of the vulnerability reports that a full computation gave.

How it works

The saved work is the key-value (KV) cache, the internal data of a model about text that it read. The researchers compared approximate reuse with a full computation of the same input.

The numbers

The tests had 533 pairs of runs on open-weight models, which are models that you can download. The first method, KVCOMM, gave these results:

  • It permitted reuse for 65.8% of calls to the examiner agent.
  • The first part of an answer came 2.52 times faster on average.
  • It made a maximum of 5.3% new reports.

Most removed reports changed from “fail” to “not applicable”.

Other tests and limits

A different method, CacheBlend, showed the same type of change. On PrimeVul, a data set, the two methods could hide vulnerabilities that had external labels. The authors’ summary does not name the models and gives no correction.

Insight: You see the speed, but not the removed result

An earlier test, ReplayBench, connected tool results that agents used again to agent errors. Here, reuse of saved model work changes security results. It seems that the team that adjusts speed can change security decisions, and possibly no person sees it. Control moves to the persons who adjust the cache. Include each reuse adjustment in your security inspection.

Sources

  1. Fast but Forgetful: Cross-Agent KV Reuse Breaks Decision Fidelity in LLM Security Reviewarxiv.org
AI MATTER · NEWS · AI MATTER · NEWS ·3 DEC2026

Posted

Tags

Learn the terms in this story

Guides for this story

More in Research

All Research news