研究称 AI 编程助手推荐不存在的包,建议进行安全预检
11/06/2026 — 11/06, 12:16·1 sources (all)·1 reports (all)
Key takeaways
- Research shows that nearly 20% of third-party packages recommended by AI coding assistants do not exist, posing typosquatting security risks…
Background & analysis
On November 6, 2026, DEV Community's AI channel published a write-up on a study examining AI coding assistants that recommend third-party packages which do not exist. The study, titled "We Have a Package for You!
" (arXiv 2406.10279), found that across 576,000 code samples, 19.7% of the recommended third-party packages did not actually exist, and that 58% of the hallucinated package names repeated across multiple runs. Because these names recur, the report notes, they can be registered by an attacker in advance, a practice the report refers to as "slopsquatting." The article also states, citing Wikipedia, that as of July 2026 no real-world attacks had been reported, so the issue should be treated as a cheap precaution rather than a proven emergency. On mitigation, the article advises developers to verify the authenticity of dependency packages before building code, either via a low-cost pre-install check or through free tools such as Socket's extension. Based on the material available, the story stands at the point where the risk has been documented by research but confirmed attacks remain absent.
AI-generated from 1 reports · updated 19 minutes ago
- Heat index
- 95
- All sources
- 1
- All reports
- 1
- First seen
- 2 hours ago
Reports on this story headlines open the original
Studies show that a significant portion of AI-recommended coding packages do not exist, exposing projects to registration risks. Developers can mitigate this by running automated pre-install checks or using free tools like Socket extensions to verify dependencies.
DEV Community · AIAI score 72
Other stories people are talking about
- Heat index 1182RisingOpenAI rolls out GPT-6 Cyber to Daybreak Red users with API, Codex access15 sources
- Heat index 906SurgeGemini Omni 1.2 Flash enters Gemini API with video clip extension to 30 seconds11 sources
- Heat index 685RisingAnthropic launches Claude Personal Finance with read-only Plaid bank links9 sources
- Heat index 612OpenAI ships Images 2.6 with GIF and SVG output14 sources
- Heat index 586Tencent unveils Hy4 multimodal model and announces full open-sourcing13 sources
How is heat calculated?About the methodHide
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

