Malicious Code Vulnerability in legendevil1 Package
Summary
MAL-2026-256: Malicious code in legendevil1 (PyPI). Affects legendevil1 versions 1.0.0. 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 legendevil1 package, available on PyPI, is designed to facilitate the downloading and execution of scripts. However, it has been identified as malicious, with the capability to download and execute harmful executables from remote locations. This poses a significant risk to users who may unknowingly install this package, leading to potential data breaches and system compromises.
Vulnerability Detail
The vulnerability originates from the package's inherent design, which allows it to download and execute remote scripts and executables. Specifically, the package is associated with a malicious campaign (2025-12-pdatainstaller) that aims to install malware on users' systems. The technical aspects include the ability to execute arbitrary code from untrusted sources, which can lead to severe consequences such as data theft, system damage, or unauthorized access to sensitive information.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall legendevil1
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 should refrain from installing the legendevil1 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, monitoring tools like Vulert can be employed to keep track of vulnerabilities in open-source packages.
Conclusion
The legendevil1 package poses a significant security risk due to its malicious capabilities. Users are strongly advised to uninstall the package and monitor their systems for any signs of compromise. Utilizing tools like Vulert can help in identifying and managing vulnerabilities in open-source software.
See every vulnerability recorded for legendevil1 →
FAQ
legendevil1 is a Python package available on PyPI that is designed to download and execute remote scripts.
The package is known to download and execute malicious executables and scripts, potentially compromising user systems.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed legendevil1, you should uninstall it immediately and monitor your system for any unusual activity.
Yes, there are several alternative packages available on PyPI that offer similar functionalities without the associated risks.