Skip to main content

Malicious code in spaysdatarbx (PyPI)

0
Critical
Published: 06/08/2026 (06/08/2026, 13:43:18 UTC)
Source: GCVE Database
Product: spaysdatarbx

Description

The spaysdatarbx package on PyPI is a malicious Windows infostealer disguised as a Roblox DataStore library. Upon import, it silently executes code that steals Roblox session cookies and browser-stored Discord tokens by decrypting them using Windows DPAPI and sends this data to a hardcoded Discord webhook. It also forcibly terminates Discord to access locked tokens and establishes persistence by copying itself to the user's AppData folder and creating a registry autostart entry. The package contains no legitimate Roblox DataStore functionality and is purely designed for credential theft and persistence.

Affected software

PyPIghsa
spaysdatarbx
Affected versions
=0.1.3=0.1.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 08:08:47 UTC

Technical Analysis

The spaysdatarbx PyPI package masquerades as a Roblox DataStore library but contains malicious code that executes on import. It reads and decrypts Roblox session cookies from the local storage file and exfiltrates them to a hardcoded Discord webhook URL. It enumerates profile directories of multiple browsers and Discord, forcibly terminates Discord to release locked files, decrypts stored Discord authentication tokens using DPAPI, and sends these tokens to the same webhook. The malware establishes persistence by copying itself to %APPDATA%\MySystemUtility\ and adding a registry Run key to relaunch on user login, hiding its console window. The package versions 0.1.3 and 0.1.5 are affected. There is no legitimate DataStore functionality present.

Potential Impact

Any user who installs and imports the spaysdatarbx package on a Windows machine risks having their Roblox session cookies and all browser-stored Discord tokens stolen and sent to an attacker-controlled Discord webhook. This compromises the victim's Roblox account and Discord accounts accessible via stored tokens. The malware also establishes persistence to continue stealing data on subsequent logins. This leads to account takeover and potential further abuse of compromised accounts.

Defensive Guidance

Users should immediately uninstall the spaysdatarbx package and avoid installing packages from untrusted sources. Since no official patch or fix is available, removal of the malicious package and cleanup of persistence mechanisms (the copied files in %APPDATA%\MySystemUtility\ and the registry Run key) is required. Users should also reset their Roblox and Discord credentials and revoke any active sessions or tokens. Monitor for suspicious activity on affected accounts. Avoid importing unknown or suspicious Python packages.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5329
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a9053d7acd9273b49695f08

Added to database: 08/27/2026, 15:12:23 UTC

Last enriched: 09/10/2026, 08:08:47 UTC

Last updated: 10/01/2026, 22:07:20 UTC

Views: 24

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses