{"id":"PYSEC-2026-593","summary":"Malicious code in magique-ai (PyPI)","details":"Part of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,\nmalicious phantom releases of magique-ai 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.\n","aliases":["MAL-2026-5294"],"modified":"2026-07-01T12:45:04.700675390Z","published":"2026-06-30T21:06:38Z","references":[{"type":"EVIDENCE","url":"https://inspector.pypi.io/project/magique-ai/0.4.5/packages/33/51/f36b85977bd09b12a88aff94531b608659312497c8856b73353603f11405/magique_ai-0.4.5-py3-none-any.whl//magique_ai-setup.pth"},{"type":"ARTICLE","url":"https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages"},{"type":"ARTICLE","url":"https://www.stepsecurity.io/blog/the-hades-campaign-pypi-pack"}],"affected":[{"package":{"name":"magique-ai","ecosystem":"PyPI","purl":"pkg:pypi/magique-ai"},"versions":["0.4.4","0.4.5"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/magique-ai/PYSEC-2026-593.yaml"}}],"schema_version":"1.7.5"}