# PYSEC-2026-1075: Malicious code in tiktoken-mcp (PyPI)

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-07T16:26:46.000Z
- Modified: 2026-07-07T17:00:05.698Z
- Also known as: MAL-2026-5326

## 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.

(As written by PyPA Advisory Database.)

## Affected

- tiktoken-mcp (PyPI): 0.13.1; 0.13.2

## References

- <https://inspector.pypi.io/project/tiktoken-mcp/0.13.2/packages/5c/58/895febe9c7cc34d3e4d64699ec40ac0b378392db3cfda3c93b7af27da95d/tiktoken_mcp-0.13.2-py3-none-any.whl/tiktoken-setup.pth> (exploit, evidence)
- <https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages> (article)
- <https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages> (article)

## Sources

- PyPA Advisory Database: [PYSEC-2026-1075](https://osv.dev/vulnerability/PYSEC-2026-1075), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/PYSEC-2026-1075 · Whole record: https://cve.day/PYSEC-2026-1075.json · Rebuilt by cve.day 2026-11-25T22:56:38.129Z
