pypi · Malicious package advisory
Malwarerandomstringgen
MAL-2026-1089
Malicious code in randomstringgen (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (9fc95ea566ad1938f7f75123eee2d8b3365bf55f06d7aa8a5f569f5e4c696132) Using the provided function results in exfiltrating the current running file (likely the user's script) to the hardcoded location. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-old-randomstringgen Reasons (based on the campaign): - files-exfiltration - action-hidden-in-lib-usage
Compromised versions (4)
- 0.1
- 0.2
- 0.3
- 0.4
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.