Malicious Code Injection in okay_bobcat_0xrequest Package
Summary
MAL-2025-106618: Malicious code in okay_bobcat_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 okay_bobcat_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can harm developers and users alike.
Vulnerability Detail
The vulnerability in the okay_bobcat_0xrequest package stems from its association with a malicious campaign linked to the tea.xyz token reward initiative. The package contains scripts designed to automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also leads to the pollution of the npm registry with potentially harmful packages. The malicious payload can compromise the integrity of applications that rely on this package, leading to security risks and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall okay_bobcat_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 measure, you can avoid using the okay_bobcat_0xrequest package and look for alternative packages that offer similar functionality without the associated risks. Regularly audit your package-lock.json file to identify and remove any potentially harmful packages.
Conclusion
The okay_bobcat_0xrequest package poses a significant security risk due to its malicious code injection capabilities. It is essential for developers to be vigilant and regularly audit their dependencies to protect their applications from such vulnerabilities. By removing the affected package and utilizing tools like Vulert, developers can enhance their security posture.
See every vulnerability recorded for okay_bobcat_0xrequest →
FAQ
The okay_bobcat_0xrequest package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
The vulnerability can lead to the injection of malicious code, compromising the integrity of your application and potentially exposing it to security risks.
You should uninstall the package immediately using 'npm uninstall okay_bobcat_0xrequest' and audit your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time, providing alerts for any issues.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.