PYSEC-2026-592
Dashboard / Vulnerabilities / PYSEC-2026-592
Summary: Malicious code in magique (PyPI)
Details: Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of magique 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.
References: https://inspector.pypi.io/project/magique/0.6.9/packages/fb/cf/376a097f8893ac5c63e3d067b233bf16de9e3c980d8da0ac887a5619b297/magique-0.6.9-py3-none-any.whl//magique-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-pack
Affected packages
Package
Name: magique
Purl: pkg:pypi/magique
Affected ranges
Type: N/A
Events:
