Mistral AI SDK, TanStack Router hit in npm software supply chain attack
- Published
- Record updated
Summary
The TeamPCP threat group compromised about 170 npm and PyPI packages on May 11, including the @tanstack TanStack Router ecosystem of 42 packages, the Mistral AI SDK suite on npm and PyPI, and the Guardrails AI PyPI package. The attackers exploited the pull_request_target trigger and GitHub Actions weaknesses to hijack release pipelines and obtain maintainers' short-lived OIDC tokens, then injected the Mini Shai-Hulud malware, which spread through the worm capabilities of the platform. The malware is designed to steal developer credentials, and it installs a destructive monitor that attempts to delete the home directory if a stolen GitHub token is revoked.
Mitigation
SafeDep recommends checking the lockfile for known compromised versions, pinning dependencies to known good versions, checking for evidence of malware files, and rotating any credentials in use at the time of import if an infected version is suspected. SafeDep has published a full list of affected packages with indicators of compromise.
Topics
Related items
- HighCVE-2026-122135: Mistral Vibe remote code execution via repository gpg.program settingSame vendor · NVD/CVE Database
- HighCVE-2026-122134: Mistral Vibe remote code execution through malicious Git filter driversSame vendor · NVD/CVE Database
- HighCVE-2026-122133: Mistral Vibe untrusted search path code execution via git.exe on WindowsSame vendor · NVD/CVE Database
- MediumMistral open-sources AI model despite warning it could aid cyberattacksSame vendor · CSO Online
- InfoSystematic Evaluation of Adversarial Jailbreaking Attacks and Defenses Across Seven Large Language ModelsSame vendor · Arxiv (cs.CR + cs.CL + cs.LG)