← Back to papers
arxiv9.0 / 10

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

Yan-Lun Chen, Pin-Yu Chen, Chia-Mu Yu

Abstract

Third-party skills can expose LLM agents to malicious instructions hidden by encoding. We introduce Ciphered Skill Injection (CSI), which embeds such instructions in skill files for agents to decode and follow. We evaluate Caesar and layered variants across eight models and 139 injection-task pairs, separating instruction recovery from attack success. In the primary setting with shortened skills, the variants achieve attack success rates of up to 47.5% and 40.3%, respectively. Successful decoding does not guarantee attack success, and layering has model-dependent effects. The tested skill scanners rarely flag injected skills. These findings highlight the risk of promoting decoded, untrusted content into actionable instructions.

Research area

agent communication securityagentic ai auditingencoded or steganographic or ciphered reasoning/message passing
Published
13 Oct 2026
Source
arxiv
Org
National Yang Ming Chiao Tung University
View paper
Sign in to read and join the discussion.