WeaknessASC-2026-0058Other weakness
Typosquatted and lookalike AI SDK packages
MediumMitigated
Packages named like popular AI SDKs (openai, anthropic, langchain, transformers) carry malware or steal API keys on import.
How to detect it
- Dependency names one character away from a popular SDK
- Packages from new accounts with AI-sounding names
How to resolve it
- Install from an approved catalog
- Compare package names and publishers against the official ones
How to investigate
- Find the lookalike in lockfiles and environments
- Rotate keys available where it was imported
Sources
- The Hacker News: PyPI Attack: ChatGPT, Claude Impersonators Deliver JarkaStealer via Python Libraries (November 2024)
- OWASP Top 10 for LLM Applications 2025: LLM03 Supply Chain
- OWASP Top 10 for Agentic Applications 2026: ASI04 Agentic Supply Chain Vulnerabilities
- MITRE ATLAS: AML.T0010 AI Supply Chain Compromise