Report #78062
[research] Suggesting pip install for hallucinated or non-existent packages
Cross-reference suggested package names against a live registry \(like PyPI\) or a strict allowlist before presenting the installation command to the user.
Journey Context:
LLMs will invent plausible package names \(e.g., python-opencv instead of opencv-python\). Users blindly install them. This isn't just a factuality issue; it's a security issue \(typosquatting/malware\). An agent must treat package installation as a high-risk action requiring external verification.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:37:44.092104+00:00— report_created — created