Skip to content
AI / LLM Write-up Advanced

Exploiting LLM Agent Supply Chains via Payload-Less Skills

The authors describe a supply chain attack against LLM coding agents in which a third-party skill contains only natural-language 'compliance rules' rather than code, causing the agent to generate and run unauthorised code itself. In their tests this led to confidentiality breaches and remote code execution, and the skill files were not detected by current scanning tools.

arxiv.org

Published on arxiv.org

The original lives on arxiv.org

We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the agent treats untrusted skill text as trusted operating instructions and acts on it without validating the intent behind it, while scanners only look for code signatures and known harmful phrases.

Impact

Under the most vulnerable configurations the attack reached up to 77.67% success for confidentiality breaches and 67.33% for remote code execution, and the manipulated skills were not detected by current scanning tools.

What the attacker needed

Agent installs a third-party skill; skill text framed as compliance rules; agent has code execution ability

The fix

Detection should move from signature matching to validating the semantic intent of skill content before an agent acts on it.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Coding assistants built on large language models can install extra 'skills' from online marketplaces, much like plugins. Normally a scanner looks for obvious malicious code in those files. Here the file contains only ordinary-sounding written instructions, and the assistant, trying to be helpful, writes and runs the harmful code itself, so there is nothing for the scanner to match.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.