MAL-2026-21150: Malicious code in colook (PyPI)
--- -= 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
Event History
Frequently Asked Questions
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.
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.