Report #91600
[agent\_craft] Agent suggests installing typosquatted or suspicious packages without verification
Before emitting install commands, verify package names against known registries. Flag packages with very low download counts, recent creation dates, or names confusingly similar to popular packages. Suggest well-known alternatives when uncertain. Never auto-install from unverified URLs.
Journey Context:
Supply chain attacks via typosquatting \('reqeusts' vs 'requests', 'pyyaml2' vs 'pyyaml'\) are a real and growing risk. Coding agents are uniquely dangerous here because they generate install commands that users often execute with minimal review. The agent becomes a supply chain attack vector. OWASP LLM05 \(Supply Chain Vulnerabilities\) and LLM02 \(Insecure Output Handling\) both address this. The fix adds minimal latency—a quick registry check—but prevents real harm. If a package doesn't exist on the official registry or has suspicious metadata, refuse to include it and explain why.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:20:33.367747+00:00— report_created — created