Malicious Code Injection in national_dolphin_0xrequest Package
Summary
MAL-2025-106194: Malicious code in national_dolphin_0xrequest (npm). Affected versions are not published. 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 national_dolphin_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms. It is designed to generate and publish derivative packages with randomized names, which can lead to reputation inflation for developers involved in the tea.xyz token reward scheme. The package's functionality is compromised due to its malicious intent, posing significant risks to users who may unknowingly incorporate it into their projects.
Vulnerability Detail
The vulnerability in the national_dolphin_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This behavior can lead to security risks, including the potential for code injection, unauthorized access, and the spread of malicious software within the developer community. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has exploited npm's publishing features.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall national_dolphin_0xrequest
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 temporary workaround, you can avoid using the national_dolphin_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert, which alerts you to open-source vulnerabilities in real-time.
Conclusion
The national_dolphin_0xrequest package poses significant security risks due to its malicious code injection capabilities. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for national_dolphin_0xrequest →
FAQ
The national_dolphin_0xrequest package is an npm package that has been identified as part of a malicious campaign aimed at exploiting npm's publishing mechanisms.
Incorporating the national_dolphin_0xrequest package can lead to security risks, including code injection and unauthorized access, potentially compromising your project's integrity.
You should uninstall the national_dolphin_0xrequest package immediately using the command: npm uninstall national_dolphin_0xrequest.
Yes, you can use Vulert to monitor your project's dependencies for open-source vulnerabilities in real-time without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.