---
id: MAL-2026-11520
title: Malicious code in psbt-utils (PyPI)
summary: Malicious code in psbt-utils (PyPI)
severity: none
vendor: psbt-utils
product: psbt-utils
ecosystem: pip
affected:
  - psbt-utils
published: '2026-08-04'
updated: '2026-08-04'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-11520'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/psbt-utils'
tags:
  - osv
  - pip
ingestedAt: '2026-08-04T19:12:34.606Z'
---

## Overview


---
_-= Per source details. Do not edit below this line.=-_

## 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


## Affected packages

- `psbt-utils`

## Remediation

Refer to the advisory for the patched release.
