PYSEC-2026-1072
PYSEC-2026-1072 · Malicious code in openai-mcp (PyPI)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of openai-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.
- Published
- Updated
Stack: python
Affected products and versions
openai-mcp PyPI
- Versions
- 2.41.1
- 2.41.2
No fix published
Original sources
- https://inspector.pypi.io/project/openai-mcp/2.41.2/packages/94/a6/2d9553e706b0c5e1df6aa5a30059532c112a87f5f858584abcc45816604c/openai_mcp-2.41.2-py3-none-any.whl/openai_mcp-setup.pth
- https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages
- https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages
- https://osv.dev/vulnerability/PYSEC-2026-1072