Package name invented by AI chatbots downloaded over 30,000 times

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.

28 March 2024DemonstratedBreaches and supply chain
PyPI; LLM coding assistants (GPT-3.5, GPT-4, Gemini, Cohere tested) · Lasso Security (research); Python Package Index · Global
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
Fabrication with consequencesSupply chainTrusted without checking
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

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.

All 177 incidents →The Future Skills Lab