Skip to content

Malicious code in spaysrbx (PyPI)

Malware Published Jul 21, 2026 to the GitHub Advisory Database • Updated Aug 27, 2026

Package

pip spaysrbx (pip)

Affected versions

= 0.3.0

Patched versions

None

Description

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

Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Jul 21, 2026
Reviewed Jul 21, 2026
Last updated Aug 27, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-wrpj-g4pq-w958

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.