Skip to main content
MalwarePublished

magique (PyPI) · Malicious Code

Affects magiqueSource GCVE Database

0

Malicious package : remove magique and rotate any secrets on hosts that installed it.

Data as of 2 Dec 2026, 21:16 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
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

What to do

Remove magique from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPImagiqueAffected
  • =0.6.8
Fixed in–
PyPImagiqueAffected
  • =0.6.9
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Malicious phantom releases of the Python package 'magique' were published to PyPI on 2026-06-08 as part of the 'Hades' wave of the Shai-Hulud supply-chain campaign. These releases (versions 0.6.8 and 0.6.9) execute a bundled JavaScript payload via the Bun runtime upon import, which harvests and exfiltrates credentials and attempts self-propagation. The behavior is partially characterized and linked references provide further analysis and indicators of compromise.

References

Community reviews

Loading reviews…