Manuscript Offprint

arXiv:2610.30666

Your Token Is Gone: A Token-Consumption Countermeasure for Disrupting LLM-Based Scam Systems

Fudu Xing, Kailong Wang, Tianlong Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

LLM-based scam systems increasingly combine adaptive dialogue, persistent context, external tools, and multi-agent coordination to automate personalized fraud. These capabilities also create a resource dependency: every reasoning step, model call, and coordination round incurs inference cost. We present TokenTrap, a resource-oriented defense that redirects suspected scam systems toward benign, low-value computation while withholding credentials, payments, and other exploitable information. TokenTrap combines three components: an architecture-specific token-task library, a router that selects among single-agent, hierarchical, and flat multi-agent workflows, and a bounded anti-guardrail strategy that varies task presentation while enforcing token, round, time, and safety limits. Across 50-round traces, TokenTrap amplifies token consumption by 2,487.0×2,487.0\times, 1,616.0×1,616.0\times, and 567.8×567.8\times relative to a no-token-task baseline for the three workflows. Its router achieves 85.67% accuracy on 300 architecture-labeled prompts. These results demonstrate that short, non-sensitive requests can impose substantial context-processing and coordination costs, motivating resource-aware defense as a complement to scam detection.

Introduction

Large language models (LLMs) are rapidly evolving from standalone text generators into autonomous and collaborative agents that can reason over long contexts, invoke external tools, revise their own outputs, and coordinate specialized roles. Frameworks such as ReAct and Reflexion support iterative reasoning and self-correction (Yao et al. 2023; Shinn et al. 2023), while AutoGen, MetaGPT, ChatDev, CAMEL, and Generative Agents demonstrate increasingly sophisticated multi-agent planning and collaboration (Wu et al. 2023; Hong et al. 2024; Qian et al. 2024; Li et al. 2023; Park et al. 2023). Combined with inexpensive messaging infrastructure, these capabilities enable automated systems to sustain personalized interactions across many users and communication channels.

The same capabilities can strengthen online scams. Traditional phishing, romance fraud, technical-support impersonation, and investment schemes often depend on scripted messages and substantial manual effort. An LLM-based scam system can instead generate context-aware replies, imitate credible personas, translate content, answer skeptical questions, and adapt its strategy throughout a long-running conversation. Prior work has shown that large language models can produce persuasive phishing content at scale (Hazell 2023); agentic planning and role specialization further create the technical basis for automated fraud pipelines that are more responsive and scalable than static campaigns.

However, this automation also exposes a resource dependency. Unlike a purely human-operated scam, an LLM-based system must repeatedly pay for model inference, context processing, memory, retrieval, tool execution, and inter-agent communication. Longer conversations and more complex workflows therefore increase the attacker's operational burden. This observation motivates a complementary defensive question: rather than relying only on detecting or blocking scam messages, can a defender safely redirect an LLM-based scam system toward benign computation and thereby reduce the economic efficiency of automated fraud?

Despite growing concern about LLM-enabled phishing, scam automation, and malicious conversational agents, existing defenses mainly emphasize detection, warning generation, account takedown, provider guardrails, or user education. These mechanisms remain important, but they do not directly exploit the inference cost incurred by attacker-controlled models. Turning this resource dependency into a practical defense presents three challenges. First, token-consuming requests must be benign, low-leakage, and sufficiently expansive to impose meaningful cost. Second, different agent architectures expose different bottlenecks, so a fixed task cannot efficiently target single-agent recursion, hierarchical coordination, and flat peer debate. Third, scam systems may use repetition filters, context resets, turn limits, or objective-recovery policies to suppress unproductive interactions, while the defender must avoid unbounded execution and collateral load.

We address these challenges with TokenTrap, a guardrail-independent conversational defense with three corresponding components. First, a token-task library provides architecture-specific mechanisms: recursive self-revision for single agents, audit-triggered rework for supervisor–worker systems, and consensus deadlock for flat multi-agent networks. Second, an architecture-aware router analyzes observable dialogue structure and selects the matching task without requiring access to model weights, hidden prompts, or the internal agent graph. Third, a durable anti-guardrail strategy varies task presentation, preserves only the state required for the next transition, withholds sensitive information, and enforces token, round, time, and safety limits.

The main contributions of this paper are as follows:

• Resource-Oriented Scam Defense: We formulate token consumption as a complementary defense objective that redirects LLM-based scam systems toward benign, low-value computation rather than attempting to control an attacker-owned model.

• Architecture-Aware Token Tasks: We design three token-consumption mechanisms that target recursive context growth, hierarchical audit rework, and repeated peer activation while maintaining a low-leakage interaction surface.

• Adaptive and Bounded Execution: We develop a router for selecting among the three workflows and an anti-guardrail strategy that sustains interaction under cost-control policies while bounding defender-side resource use and collateral risk.

• Empirical Evaluation: Across 50-round traces, TokenTrap amplifies token consumption by 2,487.0×, 1,616.0×, and 567.8× relative to a no-token-task baseline for Types I–III, respectively; the router achieves 85.67% accuracy on 300 architecture-labeled prompts.

TokenTrap's code available at https://github.com/funkcodeking/AIVirus.git.