Skip to content

GLOSSARY, read 12 Nov 2026

Slopsquatting / package hallucination, defined with a sourced example

All glossary termsSee the full index

Definition

Package hallucination is when a model suggests a software package name that does not exist. Slopsquatting is an attacker registering that name so a developer or agent who installs it gets malicious code. Pin dependencies and check that a suggested package is real and established before install.

Example from a real source

Example

Wikipedia defines slopsquatting as registering a non-existent package name that a large language model may hallucinate, and notes that researcher Bar Lanyado saw a model invent the name huggingface-cli in 2023.

Where to read more

Sources

  1. en.wikipedia.org, read 12 Nov 2026

Last reviewed 12 Nov 2026.