Malicious Code Detected in easy-boolean-mock-proxy-stack: A Critical Security Alert
Summary
MAL-2025-19086: Malicious code in easy-boolean-mock-proxy-stack (npm). Affected versions are not published. 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 package 'easy-boolean-mock-proxy-stack' is an npm library designed to facilitate boolean mock proxying in JavaScript applications. It is commonly used for testing and development purposes, allowing developers to create mock implementations of boolean logic. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the 'easy-boolean-mock-proxy-stack' package. This code can potentially compromise the integrity of applications that depend on it, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 of the package and affects all subsequent versions, making it imperative for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall easy-boolean-mock-proxy-stack
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, consider using alternative packages that provide similar functionality without the associated risks. Ensure to review the security status of any new packages before integrating them into your project.
Conclusion
The discovery of malicious code in the 'easy-boolean-mock-proxy-stack' package highlights the importance of vigilance in managing dependencies. Users must take immediate action to protect their applications by uninstalling the affected package and seeking alternatives. Regular monitoring for vulnerabilities is crucial to maintaining application security.
See every vulnerability recorded for easy-boolean-mock-proxy-stack →
FAQ
It is an npm library used for creating mock implementations of boolean logic in JavaScript applications.
The malicious code can lead to unauthorized access, data breaches, or other harmful activities within your application.
You should uninstall the package immediately using 'npm uninstall easy-boolean-mock-proxy-stack' and look for alternative solutions.
Currently, there is no patched version available. Users are advised to uninstall the package until further notice.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. Check your application's status on the Vulert playground without any signup.