Skip to main content

Malicious code in spaysrbx (PyPI)

0
Critical
Published: 06/08/2026 (06/08/2026, 20:47:35 UTC)
Source: GCVE Database
Product: spaysrbx

Description

The spaysrbx PyPI package version 0.3.0 contains malicious code that steals Roblox session cookies and Discord tokens from infected Windows machines. Upon import, it exfiltrates these credentials to a hardcoded Discord webhook, kills Discord processes to facilitate token theft, and establishes persistence by copying itself and setting a registry autorun key. The package falsely advertises itself as a Roblox DataStore utility but contains no legitimate functionality.

Affected software

PyPIghsa
spaysrbx
Affected versions
=0.3.0

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:59 UTC

Technical Analysis

The spaysrbx package (version 0.3.0) on PyPI is a malicious package masquerading as a Roblox DataStore library. Its __init__.py triggers a main_entry() function that performs three attacker-benefit actions: (1) reads and decrypts Roblox cookies from the user's local storage and sends them to a Discord webhook; (2) enumerates multiple browser and Discord profile directories, decrypts stored tokens using Windows DPAPI and AES-GCM, terminates Discord.exe processes, and exfiltrates the tokens and user info to the same webhook; (3) copies itself to %APPDATA%/MySystemUtility/ and sets a registry autorun key to maintain persistence with a hidden console window. No legitimate DataStore functionality exists in the source code.

Potential Impact

This malicious package compromises user credentials by stealing Roblox session cookies and Discord tokens, enabling attackers to hijack user accounts and potentially perform unauthorized actions. The persistence mechanism allows the malware to survive reboots and maintain ongoing access to victim machines. The stealthy nature of the attack, including hidden execution and process termination, increases the risk of prolonged undetected compromise.

Defensive Guidance

No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing or using spaysrbx version 0.3.0. Remove any installations of this package immediately. Investigate and revoke any compromised Roblox and Discord credentials. Monitor for suspicious activity on affected accounts. Employ endpoint security solutions to detect and block similar malicious behaviors.

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-5334
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a9053d7acd9273b49695eff

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

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

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

Views: 27

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