---
id: PYSEC-2026-1069
aliases:
  - MAL-2026-5317
title: Malicious code in instructor-mcp (PyPI)
summary: Malicious code in instructor-mcp (PyPI)
severity: none
vendor: instructor-mcp
product: instructor-mcp
ecosystem: pip
affected:
  - instructor-mcp
published: '2026-07-07'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-1069'
references:
  - url: >-
      https://inspector.pypi.io/project/instructor-mcp/1.15.3/packages/0e/e2/1f6d4c8dba9e185be98499dceeecc90fd1e5f94dcbb020dee1d883391461/instructor_mcp-1.15.3-py3-none-any.whl/instructor_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.982Z'
---

## Overview

Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,
malicious phantom releases of instructor-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

- `instructor-mcp`

## Remediation

Refer to the advisory for the patched release.
