{"id":"PYSEC-2026-592","aliases":["PYSEC-2026-592","MAL-2026-5296"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious code in magique (PyPI)","summary":"Part of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,\nmalicious phantom releases of magique were published to PyPI using stolen\ncredentials. The package executes a bundled JavaScript payload (via the Bun\nruntime) on import that harvests and exfiltrates credentials and attempts\nself-propagation. This entry is a summary; behavior may not be fully\ncharacterized here. See the linked references for detailed analysis and\nindicators of compromise.","summaryFormat":"markdown","summarySource":"pysec","descriptions":[{"lang":"en","text":"Part of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,\nmalicious phantom releases of magique were published to PyPI using stolen\ncredentials. The package executes a bundled JavaScript payload (via the Bun\nruntime) on import that harvests and exfiltrates credentials and attempts\nself-propagation. This entry is a summary; behavior may not be fully\ncharacterized here. See the linked references for detailed analysis and\nindicators of compromise.","format":"markdown","source":"pysec"}],"published":"2026-06-30T20:41:59.000Z","modified":"2026-07-01T12:45:04.750Z","severities":[],"cwes":[],"affected":[{"ranges":[{"version":"0.6.8","status":"affected"},{"version":"0.6.9","status":"affected"}],"ecosystem":"PyPI","package":"magique","purl":"pkg:pypi/magique","source":"pysec"}],"references":[{"url":"https://inspector.pypi.io/project/magique/0.6.9/packages/fb/cf/376a097f8893ac5c63e3d067b233bf16de9e3c980d8da0ac887a5619b297/magique-0.6.9-py3-none-any.whl//magique-setup.pth","tags":["evidence"],"sources":["pysec"]},{"url":"https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages","tags":["article"],"sources":["pysec"]},{"url":"https://www.stepsecurity.io/blog/the-hades-campaign-pypi-pack","tags":["article"],"sources":["pysec"]}],"credits":[],"sources":[{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-592","url":"https://osv.dev/vulnerability/PYSEC-2026-592","licence":"CC-BY-4.0","modified":"2026-07-01T12:45:04.750Z"}],"updatedAt":"2026-11-25T22:56:40.842Z"}