Report #16445
[agent\_craft] Agent suggests installing non-existent, typoed, or low-popularity packages that pose supply chain attack risks
When suggesting package installations, default to well-known, canonical libraries \(e.g., requests, lodash\). If a user specifies an obscure package, verify its existence or warn about supply chain risks. Never hallucinate package names.
Journey Context:
Coding agents hallucinating package names is a known vector for supply chain attacks \(OWASP LLM05: Supply Chain Vulnerabilities\). Attackers register packages with names similar to AI hallucinations. If an agent suggests 'http-request-lib' instead of 'requests', it might lead the user to install malware. Strict adherence to known ecosystems prevents this.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T02:44:09.258273+00:00— report_created — created