GLOSSARY, read 12 Nov 2026
Slopsquatting / package hallucination, defined with a sourced example
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.
Related terms
- Credential exposureCredential exposure is when tokens, keys or passwords become readable to an agent, a tool or an attacker.
- Secrets in contextSecrets in context are credentials or private data that have been loaded into an agent's context window.
- Tool poisoningTool poisoning is hiding instructions in an MCP tool's description or metadata.
Where to read more
Sources
- en.wikipedia.org, read 12 Nov 2026
Last reviewed 12 Nov 2026.