Malicious Code Vulnerability in web3toolkit-base Package
Summary
MAL-2025-6621: Malicious code in web3toolkit-base (PyPI). Affects web3toolkit-base versions 0.1.0 – 1.1.1. 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 web3toolkit-base package is a Python library designed for interacting with blockchain technologies. It provides developers with tools to facilitate the integration of web applications with decentralized networks. However, this package has been found to contain malicious code that can compromise the security of applications utilizing it.
Vulnerability Detail
The vulnerability identified as MAL-2025-6621 stems from malicious code embedded within the web3toolkit-base package. This code can lead to unauthorized access and manipulation of sensitive data, potentially allowing attackers to exploit the affected systems. The malicious versions include 0.1.0, 1.0.0, 1.1.0, and 1.1.1, which were sourced from ReversingLabs. Users of these versions are at risk of severe security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall web3toolkit-base
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 temporary workaround, users can remove the affected package from their environment until a secure version is confirmed. This can be done using the command: 'pip uninstall web3toolkit-base'. Additionally, consider using alternative libraries that provide similar functionalities without the associated risks.
Conclusion
The web3toolkit-base package has been identified as containing malicious code that poses significant security risks to applications. Users are advised to update to a patched version or consider alternative solutions to safeguard their systems. Utilizing tools like Vulert can enhance your ability to monitor and respond to such vulnerabilities effectively.
See every vulnerability recorded for web3toolkit-base →
FAQ
It is a Python library used for blockchain interactions, providing tools for developers to integrate decentralized technologies into their applications.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The risks include unauthorized access to sensitive data, potential data manipulation, and overall compromise of application security.
Using tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time, can help you stay informed about any security issues.
Yes, you can temporarily uninstall the package or switch to alternative libraries until a secure version is available.