Documented Exercise · OBS.EX0140
Lexo LLM-Assisted Program Regeneration Against Supply-Chain Backdoors
Lamprou et al. (2025) evaluated Lexo, a defensive supply-chain sanitization framework that models observable benign package behavior via input-output traces and uses multiple guardrailed LLMs to synthesize clean drop-in package replacements stripped of stealthy conditional backdoors. Tested across over 100 real-world packages including high-profile stealthy supply-chain compromises, Lexo regenerated compatible components in under 30 minutes on average and eliminated malicious code even where direct LLM source-code auditing failed to remove it. Regenerating small high-risk dependencies from verified behavioral specs disrupts dormant environment-triggered payloads. High-assurance software pipelines can combine behavioral regeneration with deterministic test suites for critical third-party dependencies.
Exercise dossier metadata
- Case ID
OBS.EX0140- Classification
- Exercise
- Date
- Evaluation scope
- 100+ Real-World Open-Source Packages · Input-Output Behavioral Regeneration
- Reference URI
https://arxiv.org/abs/2510.14522
Mapped AI security techniques
- Supply Chain Compromise: Software AML.T0010.001
- Manipulate AI Model: Embed Malware AML.T0018.002
- Exploit Automated Artifact Processing Pipeline AML.T0119
Mapped defensive controls
- Verify AI Artifacts AML.M0014
- Vulnerability Scanning AML.M0016
- Maintain an AI Bill of Materials AML.M0023
Source citation records
- Lexo: Eliminating Stealthy Supply-Chain Attacks via LLM-Assisted Program Regeneration · arXiv (author preprint; peer-review status not inferred) ·