Critical Malicious Code Vulnerability in transform-member-expression-literals Package
Summary
MAL-2026-1570: Malicious code in transform-member-expression-literals (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 transform-member-expression-literals package is a JavaScript library used in Node.js applications to manipulate member expression literals. It is commonly utilized for transforming code structures, enhancing code readability, and simplifying complex expressions. However, this package has been found to contain malicious code that compromises the security of any system it is installed on.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the transform-member-expression-literals package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information, including secrets and keys. The malicious nature of the code poses significant risks, as it may lead to data breaches and unauthorized control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall transform-member-expression-literals
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 effective workarounds for this vulnerability other than removing the package entirely. Ensure that you monitor your system for any signs of compromise after removal.
Conclusion
The transform-member-expression-literals package has been identified as containing malicious code that poses a severe security risk. Immediate removal of the package is essential to protect your systems and sensitive information. Utilize tools like Vulert to monitor for vulnerabilities in your applications.
See every vulnerability recorded for transform-member-expression-literals →
FAQ
You should remove the package immediately and rotate any secrets or keys stored on the affected computer.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
Keeping this package installed can lead to unauthorized access to your system, data breaches, and potential control by malicious actors.
The only effective mitigation is to remove the package and monitor your system for any signs of compromise.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. It helps you stay informed about potential risks.