arXiv:2608.12273cs.CRAug 2026

Manuscript Offprint

arXiv:2608.12273

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

Junliang Liu, Ruoyu Li, Wenxin Tang, Jingyu Xiao, Zhenyu Liu, Jingheng Xu, Laizhong Cui

Abstract

LLM agents increasingly rely on third-party skills, using natural-language descriptions for selection and instruction bodies for planning. This progressive-disclosure design exposes two sequential control points to untrusted publishers: a static skill may steer an otherwise correct task onto an unnecessarily costly trajectory. Prior work studies selection manipulation, malicious skill instructions, and tool-chain resource amplification largely separately, leaving their end-to-end composition unclear. We introduce Convergent Detour Hijacking (CDH), a text-only, runtime-independent attack that couples these stages. Under shared semantic cover, a description establishes relevance during selection, while an aligned body reuses that rationale to fabricate plausible dependencies during planning. CDH attracts an attacker-controlled coordinator alongside legitimate skills, recruits unnecessary benign skills into a bounded detour, and then re-enters the original route to preserve task completion. We evaluate it across multiple LLM backends and 491 held-out tasks under single-task and multi-turn conditions. On DeepSeek-V4-Pro, the matched coordinator is selected in 80.02% of tasks; among coordinator-hit runs that complete tasks, token consumption and end-to-end execution time increase by 66.91% and 92.45%, respectively, while aggregate task completion remains comparable. Thus, correct outcomes do not guarantee trajectory integrity or cost safety.

1School of Computer Science and Software Engineering, Shenzhen University

2 The Chinese University of Hong Kong

3 The Chinese University of Hong Kong, Shenzhen

Corresponding authors: liry@szu.edu.cn, cuilz@szu.edu.cn

INTRODUCTION

Large language model (LLM) agents increasingly extend their capabilities through third-party skills that package reusable domain knowledge, workflows, and tool-use instructions. As skill libraries grow, loading every skill body into the model context upfront would consume substantial context before task-specific reasoning begins. Progressive-disclosure platforms address this problem by initially exposing only concise skill metadata for selection and loading the complete instruction body only when a skill is considered relevant. This on-demand design supports modular capability expansion and multi-skill composition while limiting upfront context overhead.

However, the same separation that improves context efficiency creates a trajectory-level risk that may remain invisible in the final answer. Both stages rely on publisher-controlled data: a description influences whether a skill enters the execution context, while the subsequently loaded body can influence how the agent composes its execution plan. A malicious publisher may therefore use the description to obtain selection and the body to fabricate plausible dependencies on otherwise unnecessary skills, increasing skill invocations, token consumption, and execution time while leaving the original task achievable. This raises our central question: can a publisher who controls only one static skill exploit progressive disclosure to steer an execution that would otherwise complete correctly onto an unnecessarily costly trajectory, without access to model internals, runtime tool responses, or post-publication interaction? Existing studies examine metadata-based selection manipulation, malicious skill instructions, and runtime tool-chain amplification separately (Mo et al. 2025; He et al. 2026; Liu et al. 2026; Dong et al. 2026; Zhou et al. 2026); whether a static skill can compose selection- and planning-stage influence into a result-preserving trajectory-amplification attack remains unclear.

Figure

Figure 1: CDH inserts a coordinator-induced detour before returning to the same task outcome.

Figure 1 illustrates this risk. For the same computer health-check request, an unattacked agent follows a direct, task-relevant route and returns the requested report. After an attacker-published coordinator skill is installed, the agent still completes the task but recruits auxiliary skills whose transitions appear locally plausible although unnecessary in the clean execution. The resulting trajectory performs more skill-mediated work and consumes additional resources while preserving a task-completing output, showing that final-answer correctness does not imply trajectory necessity or cost safety.

Turning this observation into a systematic attack presents three challenges. First, under black-box routing and without future victim queries, the coordinator must be reliably co-selected across unseen tasks in a target domain without suppressing the native skills needed to complete the task. Second, because the body is invisible until after selection, the description and body must exert coherent influence across the progressive-disclosure boundary: the description must establish the relevance during selection, and the body provides coordination cues that shape subsequent planning once loaded. Third, the induced trajectory must create substantial additional work while remaining bounded and allowing the agent to complete the original task; an overly weak body produces negligible overhead, whereas an unbounded or implausible body risks rejection, timeout, or task failure.

We introduce Convergent Detour Hijacking (CDH), a publisher-only attack that turns progressive disclosure into an attract–detour–converge path. CDH exploits one key insight: local plausibility does not guarantee trajectory necessity. It instantiates a shared coordination rationale in two views: a pilot-guided description that gains co-selection without replacing native skills and, once loaded, a bounded runbook that turns the same rationale into plausible prerequisite and verification dependencies. These rules recruit additional native skills before an explicit return condition releases control to the original task. Thus, one static, text-only skill couples routing and planning to create a bounded, task-preserving detour without executable payloads or attacker-controlled runtime responses.

We study CDH on OpenClaw’s default registry of 53 skills. We organize the registry into nine functional groups and construct 536 multi-skill tasks, reserving 45 tasks exclusively for pilot-guided description development and using the remaining 491 as a task-level held-out benchmark. Our paired clean–injected evaluation separates isolated routing behavior from end-to-end agent execution and measures coordinator activation, task completion, skill-invocation growth, token consumption, cached context, and wall-clock time across multiple LLM backends and both single-task and multi-turn conditions. Component ablations evaluate the roles of the description and body, while an additional set of 30 independently authored tasks probes generalization beyond the benchmark-generation pipeline.

Our contributions are as follows:

  • Cross-stage attack formulation. We identify and formalize CDH, a publisher-only supply-chain attack that couples selection-stage and planning-stage influence to induce additional skill-mediated execution while preserving completion of the original task.
  • Attract–detour–converge methodology. We develop a pilot-guided black-box procedure for constructing coordinator descriptions and a semantically aligned dependency-rule body that induces locally plausible, bounded detours before returning execution to the original task.
  • Benchmark and end-to-end evaluation. We construct a 491-task benchmark over 53 skills in nine functional groups and evaluate CDH through paired clean–injected executions, component ablations, and independently authored tasks across multiple LLM backends.

References (27)