Report #28738
[counterintuitive] AI suggests deprecated or vulnerable dependencies because they are over-represented in training data
Always run dependency audit tools \(npm audit, pip audit, Snyk\) on AI-generated package imports before execution; never trust AI's package selection without verification.
Journey Context:
AI's parametric memory has a lag and a bias towards heavily discussed but obsolete packages \(e.g., request in Node.js, or old log4j patterns\). Humans reading recent release notes know to avoid these. The AI appears capable because it writes perfectly valid code for the deprecated API, but it introduces latent security/maintenance risks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:37:49.346898+00:00— report_created — created