Glossary Threats and weaknesses
Slopsquatting (hallucinated package names)
Attackers register package names that AI assistants invent.
What is Slopsquatting (hallucinated package names)?
Coding assistants sometimes suggest libraries that do not exist. Attackers watch for such invented names, publish packages with malicious code under them and wait for someone to accept the suggestion.
Allow new dependencies only from a vetted package mirror or an allow list, and check the origin and age of a package before adopting it.
Sources for context: OWASP Top 10 for LLM Applications 2026
Threats using this term (1)
Entries in the threat catalogue whose text uses the term. Every link leads to the full threat page.
Related terms
More terms from the subject area Threats and weaknesses.
From the term into the substance
The link leads to the place on the website where the term becomes practical; the overview shows every term in the glossary by subject area.
Cite this term
For reports, policies or internal documents; the link leads directly to this term page.
“Slopsquatting (hallucinated package names)”. Versatile AI Risk Assessment, glossary of AI risk analysis, as of November 2026. https://www.versatile-ai-risk-assessment.com/en/wissensbasis/glossary/slopsquatting/