MAL-2026-21150: Malicious code in colook (PyPI)

Published Dec 4, 2026
·
Updated

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

Source: kam193 (3ce892cad1b570d6213d4ddfb5f8cc0932acc1ab945696e5ff8060fd8f831a43) This campaign consists of package pairs. One of them carries a malicious payload in the native module, which the other one loads. Malcious packages drop PTH files to ensure persistence.

Package first discovered by Island.io.

---

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

Campaign: 2026-11-tesec

Reasons (based on the campaign):

- The malicious code is intentionally included in a dependency of the package

- malware

- native-extension

- abuses-pth

- persistence

Affected Software

1 affected component
pip/colook=1.1.3

Event History

Dec 4, 2026
Advisory Published
via OSV·09:16 PM
Data Sourced
via OSV·09:16 PM
DescriptionAffected Software

Frequently Asked Questions

1

What package relationship should responders investigate?

The campaign uses package pairs: one package contains the malicious payload in a native module, and the other package loads that module. Investigations should account for both the package containing the native payload and its loader package.

2

What persistence mechanism should be checked during incident response?

The malicious packages drop PTH files to establish persistence. Review Python environment and site-packages locations for unexpected PTH files associated with the affected installation.

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