Documented Exercise · AML.CS0022 · High severity

ChatGPT Package Hallucination

Investigated by Vulcan18, Lasso Security, and academic slopsquatting researchers through 2024 (tracked as AIID Incident 731), this attack exploits repeatable package-name hallucinations produced by coding LLMs. By probing models to discover nonexistent Python or npm package names that the LLM frequently invents, attackers register those names on public registries with malicious payloads that developers unknowingly install.

Exercise dossier metadata

Case ID
AML.CS0022
Classification
Exercise
Date
Severity
High
Sector
Software Development & Package Registries
Attack vector
LLM Package Hallucination (Slopsquatting)
System type
Coding assistant LLMs recommending open-source packages
CVE / reference
AIID-731
Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0022%3A

Inspect AML.CS0022 in Interactive Incidents & Cases Hub

Defensive takeaway

Verify every LLM-recommended dependency against an approved internal artifact proxy or package allowlist, enforce lockfile review, and run automated provenance and typo/slopsquatting checks in CI.

Mapped AI security techniques

Source citation records