---
id: PYSEC-2026-1072
aliases:
  - MAL-2026-5320
title: Malicious code in openai-mcp (PyPI)
summary: Malicious code in openai-mcp (PyPI)
severity: none
vendor: openai-mcp
product: openai-mcp
ecosystem: pip
affected:
  - openai-mcp
published: '2026-07-07'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-1072'
references:
  - url: >-
      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
  - url: >-
      https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages
  - url: 'https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages'
tags:
  - osv
  - pip
ingestedAt: '2026-07-08T18:34:39.993Z'
---

## Overview

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.


## Affected packages

- `openai-mcp`

## Remediation

Refer to the advisory for the patched release.
