Skip to content

MAL-2026-13686 Malicious code in chaintest (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: amazon-inspector (9567c10f25971b44c76d2a2609ce347c2d03d4d600520cd4bfc75a5001552c3c)

chaintest 0.1.0 on PyPI could not be fully characterized from the available artifacts. No concrete a static rule matches and no traced code evidence are available to identify a specific installer-harm mechanism (no named exfiltration endpoint, no install-time fetch-and-execute path, no credential-read path, no lifecycle-script behavior) in this record. Without a specific observed behavior to cite, the package's disposition is unresolved.

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

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi chaintest(PyPI) = 0.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi chaintest(PyPI) = 0.1.0 No fix listed

References