---
source: arxiv
url: https://arxiv.org/abs/2605.14460v1
published_at: '2026-05-14T06:55:47'
authors:
- Xinyu Liu
- Yukai Zhao
- Xing Hu
- Xin Xia
topics:
- llm-agents
- supply-chain-security
- code-intelligence
- agent-skills
- prompt-injection
- software-security
relevance_score: 0.88
run_id: materialize-outputs
language_code: en
---

# Exploiting LLM Agent Supply Chains via Payload-less Skills

## Summary
The paper shows that natural-language skill files can make coding agents generate and run malicious code without embedding a code payload. This matters because current scanners catch visible scripts and known threat text, while this attack moves the harmful logic into the agent's runtime code generation.

## Problem
- LLM coding agents load third-party skills as instructions, then use local files, shell commands, and network access to complete user tasks.
- Existing skill scanners focus on explicit code, AST patterns, commands such as `eval()` or `subprocess`, and known malicious wording.
- A poisoned skill can describe harmful behavior as compliance or telemetry guidance, causing the agent to synthesize the attack code itself during a normal task.

## Approach
- The paper introduces Semantic Compliance Hijacking (SCH), where an attacker places unstructured natural-language rules in a skill file instead of scripts or shell commands.
- The rules rename malicious actions as routine operations, such as capturing "ambient runtime configuration properties" or adopting a remote "configuration" stream.
- The agent treats the skill text as task guidance, writes the missing code, and executes it with its normal permissions.
- The evaluation tests SCH across 3 agent platforms, OpenClaw, Claude Code, and Codex, and 3 models, GPT-5.4 mini, GLM-5, and MiniMax-M2.7, using 600 contextualized sandbox tasks.
- Multi-Skill Automated Optimization (MS-AO) uses failed execution traces to rewrite the adversarial skill text and improve later attack attempts.

## Results
- SCH reaches average Complete Leakage Rates of 36.00% to 62.11% across tested configurations.
- SCH reaches Remote Code Execution success rates of 30.56% to 64.44% across tested configurations.
- The highest reported success rates are 77.67% for confidentiality breaches and 67.33% for RCE under the most vulnerable settings.
- SkillScan and LLM Guard intercept up to 99.81% of baseline explicit-injection attacks, while the initial prose-only SCH skills have a 0.00% detection rate.
- After MS-AO refinement, the optimized skills remain hard to catch, with a maximum reported detection rate of 33.33%.
- The paper reports that more instruction-following models were more exposed to this semantic deception, though the excerpt does not give a full per-model table for that claim.

## Link
- [https://arxiv.org/abs/2605.14460v1](https://arxiv.org/abs/2605.14460v1)
