Skip to content
OpenAdvisories
Malicious MAL-2026-1089

randomstringgen

PyPI package · versions 0.1, 0.2, 0.3, 0.4

Reported Feb 28, 2026 · Updated Feb 28, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

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