VYPR

pypi · Malicious package advisory

Malware

spaysrbx

MAL-2026-5334

Malicious code in spaysrbx (PyPI)

Details


---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (d4bae51ef6cd61eb9bfc38ac2d8dd8ad1f38d22c4e55b8ccdfc53cd2ed94076f)
On `import spaysdata`, the package's `__init__.py` invokes `main_entry()` in `spaysdata/main.py`, which performs three attacker-benefit actions automatically: (1) reads `%USERPROFILE%/AppData/Local/Roblox/LocalStorage/robloxcookies.dat`, decrypts it via `win32crypt.CryptUnprotectData`, and POSTs the cleartext Roblox session cookies to a hardcoded Discord webhook (`discord.com/api/webhooks/1513603677913616544/...`); (2) enumerates Discord, Discord Canary, Lightcord, Chrome, Edge, Brave, Yandex, Opera, and Firefox profile directories, decrypts dQw4w9WgXcQ-encrypted tokens using DPAPI + AES-GCM, kills `Discord.exe` via `taskkill`, and POSTs each token plus user info to the same webhook; (3) copies the running file to `%APPDATA%/MySystemUtility/` and writes `HKCU\Software\Microsoft\Windows\CurrentVersion\Run\MyPythonAutostartApp` to re-execute the stealer on each user login, with the console window hidden via `ShowWindow(0)`. The package's advertised purpose (`pyproject.toml` description: "Library for working with DataStore in Roblox") is a cover story — no DataStore functionality exists in the source; only credential-theft and persistence code is shipped.

## Source: kam193 (21c6a7c2bf656df8e570edbe60daa7af52e1e0df0eae906de41f47dcf6eb0ede)
The package exfiltrates Roblox cookies from the victim machine.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-06-spaysrbdata


Reasons (based on the campaign):


 - infostealer

Compromised versions (1)

  • 0.3.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.