PYSEC-2026-583
PYSEC-2026-583 · Malicious code in nhmpy (PyPI)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of nhmpy were published to PyPI using stolen credentials. The package executes a bundled JavaScript payload (via the Bun runtime) on import that harvests and exfiltrates credentials and attempts self-propagation. This entry is a summary; behavior may not be fully characterized here. See the linked references for detailed analysis and indicators of compromise.
- Published
- Updated
Stack: python
Affected products and versions
nhmpy PyPI
- Versions
- 2.4.6
- 2.4.7
No fix published
Original sources
- https://inspector.pypi.io/project/nhmpy/2.4.7/packages/ca/a3/521ed09bd244da54e05fd9ed4eac9422dcb96d1c1af267bcabdd370f2533/nhmpy-2.4.7-py3-none-any.whl//nhmpy-setup.pth
- https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages
- https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages
- https://osv.dev/vulnerability/PYSEC-2026-583