Critical Malicious Code Vulnerability in ecmascript-runtime-client Package
Summary
MAL-2025-192409: Malicious code in ecmascript-runtime-client (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 ecmascript-runtime-client package is a component of the npm ecosystem, primarily used for executing ECMAScript code in various environments. It is designed to facilitate the runtime execution of JavaScript code, making it a vital tool for developers working with Node.js and front-end applications. However, this package has been identified to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the ecmascript-runtime-client package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The origin of this vulnerability is linked to malicious actors who have inserted harmful code into the package, which can lead to severe security breaches and data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ecmascript-runtime-client
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
Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package entirely. Ensure that you monitor your systems for any unusual activity following the removal.
Conclusion
The ecmascript-runtime-client package has been identified as containing malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any sensitive information. Continuous monitoring for vulnerabilities is essential to maintain system integrity.
See every vulnerability recorded for ecmascript-runtime-client →
FAQ
It is an npm package used for executing ECMAScript code in various environments, essential for JavaScript development.
The malicious code can compromise your system, allowing unauthorized access to sensitive information and potentially leading to data breaches.
You should remove the ecmascript-runtime-client package immediately and rotate any sensitive information stored on your system.
As of now, there is no patched version available. The best course of action is to remove the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application for this vulnerability using the Vulert playground without any signup.