Skip to content
Preprint

Towards a Risk Assessment of Malicious Skill Files in Coding Agents

Aug 2026 · 0 citations · 45 references
Computer Science

TL;DR

An adversarial skill-synthesis method using six LLMs across four families to transform 471 real-world shell commands into benign-appearing skills, released as a benchmark of 2,826 skills mapped to 11 MITRE ATT&CK tactics.

Abstract

Autonomous coding agents are increasingly embedded in enterprise software workflows with delegated authority over connected systems. Central to this architecture is the agent skills interface: folders of instructions and scripts that agents load dynamically to specialize their behavior. This interface also widens the attack surface, letting malicious shell commands hide within natural-language skill files. We make three contributions. First, an adversarial skill-synthesis method using six LLMs across four families to transform 471 real-world shell commands into benign-appearing skills, released as a benchmark of 2,826 skills mapped to 11 MITRE ATT&CK tactics. Second, a reproducible evaluation pipeline coupling run stratification, evidence anchoring, a refusal veto, and a deterministic declared-intent override with a three-judge LLM-as-a-judge panel, validated against a blind human gold standard (Cohen's kappa = 0.85). Third, a large-scale characterization of two enterprise-grade agents across 5,629 completed runs. Gemini CLI is exploited in 95.5-96.1% of runs and Qwen Code in 71.6-74.0% (raw majority vote to declared-intent-corrected estimate, both within the human gold standard), nearly invariant to the generating model. Explicit safety recognition occurs in only 1.99% of runs. Enterprises must assess and mitigate skill-interface risk before adopting coding agents. Our code and dataset are available at https://github.com/awsm-research/AgentJailbreak

View source

Similar papers

Preprint Jul 2026

ANCHOR: Automated Alignment Auditing for CLI Agents on Real-World Harm

Evaluating frontier CLI agents, it is found that while they often refuse illegal tasks when prompted directly, compliance reaches 100\% under persistent malicious interaction, and it is demonstrated that current alignment techniques are insufficient for autonomous agents.

Kefan Song, Yan-Jun Qi · 0 citations
Preprint Aug 2026

SkillShield: Prompt-Space Security Skills for LLM Coding Agents

SkillShield is introduced, a system-prompt defense that synthesizes security skills offline from known attacks or recorded agent failures to prevent harmful actions and malware generation for LLM coding agents.

Xiaodong Wu, Zhimin Zhao, Qi Li et al. · 0 citations
Jul 2026

IssueTrojanBench: Benchmarking AI Coding Agents Against Malicious Issue Requests

A systematic evaluation of malicious issue requests against state-of-the-art coding agents powered by two major model families reveals critical vulnerabilities in the as-deployed modern coding agents, highlighting the urgent need for stronger agent- and model-level safety mechanisms to protect AI coding agents.

Ankur Singh, Jinqiu Yang, T. Chen · 2 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.