{"id":"PYSEC-2026-583","summary":"Malicious code in nhmpy (PyPI)","details":"Part of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,\nmalicious phantom releases of nhmpy 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-5302"],"modified":"2026-06-29T21:00:05.091355892Z","published":"2026-06-29T16:24:09Z","references":[{"type":"EVIDENCE","url":"https://inspector.pypi.io/project/nhmpy/2.4.7/packages/ca/a3/521ed09bd244da54e05fd9ed4eac9422dcb96d1c1af267bcabdd370f2533/nhmpy-2.4.7-py3-none-any.whl//nhmpy-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-packages"}],"affected":[{"package":{"name":"nhmpy","ecosystem":"PyPI","purl":"pkg:pypi/nhmpy"},"versions":["2.4.6","2.4.7"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/nhmpy/PYSEC-2026-583.yaml"}}],"schema_version":"1.7.5"}