Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

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

  1. Find the lookalike in lockfiles and environments
  2. Rotate keys available where it was imported

Sources

Open it in the Learning Center's vulnerability database