PYSEC-2026-579
not scored yetMalicious code in cmd2func (PyPI)
Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,
malicious phantom releases of cmd2func 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
- 29 Jun 2026
- Last modified
- 29 Jun 2026
- Also known as
- MAL-2026-5290
- Sources
- OSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | cmd2func | = 0.2.2, 0.2.3 |
References
- https://inspector.pypi.io/project/cmd2func/0.2.3/packages/c4/3f/73499e767180eb8a29905f1d69a13642325c9724beabb84f425a8c622de7/cmd2func-0.2.3-py3-none-any.whl//cmd2func-setup.pth · 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
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)