p PatchFirst

PYSEC-2026-579

PYSEC-2026-579 · Malicious code in cmd2func (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 cmd2func 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

  • cmd2func PyPI

    Versions
    • 0.2.2
    • 0.2.3

    No fix published

Original sources

Check your server →