Malicious code in queeuees (PyPI)
Description
The PyPI package 'queeuees' version 0.0.1 contains obfuscated malicious code that executes at import time. The package ships two similarly named top-level packages with identical payloads that decode and execute hidden code via complex byte transformations. This code modifies the system by iterating over Python files and adding comments without user consent. The package metadata misleads users by advertising itself as a basic calculator. The obfuscation and unauthorized system modifications indicate clear malicious 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 'queeuees' PyPI package version 0.0.1 includes two top-level packages, 'Queeuees' and 'Queues', each with identical obfuscated __init__.py files. These files assemble a byte payload through multiple transformations including bit-rotation, XOR keystream, seeded Fisher-Yates shuffle, inverse S-box, and LCG XOR stages. The decoded payload is executed at import time using builtins.exec, triggered by a descriptor __set_name__ hook during class definition. The code uses homoglyph-style identifiers and misleading labels to disguise its true purpose. The malicious payload iterates over system files and modifies every Python (.py) file by adding comments, thus altering the system without user consent. The package's name and metadata are designed to catch typos and mislead users about its functionality.
Potential Impact
The malicious code executes automatically upon importing the package, leading to unauthorized modification of Python source files on the system. This behavior can compromise code integrity, potentially enabling further malicious activities or disrupting normal operations. The obfuscation and execution at import time increase the risk of unnoticed infection in development environments.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately uninstall the 'queeuees' package version 0.0.1 and avoid installing similarly named packages such as 'Queues'. Review and restore any modified Python files from trusted backups. Exercise caution with packages that have suspicious names or obfuscated code. Monitor PyPI for updates or vendor advisories regarding this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17286
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6ac80f0a2cdf04f6563903d5
Added to database: 10/08/2026, 21:45:46 UTC
Last enriched: 10/08/2026, 21:49:32 UTC
Last updated: 10/08/2026, 21:49:32 UTC
Views: 3
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.