# PYSEC-2026-232: Malicious code in ensmallen (PyPI)

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-24T14:01:10.000Z
- Modified: 2026-06-26T23:11:30.590Z
- Also known as: MAL-2026-5315

## Description

Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,
malicious phantom releases of ensmallen 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.

(As written by PyPA Advisory Database.)

## Affected

- ensmallen (PyPI): 0.8.101

## References

- <https://inspector.pypi.io/project/ensmallen/0.8.101/packages/53/bf/6210699d6165e632ebad20175808bf71e4a09a48dab3a1e0a4c002d8cc5b/ensmallen-0.8.101-py3-none-any.whl/ensmallen/_index.js> (exploit, evidence)
- <https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages> (article)
- <https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages> (article)

## Sources

- PyPA Advisory Database: [PYSEC-2026-232](https://osv.dev/vulnerability/PYSEC-2026-232), CC-BY-4.0, modified 2026-06-26

---

Page: https://cve.day/PYSEC-2026-232 · Whole record: https://cve.day/PYSEC-2026-232.json · Rebuilt by cve.day 2026-11-25T22:56:38.840Z
