← Lab /AI/ML

Stealthy skill-based prompt injections achieve high success rates against coding agents

The proposed automated framework consistently attains high attack success rates on coding agents

AI/ML arXiv 15 Feb 2026 Attack Simulation evidence

Published as “SkillJect: Automating Stealthy Skill-Based Prompt Injection for Coding Agents with Trace-Driven Closed-Loop Refinement”

Why it matters

Skill ecosystems can be compromised via stealthy skill poisoning, enabling data exfiltration, privilege escalation, and backdoors even against models with strong safety filters.

Summary

SKILLJECT achieves an average attack success rate of 95.1% across multiple coding agents, far surpassing a naive direct-injection baseline (10.9%). The framework automatically generates stealthy poisoned skills using a closed-loop of three agents and hides malicious payloads in auxiliary scripts. Experiments show high transferability across LLM backends, but success varies (e.g., GPT-5-mini only 88.5% ASR) and static/semantic defenses detect only overt attacks.

What they found 3

  1. SKILLJECT attains a very high overall attack success rate.

    “SKILLJECT consistently circumvents these defenses, achieving an average ASR of 95.1%.”

  2. Static and LLM-based defenses detect overt information-leak and privilege-escalation attacks at high rates.

    “The defense achieved a 90.0% detection rate for Information Disclosure and Privilege Escalation.”

  3. Iterative refinement is the most critical component of the framework.

    “As shown in Table 3, the iterative refinement loop is the most critical component, with the ASR dropping from 98.0% to 56.0% when removed (k = 1).”

Caveats 2

  • GPT-5-mini shows the lowest success, with an ASR of 88.5% despite the overall 95.1% average.
  • Backdoor injection attacks evade detection, with only a 20.0% detection rate under the critical-alert threshold.

What’s new here 4

  • Automated generation of stealthy skill-based prompt injections rather than hand-crafted examples.
  • Closed-loop refinement using an Attack Agent, Code Agent, and Evaluate Agent to iteratively improve stealth and efficacy.
  • Payload hiding strategy that embeds malicious scripts in auxiliary files while only subtly modifying the skill documentation.
  • Demonstrated cross-model transferability of injected skills without per-model tailoring.