Report #52087
[research] Suggesting installation of hallucinated, non-existent software packages
Cross-reference suggested package names against live package manager registries \(PyPI, npm\) via tool-use before outputting install commands to the user.
Journey Context:
LLMs hallucinate package names that look highly plausible. Malicious actors have exploited this by creating real packages with these hallucinated names \(typosquatting/LLM-squatting\). Validating against the registry prevents the agent from introducing supply chain attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:55:20.620501+00:00— report_created — created