MAL-2026-20379: Malicious code in torchserve-cu124-nightly (PyPI)

Published Nov 23, 2026
·
Updated

--- -= 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

1 affected component
pip/torchserve-cu124-nightly=0.12.1.dev20241119

Event History

Nov 23, 2026
Advisory Published
via OSV·06:25 PM
Data Sourced
via OSV·06:25 PM
DescriptionAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203