Pith.

Cryptography and Security · arXiv:2603.00902 v3 · submitted 1 Mar 2026

Clawdrain: Exploiting Tool-Calling Chains for Stealthy Token Exhaustion in OpenClaw Agents

Ben Dong, Zhonghao Guo, Tianyi Lu, Qian Wang

The paper says

“Our findings reveal that agent resource exhaustion arises not only from output generation, but also from repeated context re-ingestion, tool coordination, reasoning, and recovery, motivating system-level controls over cumulative skill behavior.”

from the abstract · picked out as the main claim by a classifier

Pith says

Pith has not reviewed this paper.

Get a Pith Review, $5

Reviews

Reviews by people

No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.

Request a human review

How Pith checks papers · The full audit of this paper

The paper

Abstract

Tool-calling LLM agents rely on third-party skills to extend their capabilities, but this openness exposes a supply-chain attack surface in which malicious skill instructions can manipulate agent execution across multiple turns. In this work, we present Clawdrain, a Trojanized OpenClaw skill that induces resource exhaustion through a Segmented Verification Process (SVP). SVP combines stateful progression, repair-driven repetition, and termination to create costly tool-calling chains while preserving a legitimate final payload. We evaluate Clawdrain in a production-like OpenClaw deployment with real API billing across Gemini 2.5 Pro, DeepSeek V4 Flash, and Claude Sonnet 4.6. Clawdrain achieves 2-16 times token amplification with plain SVP, while the three models exhibit distinct behaviors, including autoregressive compliance, proactive scripting, and extended trial-and-error reasoning. Our findings reveal that agent resource exhaustion arises not only from output generation, but also from repeated context re-ingestion, tool coordination, reasoning, and recovery, motivating system-level controls over cumulative skill behavior.

The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.

abstract compiled · 2026-11-03 · no language-model review

How the main claim is stated: asserted 1.00

What the abstract itself states, as probabilities: claims first 0.06 · states limitation 0.22 · human participants 0.03 · controlled comparison 0.15 · randomized assignment 0.01 · states quantitative result 0.98 · compares with prior results 0.18 · mentions code or data availability 0.05

The abstract, sentence by sentence

This table labels the abstract only (arXiv listing abstract v2). The number is the probability the classifier gave the label.

SentenceRoleThe authors' own workStates the main conclusionStrength
Tool-calling LLM agents rely on third-party skills to extend their capabilities, but this openness exposes a supply-chain attack surface in which malicious skill instructions can manipulate agent execution across multiple turns. background 1.00 0.06 0.08 asserted 0.99
In this work, we present Clawdrain, a Trojanized OpenClaw skill that induces resource exhaustion through a Segmented Verification Process (SVP). contribution 0.99 0.89 0.10 asserted 1.00
SVP combines stateful progression, repair-driven repetition, and termination to create costly tool-calling chains while preserving a legitimate final payload. method 0.97 0.75 0.10 asserted 1.00
We evaluate Clawdrain in a production-like OpenClaw deployment with real API billing across Gemini 2.5 Pro, DeepSeek V4 Flash, and Claude Sonnet 4.6. method 0.90 0.96 0.04 asserted 0.98
Clawdrain achieves 2-16 times token amplification with plain SVP, while the three models exhibit distinct behaviors, including autoregressive compliance, proactive scripting, and extended trial-and-error reasoning. result 1.00 0.95 0.15 asserted 1.00
Our findings reveal that agent resource exhaustion arises not only from output generation, but also from repeated context re-ingestion, tool coordination, reasoning, and recovery, motivating system-level controls over cumulative skill behavior. interpretation 0.96 0.94 0.79 asserted 1.00

What kind of paper the classifier reports this is: method or tool 0.88 · evidence from observation or experiment 1.00

What was examined, and what was not

Sources read

  • arXiv listing abstract v2

Not examined

  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers

Levels run

  • P abstract

Not run

  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

How the labels were made

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-11-03: 1 request, 5,071 input tokens.

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON

Cited by 1 Pith paper
How the literature uses it

7 arXiv papers cite this in 12 sentences

Each citing sentence is taken from the citing paper's LaTeX source and typed by Pith's classifier. A label appears at probability 0.8 or more (0.95 for support), a contest at 0.7 or more; the quoted words are the citing authors'. How each label was checked · JSON

Papers citing it · 8 sentences without a confident label

Cites it as background 4 papers
  • Existing studies examine metadata-based selection manipulation, malicious skill instructions, and runtime tool-chain amplification separately [ref] ; whether a static skill can compose selection- and planning-stage influence into a result-preserving trajectory-amplification attack remains unclear.

    Convergent Detour Hijacking: Task-Preserving Resource Amplification in Skill-Based LLM Agents · INTRODUCTION · 0.84

  • Recent work has examined OpenClaw from several complementary perspectives, including end-to-end benchmarking of personalized-agent attacks [ref] , trajectory-based safety auditing of real execution traces [ref] , defense-oriented evaluation under adversarial scenarios [ref] , tool- and skill-level exploitation of token and execution surfaces [ref] , and broader lifecycle-oriented analyses of autonomous agent threats [ref] .

    Mind Your HEARTBEAT! Claw Background Execution Inherently Enables Silent Memory Pollution · Related Work · 0.98

  • Representative studies include lifecycle-oriented threat analysis for OpenClaw-like systems [ref] , end-to-end security evaluation under realistic deployment settings [ref] , trajectory-aware trustworthy evaluation [ref] , targeted safety benchmarking [ref] , real-world safety analysis of long-term state [ref] , and attacks targeting malicious skills, tool chains, or plugin ecosystems [ref] .

    When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agents · Motivation · 0.82

Challenges and discussion

Know something about this paper? Leave a comment.

No comments yet.

Sign in to comment