—
PYSEC-2026-579
Malicious 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.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
PyPI / cmd2func
No fixed version published yet for cmd2func (pip). Pin to a known-safe version or switch to an alternative.
참고
- 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]