Skip to content

MAL-2026-99 Malicious code in testingpy (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: kam193 (577f9c1cdb7d3ef0e010cc9e292142a11f3a84a9f1ed42f238a920e7e9617b35)

Package clones a legitimate library and adds a hidden code that downloads a malicious script. The script then downloads an archive with malicious executable in the version appropriate to the system architecture, and ensures persistency by adding automatically started service entries. The remote code is a Go-based inforstealer and backdoor previously attributed to Northkorean cybercrime activities. In this campaign, the malicious code is not immediately introduced in the typosquatted package, but added with an update.

Besides an infostealer, the package modifies the cloned Bittensor library to collect keys.


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

Campaign: 2026-01-gztensor-cli

Reasons (based on the campaign):

  • crypto-related

  • action-hidden-in-lib-usage

  • Downloads and executes a remote executable.

  • clones-real-package

  • peristence-autorun

  • typosquatting

  • obfuscation

  • backdoor

  • infostealer

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi testingpy(PyPI) = 0.1.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi testingpy(PyPI) = 0.1.3 No fix listed

References