MAL-2026-21039: Malicious code in update-packages (PyPI)

Published Dec 3, 2026
·
Updated

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

Source: kam193 (57a382bc3279e2deca3a796019d30a1f2278c652a063cd5a44381ee741aec2ff) Disguised as a math library, the package delivers code functionality for executing remote code. It is a continuation of previously removed packages.

---

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

Campaign: 2026-11-alogithms

Reasons (based on the campaign):

- obfuscation

- abuses-pth

Affected Software

1 affected component
pip/update-packages=1.0.1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:15 AM
Data Sourced
via OSV·10:15 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which environments should be prioritized for investigation?

Prioritize Python environments where the update-packages package was installed through pip. The package is associated with a malicious campaign and includes functionality intended to execute remote code.

2

What characteristics of the malicious package are known?

The package was disguised as a math library and is described as a continuation of previously removed packages. Campaign indicators include obfuscation and abuse of .pth files.

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