Critical Malicious Code Vulnerability in @emilgroup/payment-sdk-node Package
Summary
MAL-2026-2057: Malicious code in @emilgroup/payment-sdk-node (npm). Affects @emilgroup/payment-sdk-node versions >= 1.23.1, <= 1.23.2. 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 @emilgroup/payment-sdk-node package is a Node.js library designed for handling payment processing in applications. It provides developers with tools to integrate payment functionalities seamlessly. However, this package has been identified as containing malicious code, posing significant security risks to systems that utilize it.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within versions 1.23.1 to 1.23.2 of the @emilgroup/payment-sdk-node package. Any system running this package is considered fully compromised, with potential unauthorized access to sensitive data, including secrets and keys. The malicious code can allow external entities to control the affected systems, leading to severe data breaches and loss of integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @emilgroup/payment-sdk-node
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 associated with this vulnerability other than removing the package and securing your system.
Conclusion
The @emilgroup/payment-sdk-node package has been compromised with malicious code, posing serious security threats to any system using it. Immediate action is required to remove the package and secure any sensitive data. Regular monitoring of dependencies is essential to prevent future vulnerabilities.
See every vulnerability recorded for @emilgroup/payment-sdk-node →
FAQ
Immediately uninstall the @emilgroup/payment-sdk-node package and rotate any sensitive keys or secrets stored on the compromised system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
There is no patch available for the affected versions. The only solution is to uninstall the package.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.