Malicious Code Detected in dzuseragents Package - Remote Executable Download and Autostart
Summary
MAL-2026-899: Malicious code in dzuseragents (PyPI). Affects dzuseragents versions 0.0.1 – 0.0.2. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The dzuseragents package, available on PyPI, is designed to manage user agent strings for web requests. However, it has been compromised to include malicious functionality that allows it to download and execute a remote executable, posing significant security risks to users. This package is intended for developers looking to customize user agent strings but has been exploited for malicious purposes.
Vulnerability Detail
The dzuseragents package contains malicious code that downloads an executable from a remote server and adds it to the system's autostart. This executable takes screenshots periodically and sends them to a Discord channel, effectively acting as spyware. The vulnerability originates from the package's source code, which has been modified to include these harmful actions, leading to potential data breaches and unauthorized access to user information.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall dzuseragents
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, users can monitor their system for any unauthorized applications that may have been installed by the dzuseragents package. Additionally, users should check their autostart applications and remove any suspicious entries.
Conclusion
The dzuseragents package has been compromised with malicious code that poses serious security risks. Users are strongly advised to uninstall the package and monitor their systems for any unauthorized changes. Stay informed about updates and patches to ensure the security of your applications.
See every vulnerability recorded for dzuseragents →
FAQ
dzuseragents is a Python package that manages user agent strings for web requests, allowing developers to customize how their applications interact with web servers.
The vulnerability allows the package to download and execute a remote executable, which can take screenshots and send them to a Discord channel, compromising your privacy and security.
You should uninstall the dzuseragents package immediately and monitor your system for any unauthorized applications or changes.
As of now, there is no patched version available. Users are advised to uninstall the package until a secure version is released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.