{"id":"PYSEC-2026-232","summary":"Malicious code in ensmallen (PyPI)","details":"Part of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,\nmalicious phantom releases of ensmallen 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-5315"],"modified":"2026-06-26T23:11:30.590823Z","published":"2026-06-24T14:01:10Z","references":[{"type":"EVIDENCE","url":"https://inspector.pypi.io/project/ensmallen/0.8.101/packages/53/bf/6210699d6165e632ebad20175808bf71e4a09a48dab3a1e0a4c002d8cc5b/ensmallen-0.8.101-py3-none-any.whl/ensmallen/_index.js"},{"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-packages"}],"affected":[{"package":{"name":"ensmallen","ecosystem":"PyPI","purl":"pkg:pypi/ensmallen"},"versions":["0.8.101"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/ensmallen/PYSEC-2026-232.yaml"}}],"schema_version":"1.7.5"}