Package name invented by AI chatbots downloaded over 30,000 times
A package name that existed only in AI outputs attracted tens of thousands of real installs, including through a large company's documentation.
- What happened
- Lasso Security researcher Bar Lanyado tested four LLMs on 47,803 coding questions and recorded how often they recommended software packages that did not exist. One recurring hallucinated name was 'huggingface-cli' (the real tool installs via huggingface_hub[cli]). Lanyado registered 'huggingface-cli' on PyPI as an empty, harmless package. It received more than 30,000 downloads in three months, and installation instructions for it appeared in a public repository for research by Alibaba. The practice of registering hallucinated names is now known as 'slopsquatting'.
- Response
- The package was a harmless placeholder. Later research by Aikido Security (2026) documented further hallucinated names on npm, including one package it assessed as malicious.
- Discovered by
- Lasso Security researcher Bar Lanyado, through a controlled proof-of-concept.
- Who was affected
- Developers who installed a package name suggested by LLMs; 30,000+ downloads in three months; command copied into an Alibaba research repository
- Patterns
- Sources
- Lasso Research: AI Package HallucinationsLasso Security, 28 Mar 2024
- Slopsquatting: The AI Package Hallucination Attack Already HappeningAikido Security, 20 Feb 2026
Related
Incidents with the same pattern
What does this ask of people?
Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.