Report #48281
[research] Installing non-existent Python or Node packages suggested by LLM
Cross-reference package names against PyPI/NPM registry APIs before executing install commands or suggesting them to the user.
Journey Context:
LLMs hallucinate plausible-sounding package names because they predict tokens based on naming conventions, not actual registry states. This leads to broken builds or supply chain attacks \(typosquatting\) if a malicious actor creates the hallucinated package. Always verify existence via API before executing dependency additions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:31:05.522426+00:00— report_created — created