Critical Malicious Code Vulnerability in ngx-wooapi Package
Summary
MAL-2025-191130: Malicious code in ngx-wooapi (npm). Affects ngx-wooapi versions 12.0.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
ngx-wooapi is an npm package designed to facilitate interactions with WooCommerce APIs, providing developers with tools to integrate e-commerce functionalities into their applications. However, this package has been identified as containing malicious code, posing significant security risks to any system where it is installed.
Vulnerability Detail
The ngx-wooapi package has been compromised and is reported to contain embedded malicious code. This vulnerability originates from a malicious actor who has altered the package to include harmful functionalities. Any system running this package is considered fully compromised, with potential unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it may allow attackers to gain full control over the affected systems, leading to data breaches and further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ngx-wooapi
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 malicious package. The only recommended action is to uninstall ngx-wooapi and replace it with a secure alternative.
Conclusion
The ngx-wooapi package has been identified as a critical security risk due to the presence of malicious code. Immediate action is required to uninstall the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for ngx-wooapi →
FAQ
You should uninstall the ngx-wooapi package immediately and rotate any sensitive information stored on the affected system.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Leaving ngx-wooapi installed can lead to unauthorized access to your system, data breaches, and potential exploitation by malicious actors.
No, there is currently no safe or patched version of ngx-wooapi available. It is recommended to find an alternative package.
Regularly monitor your dependencies using tools like Vulert, and ensure to keep your packages updated and review their source code for any suspicious changes.