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

## Overview


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

## Source: kam193 (4923d010301ea929207d0a1c87e876ca24203fdff90bad313efc3df58879555a)
The package contains a cryptocurrency infostealer that exfiltrates information from browsers (including cryptowallet extensions, synced extensions, local storage) and standalone applications (password managers, cryptowallets). The code achieves persistence via different methods on different platforms, and runs a keylogger that modifies the copied cryptocurrency addresses with addresses controlled by the attacker. Malicious code is also prepared to retrieve commands to execute from C2, exfiltrate SSH keys, and install malicious extensions in browsers.

The code shares some similarities with campaign 2026-07-cognikit attributed to the DPRK "Contagious Interview" campaign.


---

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


Campaign: 2026-08-chaintest


Reasons (based on the campaign):


 - infostealer


 - clipboard-stealing


 - dependency-confusion


 - crypto-related


 - keylogger


 - exfiltration-browser-data


 - exfiltration-crypto


 - clipboard-modify


 - persistence


 - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.


 - exfiltration-ssh-keys


 - files-exfiltration


 - rat


## Affected packages

- `chaintest`

## Remediation

Refer to the advisory for the patched release.
