funcdesc (PyPI) · Malicious Code
Affects funcdescSource GCVE Database
Malicious package : remove funcdesc and rotate any secrets on hosts that installed it.
Data as of 2 Dec 2026, 00:18 UTC
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NWhat to do
Remove funcdesc from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIfuncdesc | Affected
| Fixed in– |
| PyPIfuncdesc | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Malicious phantom releases of the Python package 'funcdesc' were published to PyPI on 2026-06-08 as part of the 'Hades' wave of the Shai-Hulud supply-chain campaign. These releases (versions 0.2.2 and 0.2.3) execute a bundled JavaScript payload via the Bun runtime upon import, which harvests and exfiltrates credentials and attempts self-propagation. The full behavior may not be completely characterized in this summary.
References
- github.com/Nanguage/funcdesc (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/funcdesc/PYSEC-2026-591.yaml (opens in a new tab)
- inspector.pypi.io/project/funcdesc/0.2.3/packages/ee/07/a3a5d522d90245b00ba11d6f40608c46ce63b4dad69e51f1a197323c4053/funcdesc-0.2.3-py3-none-any.whl//funcdesc-setup.pth (opens in a new tab)
- endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages (opens in a new tab)
- stepsecurity.io/blog/the-hades-campaign-pypi-packages (opens in a new tab)