AI-Assisted Supply Chain Propagation
Description
Adversary Behavior: An adversary poisons upstream project artifacts — libraries, frameworks, templates, documentation, or training data — so that when downstream developers use LLM-integrated IDEs, the AI assistant propagates the adversary's payload into the downstream codebase.
AI/IDE Mechanism: LLM-integrated IDEs assemble context from upstream dependencies, documentation, and example code to inform code generation. The LLM acts as an amplification and obfuscation layer: the adversary does not need to inject malicious code directly into the upstream dependency. Instead, the adversary poisons artifacts that influence the LLM's code generation through context poisoning, documentation manipulation, or example code alteration.
Execution Path: The adversary introduces manipulated artifacts into upstream projects consumed as dependencies or references by downstream developers. When downstream developers use their LLM-integrated IDE, the AI assistant ingests the poisoned upstream artifacts during context assembly and independently generates vulnerable or backdoored code in the downstream project based on the adversary's influence.
Security Impact: The supply chain propagation is obfuscated through the LLM's generation process — the downstream code is not a direct copy of an upstream payload but rather independently generated code that reflects the adversary's intent, making traditional supply chain detection methods ineffective.
Platforms
Detection
Implement provenance tracking for LLM context — record which files, documentation, and examples influenced each code generation event. Correlate vulnerability patterns in generated code with specific upstream dependencies.
Detecting Data Components (5)
Mitigations (2)
Data Sources
References
STIX Metadata
| type | attack-pattern |
| id | attack-pattern--a7a76b8b-5e6e-4395-99c8-3d7039714e11 |
| spec_version | 2.1 |
| created | 2026-02-23T00:00:00.000Z |
| modified | 2026-02-23T00:00:00.000Z |
| created_by_ref | identity--f5b5ec62-ffbd-4afd-9ee5-7c648406e189 |
| x_mitre_is_subtechnique | False |
| x_mitre_version | 0.1 |
| x_mitre_status | mapped |