← Lab /AI/ML

Malicious LLM coding agent skills bypass defenses up to 33.5% via hidden payloads

Document-Driven Implicit Payload Execution can evade existing safeguards on LLM agents with 11.6%-33.5% success rates

AI/ML arXiv 3 Apr 2026 Attack Prototype evidence

Published as “Supply-Chain Poisoning Attacks Against LLM Coding Agent Skill Ecosystems”

Why it matters

Supply-chain poisoning of LLM coding agent skills can silently compromise host systems, indicating a need for skill-level permission checks and multi-model defenses.

Summary

DDIPE can bypass safety alignment and architectural guardrails, achieving 11.6%-33.5% bypass rates across four agent frameworks and five LLMs, but direct execution is limited to as low as 2.3% and only 1.6% of payloads bypass all models simultaneously; 2.5% of payloads evade both static analysis and alignment, and explicit instruction attacks achieve 0% execution under strong defenses.

What they found 4

  1. DDIPE achieves 11.6%-33.5% bypass rates across tested configurations.

    “DDIPE achieves 11.6%-33.5% bypass rates, while explicit instruction attacks achieve 0% under strong defenses.”

  2. 2.5% of payloads evade both static analysis detection and alignment defenses.

    “Static analysis detects most cases, but 2.5% evade both detection and alignment.”

  3. Explicit instruction injection baseline yields 0% execution.

    “Under Claude Code + Sonnet 4.6, this baseline achieves a 0% execution rate across all 1,070 samples.”

  4. Responsible disclosure uncovered four confirmed vulnerabilities and led to two fixes.

    “Responsible disclosure led to four confirmed vulnerabilities and two fixes.”

Caveats 7

  • Direct execution rates are as low as 2.3% even for the most defended configuration (Claude Code + Sonnet 4.6).
  • Only 1.6% of payloads bypass all three models simultaneously, limiting the attack’s universal impact.
  • Two configurations exceed 60% error rates, reducing the effective evaluation surface.
  • Externally, the evaluation spans five models and four frameworks but does not cover the Llama ecosystem or Cursor.
  • assumes the poisoned skill is retrieved and loaded
  • Two configurations exceed 60% error rates from API compatibility issues
  • The stealth advantage is measured against a single baseline (explicit instruction injection); stronger baselines such as Skill-Inject may narrow the gap

What’s new here 4

  • Demonstrates that malicious code embedded in skill documentation can be reproduced and executed by coding agents without explicit malicious prompts (DDIPE).
  • Scales supply-chain attack generation from 81 manual seeds to 1,070 diverse adversarial skills covering 15 MITRE ATT&CK categories.
  • Evaluates the interaction of model-level alignment and framework-level architectural defenses across multiple agents and models.
  • Provides real-world responsible disclosure results, confirming vulnerabilities in production coding agents.