schtinguerch/magique · Security
Malicious code in magique (PyPI)
- GHSA ID
- GHSA-qmjc-65wp-7v34
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.5 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
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.
CWEs
- CWE-506 · Embedded Malicious Code
References
- https://github.com/pypa/advisory-database/tree/main/vulns/magique/PYSEC-2026-592.yaml ↗
- 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-packages ↗
- https://github.com/advisories/GHSA-qmjc-65wp-7v34 ↗