11/04/2026
AI invents package names. Attackers register them.
In his recent blog, Dirk Schrader, VP of Security Research at Netwrix, covers slopsquatting: a supply chain attack built on package names that AI coding assistants make up.
In a study presented at USENIX Security 2025, 19.7% of the packages recommended across 16 models did not exist. When the researchers re-ran prompts that produced a hallucination, 43% of the invented names appeared in all 10 repeat runs, which gives an attacker a predictable set of names to register. The models tested were available in early 2024.
Checking whether a name exists doesn’t settle it, because an attacker may already have registered it with malware inside. One copied install command can put that code on a developer’s machine, next to cloud keys, API tokens, and source code.
Read the blog: https://netwrix.com/en/resources/blog/slopsquatting/