Critical Malicious Code Vulnerability in @ntnx/passport-wso2 Package
Summary
MAL-2025-191035: Malicious code in @ntnx/passport-wso2 (npm). Affects @ntnx/passport-wso2 versions 0.0.3. 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 @ntnx/passport-wso2 package is an npm module designed for integrating WSO2 identity services with applications. It provides authentication and authorization functionalities, enabling secure access to resources. However, this package has been compromised, leading to severe security risks for any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the @ntnx/passport-wso2 package, specifically version 0.0.3. 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 malicious code is linked to a security advisory (GHSA-r848-vh7x-hh8m) that warns users of the potential for complete system control by external entities. Removing the package does not guarantee the elimination of all malicious software that may have been installed as a result.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @ntnx/passport-wso2
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 direct workarounds to mitigate the risks posed by this vulnerability. The only recommended action is to uninstall the package and secure your system.
Conclusion
The @ntnx/passport-wso2 package has been identified as containing malicious code that poses significant security risks. Immediate action is required to uninstall the package and secure any sensitive information. Users are encouraged to utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for @ntnx/passport-wso2 →
FAQ
You should uninstall the package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patched version available for this package. It is recommended to uninstall it.
Failure to address this vulnerability can lead to unauthorized access to sensitive data and complete system compromise.
While not all packages from the same publisher may be compromised, it is advisable to review and assess the security of any package before installation.