Critical Malicious Code Vulnerability in nbastatsleftnav Package
Summary
MAL-2025-6184: Malicious code in nbastatsleftnav (npm). Affects nbastatsleftnav versions 1.0.0 – 99.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
The nbastatsleftnav package is an npm library designed to provide navigation and statistics related to NBA data. It is commonly used in web applications that require sports data integration. However, this package has been identified as containing malicious code that compromises the security of systems where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the nbastatsleftnav package. This code communicates with domains associated with malicious activities, posing a significant risk to any system that has the package installed. The implications of this vulnerability are severe, as it can lead to unauthorized access to sensitive information, including secrets and keys stored on the affected machine. Users are advised to treat any system with this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nbastatsleftnav
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
As a workaround, you can monitor your application for vulnerabilities using tools like Vulert. By utilizing Vulert, you can check if your application is affected by this vulnerability without requiring access to the code or installation. You can use the Vulert playground at https://vulert.com/scanner to assess your application's vulnerability status.
Conclusion
The nbastatsleftnav package has been identified as containing malicious code that poses a significant security risk. Users are strongly advised to uninstall the package and monitor their systems for any signs of compromise. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications.
See every vulnerability recorded for nbastatsleftnav →
FAQ
The nbastatsleftnav package is an npm library used for integrating NBA statistics and navigation into web applications.
The package contains embedded malicious code that communicates with domains linked to malicious activities, compromising the security of affected systems.
You can use Vulert's playground at Vulert Scanner to check if your application is impacted by this vulnerability without needing to sign up.
You should uninstall the nbastatsleftnav package immediately using the command npm uninstall nbastatsleftnav and consider using a secure alternative.
Currently, there is no patched version available for the nbastatsleftnav package, making its removal essential.