Skip to content
Tencent Xuanwu Lab·Indexed by this site · Originally published· Attacks →SelectedAttention36

Tencent Xuanwu Lab discloses the ghost dependency supply chain threat in Agentic Coding and releases the Atuin plugin

幽灵依赖:Agentic Coding 范式下的新型供应链安全威胁

AI summary

Tencent Xuanwu Lab proposes the "ghost dependency" supply chain risk under the Agentic Coding paradigm, where LLMs autonomously selecting third-party components tend to introduce outdated versions (version ghosts) or fabricate non-existent component names (name ghosts). Testing on a mainstream programming model shows that in Python Web scenarios, its generated requirements.txt almost always includes outdated component versions from 2023 or earlier, and under long-tail demands the hallucination rate for fabricating component names is as high as 40%, concentrated in predictable patterns. Experiments show that Python Web applications built entirely by AI introduce outdated components with high-severity SQL injection vulnerabilities, making them "backdoored out of the box"; after registering a high-frequency hallucinated component name in a public repository, it was downloaded more than 500 times within 20 days.

Why it was selected

Tencent Xuanwu Lab discloses two types of supply chain risks from the model autonomously selecting packages in Agentic Coding, with reproducible measured data and a protective plugin.

Read originalxlab.tencent.com