Critical Malicious Code Vulnerability in @ntnx/passport-wso2 Package

@ntnx/passport-wso2 Updated 25 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback