VYPR

pypi · Malicious package advisory

Malware

psbt-utils

GHSA-3crg-h67f-c6r9

Malicious code in psbt-utils (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (5424e50d87f8c14eb7d0d37d4c98e86a1c06fb3613a66fd9af2e9ab6fd611938)
The code advertised as a firmware upgrader for hardware wallets in fact downloads an infostealer. The stealer searches the machine for cryptocurrency sensitive data (wallet files, seeds), browser data (passwords, cookies), all kinds of credentials (including tokens, passwords, SSH keys, TOTP seeds etc.), other sensitive files and current clipboard content. Data are exfiltrated, and the stealer configures persistence via scheduled tasks or LaunchAgent. The code deliberatly doesn't start in CI environments and checks if the system looks real.

Continuation of 2026-08-coldcard-helpers campaign.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-08-psbt-utils


Reasons (based on the campaign):


 - infostealer


 - crypto-related


 - exfiltration-browser-data


 - exfiltration-crypto


 - exfiltration-credentials


 - obfuscation


 - Downloads and executes a remote malicious script.


 - files-exfiltration


 - exfiltration-cloud-tokens


 - clipboard-stealing


 - persistence


 - exfiltration-ssh-keys

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0a261c6a5cb01161491fcb56150cb8da1a389fc4/osv/malicious/pypi/psbt-utils/MAL-2026-11520.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/psbt-utils
- https://github.com/ossf/malicious-packages/blob/0a261c6a5cb01161491fcb56150cb8da1a389fc4/osv/malicious/pypi/psbt-utils/MAL-2026-11520.json
- https://github.com/advisories/GHSA-3crg-h67f-c6r9

Compromised versions (1)

  • = 1.0.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.