cs.CROct 27, 2026

Poisoned Skills: Propagating Jailbreaks Through Agent Markdown Files

Authors: Kashyap R Manjusha, Murali Emani

Organizations: University of Illinois, Urbana-Champaign, IL, USA · Argonne National Laboratory, Lemont, IL, USA

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.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks

    Feb 23, 2026David Schmotz, Luca Beurer-Kellner, Sahar Abdelnabi +1LLM Agent SecurityPrompt Injection Attacks on AI Agents

  2. Encrypted Skills Can Become New Security Exploits If AI Agents Know How to Decipher

    Oct 13, 2026Yan-Lun Chen, Pin-Yu Chen, Chia-Mu YuPrompt Injection Attacks on AI AgentsPrompt Injection Attacks

  3. One Skill, Two Masters: Serving Users and Attackers through Skill Injection

    Jun 6, 2026Haochang Hao, Dehai Min, Zhifang Zhang +5AI Agent SecurityPrompt Injection Attacks