Skip to content

Back to the record

Jan 15, 2024Unverified

Researchers prove slopsquatting: hallucinated 'huggingface-cli' package downloaded 30,000+ times once registered

AI loose in the worldMisinformationDERIVED

Approved by person, Oct 11, 2026. How entries are approved

Showing full summaries.

Bar Lanyado of Lasso Security noticed LLMs repeatedly recommending a Python package that did not exist — 'huggingface-cli' (the real install is 'huggingface_hub[cli]'). He registered the hallucinated name on PyPI as an empty placeholder and watched it accumulate more than 30,000 authentic downloads in the following three months, including references in real GitHub projects' install instructions. The experiment proved an attacker can pre-register the package names AI assistants invent and let developers install malware themselves — a technique later named 'slopsquatting'.

What this means for youIf you or your team use AI coding assistants, check that any package they suggest exists on the official registry and matches the project's documented install command before running it. Businesses should require developers to verify dependencies instead of pasting AI-suggested install commands.

Sources

Incident records from the AI Agent Incident Database by sipi.bot (https://sipi.bot/incidents/), licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).

Source data license: CC BY 4.0. Attribution to sipi.bot is required.

Covered by snapshot 45

da93f03b406f409940d0a6ef47b526607f82ebf457d98f69299b88aceede576a

This entry is record number 2391. It has not been edited since it was approved; the hash above would not match if it had. How to verify

Researchers prove slopsquatting: hallucinated 'huggingface-cli' package downloaded 30,000+ times once registered | Vigilo AI Watch