Silent and costly: characterizing and detecting prompt cache integration errors in LLM agentsSilent and Costly: Characterizing and Detecting Prompt-Caching Mis-Integration in LLM Agents
Researchers empirically characterized prompt cache integration errors in 10 popular open-source agent systems and proposed a detection tool, CACHELINT. The study analyzed 120 cache-related pull requests and found that the errors stem from request-side misconfiguration and read-side usage accounting errors, and that most fail silently without causing observable runtime failures, resulting in cost losses. CACHELINT models integration errors as a call site plus the preconditions required for correct integration, uses CodeQL to locate cache call sites, and then verifies each item against a dated vendor capability oracle or LLM guardrail checks. The tool achieved 0.71 precision and 0.78 recall on 120 labeled errors across 10 systems, and identified 32 integration errors in 571 agent projects with 0.86 precision, received 21 developer confirmations, and led to 18 upstream fixes, including one in Anthropic's official SDK.
Related events and news
1 events · 1 news mentions
News that mentions this paper
研究揭示开源Agent提示缓存集成缺陷
- 公众号 安全研究GoSSIPcites the paper's id or link论文:10个开源Agent的120个提示词缓存缺陷中108个不报错
论文链接:https://arxiv.org/abs/2610.34817