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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-30T20:41:59.000Z
- Modified: 2026-07-01T12:45:04.750Z
- Also known as: MAL-2026-5296

## 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.

(As written by PyPA Advisory Database.)

## Affected

- magique (PyPI): 0.6.8; 0.6.9

## 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> (exploit, evidence)
- <https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages> (article)
- <https://www.stepsecurity.io/blog/the-hades-campaign-pypi-pack> (article)

## Sources

- PyPA Advisory Database: [PYSEC-2026-592](https://osv.dev/vulnerability/PYSEC-2026-592), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/PYSEC-2026-592 · Whole record: https://cve.day/PYSEC-2026-592.json · Rebuilt by cve.day 2026-11-25T22:56:40.842Z
