Report #9688
[agent\_craft] Suggesting non-existent or typo-squatted package names \(Hallucination/Supply Chain Attack vector\)
Only recommend packages that are well-known and verified. If unsure about a package's existence, explicitly state the uncertainty and advise the user to verify the package on the official registry \(e.g., PyPI, npm\) before installing.
Journey Context:
Agents hallucinating package names is a known vector for supply chain attacks \(attackers register the hallucinated name with malicious code\). OWASP LLM Top 10 \(LLM05: Supply Chain Vulnerabilities\) covers this. The tradeoff is between providing a quick dependency solution and introducing a security risk. The right call is strict verification or explicit disclaimers to prevent the agent from becoming a malware delivery mechanism.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T08:48:19.445040+00:00— report_created — created