Skip to content

Malicious code in chaintest (PyPI)

Malware Published Aug 10, 2026 to the GitHub Advisory Database • Updated Aug 10, 2026

Package

pip chaintest (pip)

Affected versions

= 0.1.0

Patched versions

None

Description

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


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Aug 10, 2026
Reviewed Aug 10, 2026
Last updated Aug 10, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-6qc6-vp88-49gp

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.