Skip to content

The paper introduces the concept of persistent billable state, revealing denial-of-wallet attacks and defenses for tool-calling LLM agentsPersistent Billable State: Denial-of-Wallet Attacks and Defenses in Tool-Calling LLM Agents

arXiv: Agent & MCP Security· arXiv:2609.28585· Jinqian Zhang, Haojun Xia, Shujiang Wu, Jingkun Yue, Xia Zhang, Zhangpei Cheng, Bibo Tu·Indexed by this site · 2026-10-01· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryResearchers from the Institute of Information Engineering, Chinese Academy of Sciences, and other institutions propose the concept of persistent billable state, referring to the fact that when a tool-calling LLM agent's runtime brings content returned by external tools into subsequent model inputs, the provider charges for it repeatedly, and an accepted malicious or compromised tool can thus convert untrusted data into processing continuously paid for by the victim without the victim's credentials or local runtime privileges. The authors formalize the host's decision on whether and how such content enters subsequent billing contexts as the persistent billable-state boundary, and claim this is the first systematic security study of this post-admission lifecycle. The study derives six denial-of-wallet attack vectors, builds an end-to-end testing framework DOW-BENCH, completes 243 executions across six model families, and usage telemetry shows that the cumulative input in a single session reaches up to 14,293 times the first call's input in that session.

Questions
After a multi-step tool-calling agent brings external tool returns into subsequent model inputs, the provider charges again. An admitted malicious or compromised tool can turn untrusted data into processing repeatedly billed to the victim without victim credentials or local privileges.
Methods
The authors define whether and how the host lets external returns enter subsequent billing contexts as the persistent billable-state boundary, present six DoW vectors V0–V5, and use DOW-BENCH for end-to-end measurement; defenses use deterministic history transformations plus four host invariants D1–D4 before re-feeding the model to constrain prompt volume, context growth, recursion opportunities, and cumulative spending.
Experiments and results
Among 243 executions, the maximum CAF was 14,293×; 51/69 priced attack sessions exceeded $0.10, with maximum exposure $3.404 and benign maximum $0.025. Retaining original history increased mean effective session cost by 21.2–35.9%; compression succeeded on history-dependent tasks 10/12 and 11/12, while deletion succeeded 2/12 per provider. All 123 replays were blocked by the kernel; on Mistral Small 4, the progress-authorized strategy succeeded 22/24 without pre-completion interruption, versus 13/24 for the fixed cap. Among 3,830 public MCP repositories, only 71 had code-visible safeguard proxies, and no repository covered all four categories.
Limitations and future work
In the Discussion, the authors state that fixed thresholds cannot alone define a security budget, and that online adversaries who adaptively choose returns to stay under the guard were not evaluated. Experiments cover six vector classes, CAF across six model families, historical policies on two providers, D4 transfer on Mistral Small 4, and a code-visible proxy scan of 3,830 repositories.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Adversa AI 汇总 10 月 AI Agent 安全资源

Read originalarxiv.org