Poisoned Skills: Propagating Jailbreaks Through Agent Markdown Files
Abstract
Modern agent frameworks allow users to provide Markdown files containing system prompts, tool descriptions, and skill definitions (e.g., SKILL.md), which are incorporated into the agent's context during initialization. In this work, we investigate whether this configuration mechanism can also serve as an injection channel: can a jailbreak embedded in a Markdown skill file propagate through an agent and induce prohibited behavior? To answer this question, we construct a LangChain-based question-answering agent whose system prompt is assembled from a user-provided Markdown file. We embed a jailbreak combining persona manipulation with a GPTFUZZER-based attack and evaluate its effectiveness across seven contemporary open-weight models using 270 forbidden questions spanning nine harm categories. Under a benign system prompt, the models exhibit near-complete refusal behavior, with a mean attack success rate (ASR) of just 0.5%. In contrast, the injected skill file raises the mean ASR to 45%, reaching 68.9% for individual models. We further evaluate two payload obfuscation strategies: an invisible zero-width character-based stealth payload and a phonetic payload based on grapheme-to-phoneme transformations. Neither outperforms the plain-text injection; notably, the phonetic variant reduces mean ASR to 30%. These findings identify Markdown skill files as an underexplored attack surface for AI agents and suggest that vulnerability to configuration-based jailbreaks depends more strongly on the underlying model than on the specific payload obfuscation technique.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
Related papers
Subverting Tool Arguments: Defense-Evading Metadata Poisoning in LLM Agents
Shared title terminologycs.CRShih-Chieh Dai, Xinyu Sun, Haichuan Zhang et al.
Guarding the Kingdom of Skill-Based Agents in the AI Dynasty of Computation: Control-Flow Integrity for Agent Skills
Shared title terminologycs.CRBonan Ruan, Yuhao Sun, Jiahao Liu et al.
Judging Before Propagation: Task-Graph Contextual Integrity for Multi-Agent Privacy
Shared title terminologycs.CRHengyu Wu, Blaise Delattre, Yang Cao
Agentic Backdoors via Pretraining Poisoning
Shared title terminologycs.CRXinyan Hu, Pingbang Hu, Chloe Loughridge et al.
When Skills Tell Agents Not to Ask: A Large-Scale Study of Oversight Directives in Agent Skills
Shared title terminologycs.CRTimofey Sanko, Yuan Tian
PrivacyEvalClaw: A Tool-Augmented Deliberative Agent for Auditing Privacy Leakage in LLM Jailbreak Responses
Shared title terminologycs.CRKrishna Kanth Nakka, Yujun Wang, Shijie Zhou et al.