Critical Malicious Code Vulnerability in evil-rce2 Package

evil-rce2 Updated 06 Dec 2025

Summary

06/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192362: Malicious code in evil-rce2 (PyPI). Affects evil-rce2 versions 1.0.0. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The evil-rce2 package, available on PyPI, is designed for remote code execution tasks. However, it has been identified to contain malicious code that creates a reverse shell, allowing attackers to execute arbitrary commands on the victim's machine. This vulnerability poses a significant risk to users who inadvertently install this package, as it can lead to unauthorized access and control over their systems.

Vulnerability Detail

The vulnerability originates from the malicious intent embedded in the evil-rce2 package, specifically designed to establish a reverse shell upon execution. This allows an attacker to gain control over the victim's machine, execute commands, and potentially compromise sensitive data. The malicious code was reported by Kamil Mańkowski and is categorized under the 2025-12-evil-rce campaign, indicating a clear threat to users of this package.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall evil-rce2

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

There are no specific workarounds to mitigate the effects of this vulnerability. The best course of action is to ensure that the evil-rce2 package is not installed on your system. Regularly monitor your environment for any unauthorized installations.

Conclusion

The evil-rce2 package poses a serious security risk due to its malicious code that creates a reverse shell. Users are strongly advised to uninstall this package immediately and monitor their systems for any unauthorized changes. Utilizing tools like Vulert can help in identifying and managing vulnerabilities in your software.

See every vulnerability recorded for evil-rce2 →

Share this vulnerability

FAQ

The evil-rce2 package is a Python package available on PyPI that is intended for remote code execution tasks but has been found to contain malicious code.

The vulnerability allows an attacker to establish a reverse shell, giving them the ability to execute commands on your machine without your consent.

You should immediately uninstall the evil-rce2 package using the command pip uninstall evil-rce2 to protect your system from potential attacks.

Currently, there is no patched version of the evil-rce2 package available. It is advised to avoid using this package entirely.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. It requires only the Pipfile.lock to operate. You can also check for vulnerabilities using the Vulert playground at Vulert Scanner without any signup.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall evil-rce2

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback