HaiAI123

Curated Global AI Tools Directory

Industry update
Flat

Study finds 5.2% of AI-generated package names don't exist, fueling slopsquatting

12/04/2026 — 12/04, 03:17·1 sources (all)·1 reports (all)

Key takeaways

  • A commentary cites a USENIX Security 2025 paper, "We Have a Package for You!
  • ", which tested 16 code-generation models on 576,000 Python and JavaScript samples and found at least 5.2% referenced non-existent package n…
  • the author argues a cheap pre-build check closes the gap.

Background & analysis

On December 4, 2026, an article on DEV Community drew on a USENIX Security 2025 paper titled "We Have a Package for You!

" to examine the risks created when AI coding assistants invent software package names. The study tested 576,000 Python and JavaScript code samples across 16 code-generation models and found that at least 5.2% of cases contained package names that do not actually exist. The article describes a typical scenario: a developer asks a coding assistant to handle an obscure file format, and the assistant suggests installing a package that has never existed, complete with a perfectly formatted npm install command and a name that sounds plausible and fits the task. If the name is unregistered, the install fails and the developer moves on. But if someone registered that name the previous week, the install succeeds, pulling a stranger's code into the project. The article calls this second case slopsquatting, describing it as a relative of typosquatting in which the misspelling originates from a model rather than a person. The author's suggested mitigation is to verify dependencies before they enter the build process, arguing that the cost of doing so is low. The discussion remains at the level of research findings and developer advice; the material does not mention any vendor response or follow-up action.

AI-generated from 1 reports · updated 2 days ago

updream
24-hour heatHeat index 28 · peak 56 · 23h ago
24 hours agonow

Reports on this story headlines open the original

Yesterday
  1. Citing the USENIX Security 2025 paper "We Have a Package for You!", the author notes that 16 code-generating models tested across 576,000 Python and JavaScript samples produced hallucinated package names in at least 5.2% of cases. If someone registered the invented name the week before, npm install succeeds and pulls a stranger's code into your build, which the author says is cheap to check before dependencies land.

    DEV Community · AIAI score 59

Other stories people are talking about

How is heat calculated?About the method

Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.

This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.

Surge
Discussion rising fast
New
First report within 6 hours
Rising
Still gathering discussion

Back to AI industry updates →