pypi · Malicious package advisory
Malwarewisecloudsecrets
GHSA-pg5q-q67h-f3wg
Malicious code in wisecloudsecrets (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.4.0` ## Source: kam193 (e4ed4357b3e8038ef404e043cc63aafe6484b20d94267c4f024a27d840a4a2fc) During import, only in specific environments, a module containing code disguised as telemetry is imported. This code then exfiltrates sensitive environment variables and cloud tokens to a hardcoded location, as well as starts a job listening for commands to execute. Likely dependency confusion attempts --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-amigapythonupdater Reasons (based on the campaign): - exfiltration-generic - exfiltration-env-variables - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - dependency-confusion --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/wisecloudsecrets/MAL-2026-1143.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/wisecloudsecrets - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/wisecloudsecrets/MAL-2026-1143.json - https://github.com/advisories/GHSA-pg5q-q67h-f3wg
Compromised versions (1)
- = 1.4.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.