cvelo
P2 · HighMalware

Malicious code in basic-crypt (PyPI)

  • GHSA-6433-wpvf-g5qv

Summary

The GitHub advisory GHSA-6433-wpvf-g5qv describes malicious code published under the name basic-crypt on PyPI, classified as malicious rather than vulnerable. It is part of a campaign of package pairs in which one package contains a malicious payload in a native module that the other package loads. The packages drop PTH files to establish persistence. The record was first discovered by Island.io and is credited to OpenSSF's malicious-packages project. No CVSS score is listed and the advisory does not appear in the CISA known exploited vulnerabilities list. Engineers should check whether basic-crypt or its paired dependency is present in their Python environments and remove it if found.

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 --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/443144107efee2e95d145ce3d295fe997882d210/osv/malicious/pypi/basic-crypt/MAL-2026-21149.json))

Text from the GitHub Advisory 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

  1. Published

Related news

No article from the followed outlets names this vulnerability.