UTC

Mini Shai-Hulud worm (2026)

A self-spreading worm across npm and PyPI that steals publishing tokens and uses them to release infected versions of the victims' own packages. After an SAP wave in late April 2026, the May wave hit AI packages, including the Mistral SDKs, guardrails-ai and several MCP servers, alongside 42 TanStack packages.

First seen
2026-04-29
Disclosed
2026-04-29
Affected packages
10
Attributed to
TeamPCP for the May wave, according to StepSecurity and OSV (Google Open Source Security)

What to do

Check lockfiles and caches for the versions listed. On any machine or runner that installed one, rotate npm, PyPI, GitHub and cloud tokens, look for repositories and workflows you did not create, and move publishing to trusted publishing with short-lived tokens.

Check a lockfile for these releases →
Affected releases
PackageRegistryVersions
guardrails-aiPyPI0.10.1
mistralaiPyPI2.4.6
@mistralai/mistralainpm2.2.2, 2.2.3, 2.2.4
@mistralai/mistralai-azurenpm1.7.1, 1.7.2, 1.7.3
@mistralai/mistralai-gcpnpm1.7.1, 1.7.2, 1.7.3
cmux-agent-mcpnpm0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8
nextmove-mcpnpm0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7
@squawk/mcpnpm0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5
agentwork-clinpm0.1.4, 0.1.5
@dirigible-ai/sdknpm0.6.2, 0.6.3

Written up from the sources above and last checked on 2026-11-18. ShieldMap describes what was affected and what to do; it does not publish the malicious code or how it worked. Report a correction to [email protected].