Slopsquatting: attackers register LLM-hallucinated package names within hours

Thionne_WTZ · x · 2026-10-13

LLM code hallucinations often produce nonexistent package names, and attackers register them within hours (slopsquatting). The author saw AI-generated code pull a nonexistent npm package that went live and malicious 12 hours later. The fix isn't just reviewing PRs — treat every new dependency as untrusted until you've verified the publisher, package age, and actual code. Most teams still don't.

Original post →

More from coding & agent

coding & agent channel →