Malicious code in dstill (PyPI)
Description
The PyPI package 'dstill' version 0.3.0 contains malicious code disguised as a Roblox DataStore library. Upon import, it executes a multi-stage Windows infostealer that steals Roblox cookies and Discord tokens by decrypting stored credentials and exfiltrates them to hardcoded endpoints. It also kills Discord processes to facilitate token theft and installs persistence mechanisms using Windows Defender exclusions and scheduled tasks with Microsoft-lookalike paths to evade detection. The package includes Russian/Ukrainian comments indicating stealth and anti-AV intent.
Affected software
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
Technical Analysis
The 'dstill' PyPI package version 0.3.0 executes a multi-stage Windows infostealer when imported. It reads and decrypts Roblox cookies from local storage and exfiltrates them to a Discord webhook and a Google Apps Script endpoint. It forcibly terminates Discord processes, enumerates multiple Discord clients and Chromium-based browsers plus Firefox profiles, decrypts stored tokens using DPAPI master keys, validates them via the Discord API, and exfiltrates valid tokens to the same endpoints. Persistence is established by copying the malware to a MicrosoftSecurityWorker folder with Windows Defender exclusion and creating a scheduled task named 'WindowsSecurityUpdate' to run at logon. The malware uses Microsoft-lookalike file paths and Russian/Ukrainian comments to evade detection and target Roblox developers.
Potential Impact
This malicious package compromises user privacy and security by stealing Roblox cookies and Discord tokens, enabling unauthorized access to user accounts and potentially further abuse. The persistence mechanism and AV evasion techniques increase the difficulty of detection and removal, posing a significant risk to affected systems.
Defensive Guidance
No official patch or remediation is currently documented. Users should immediately uninstall the 'dstill' package version 0.3.0 and avoid using this package. Conduct thorough endpoint scans for persistence artifacts such as the 'WindowsSecurityUpdate' scheduled task and the MicrosoftSecurityWorker folder. Remove any detected malicious files and scheduled tasks. Monitor for suspicious network traffic to the identified exfiltration endpoints. Follow vendor advisories if they become available for updated remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5345
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6a9053d7acd9273b49695f0e
Added to database: 08/27/2026, 15:12:23 UTC
Last enriched: 09/10/2026, 08:08:27 UTC
Last updated: 10/04/2026, 05:50:25 UTC
Views: 34
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.