Analysis

We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMs

Page published

Earliest dated coverage: 4 Nov 2026 · First observed: 18 Nov 2026 · Latest dated coverage: 4 Nov 2026

Coverage timeline

discovered arxiv.org primary 4 Nov 2026flaviocopes.com

Single-source analysis — one report is available.

Why it matters

Slopsquatting can turn AI-generated dependency suggestions into malicious package installations, making package identity and provenance checks important before agent-driven installs.

Slopsquatting is a software supply-chain attack in which attackers register package names hallucinated by coding LLMs so subsequent user or agent installs retrieve attacker-controlled packages. The glossary entry summarizes prior package-hallucination research and notes that the reviewed coding-agent documentation does not describe checks for invented package names.