MAL-2026-20379: Malicious code in torchserve-cu124-nightly (PyPI)
--- -= Per source details. Do not edit below this line.=-
Source: kam193 (29dd901e316b06a70ab1b47324bc301bc2264bedd655ebfee623ba2d415a1b79) Package is a dropper pretending to install a torchserve binary. During loading as a module, it downloads and executes a remote file - though in the analyzed version, the remote file was empty, suggesting it waits for weaponization.
---
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-11-torchserve-cu124-nightly
Reasons (based on the campaign):
- Downloads and executes a remote executable.
Affected Software
Event History
Frequently Asked Questions
What action triggers the malicious behavior?
The package downloads and executes a remote file when it is loaded as a module. Installing or using it in a way that imports the package may trigger the behavior.
What is known about the downloaded payload?
In the analyzed version, the remote file was empty. The package nevertheless contains downloader-and-execution behavior, indicating it could receive a weaponized remote payload later.
How can I determine whether an environment is affected?
Check whether the PyPI package torchserve-cu124-nightly is present in pip-managed environments, dependency manifests, lock files, build artifacts, or package-install logs. Environments that loaded the package as a module should be treated as having potentially executed its remote-download behavior.