pypi · Malicious package advisory
Malwarenwin32tls
GHSA-mvhq-crx4-r8q7
Malicious code in nwin32tls (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (a47778618cad57dbc584afdff7ed138032b69c423a9812e1bc8f86c13129f01d) Importing the module starts a loop that listens to key strokes and on every capslock press exfiltrates screenshot to a hardcoded location. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-04-old-nwin32tls Reasons (based on the campaign): - spyware-like --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/nwin32tls/MAL-2026-2431.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/nwin32tls - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/nwin32tls/MAL-2026-2431.json - https://github.com/advisories/GHSA-mvhq-crx4-r8q7
Compromised versions (1)
- = 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.