Skip to content
OpenAdvisories
Unscored PYSEC-2026-1075 MAL-2026-5326

Malicious code in tiktoken-mcp (PyPI)

Published Jul 7, 2026 · Updated Jul 7, 2026 · Assigned by PYSEC

Description

Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,
malicious phantom releases of tiktoken-mcp were published to PyPI using stolen
credentials. The package executes a bundled JavaScript payload (via the Bun
runtime) on import that harvests and exfiltrates credentials and attempts
self-propagation. This entry is a summary; behavior may not be fully
characterized here. See the linked references for detailed analysis and
indicators of compromise.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tiktoken-mcp 0.13.1, 0.13.2 — PYSEC-2026-1075

References