PYSEC-2026-1068
Not scored
Malicious code in dreamgen (PyPI)
- Severity
- Not scored
- Published
- Last changed
- Also known as
- MAL-2026-5313
Description
Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of dreamgen 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dreamgen (PyPI) | 1.8.1 | PyPA Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| PyPA Advisory Database | PYSEC-2026-1068 changed 2026-07-07 | CC-BY-4.0 |