# PYSEC-2026-592: Malicious code in magique (PyPI)

- Database: PyPA
- Also known as: MAL-2026-5296
- Published: 2026-06-30
- Modified: 2026-07-01

## Affected versions

- magique (PyPI): 0.6.8, 0.6.9

## Description

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

Page: https://cve.now/PYSEC-2026-592

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
