LIVE LOG · entries last verified against sources October 14, 2026 · site updated Oct 14, 2026, 1:42 AM ET

← All incidents

Slopsquatting: AI coding models invented 205,474 unique package names in one study

Research · All LLM coding tools · MEDIUM

Incident dateNot stated
DisclosedJun 2024 (arXiv preprint). Presented Aug 2025.
Added hereOct 14, 12:16 AM ET
Last verifiedOct 14, 2026

Summary

A USENIX Security 2025 paper tested 16 code-generating models on Python and JavaScript and found that 19.7% of the 2.23 million package references in the generated code (440,445) pointed to packages that do not exist, including 205,474 unique invented names. Commercial models averaged at least 5.2%, open-source models 21.7%. An attacker can register one of those names on npm or PyPI and wait for someone to install it. That tactic is now called slopsquatting.

Severity

MEDIUM A measured, systemic supply-chain risk, not a single breach. Rated Medium: impact depends on someone publishing and installing a malicious package.

Timeline

  1. Jun 2024
    Paper first posted to arXiv.
  2. Mar 2, 2025
    Revised version (v3) posted to arXiv.
  3. Aug 2025
    Presented at USENIX Security 2025 (UTSA, University of Oklahoma, Virginia Tech), where it won a Distinguished Paper Award.

How it happened

Models predict plausible-sounding package names. When one does not exist, the install fails, unless someone has already registered it. The researchers also tested mitigations and report they cut hallucinations significantly while keeping code quality. Rates were measured on the specific model versions in the study; newer models may differ.

How to check your app

Sources

Corrections and updates

  1. Oct 14, 2026
    Corrected the summary: 19.7% is the share of generated package references that were hallucinated (440,445 of 2.23 million), not the share of code samples.
If you want a quick way to check the basics above on your own app, LockedVibe publishes a free Lockdown Pack with the prompts and checks for RLS, auth and exposed keys.