VYPR

pypi · Malicious package advisory

Malware

win32str

GHSA-3g3w-7r8r-m4j7

Malicious code in win32str (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: kam193 (afe91149c788d349c6c0d31487fb417ce5fabc059b447dc4289b1e74f2cd161c)
Research packages targeting typosquatting and dependency confusions, without really harmful behaviour - just calling home through DNS resolver. 

Related to 2025-06-stubsout (using the same remote domain), but without dangerous activity


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: 2025-06-diar-ai-basic


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - typosquatting

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/win32str/MAL-2025-191935.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/win32str
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/win32str/MAL-2025-191935.json
- https://github.com/advisories/GHSA-3g3w-7r8r-m4j7

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.