Malicious code in basic-crypt (PyPI)
- MAL-2026-21149
Summary
The malicious package basic-crypt on PyPI is flagged as malicious code, categorized as having clearly malicious intent such as infostealers. It is part of a campaign built on package pairs, where one package contains a malicious payload in a native module and the other loads it. The packages drop PTH files to achieve persistence. The malicious code is intentionally included as a dependency of the package. The record was first discovered by Island.io and is attributed to the campaign 2026-11-tesec. No CVSS score is assigned, and the record states the issue is not on the CISA known exploited vulnerabilities list.
AI summary · verify against the vendor advisory
Description
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
Text from the OSV record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
basic-cryptPyPI
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.