Malicious Code Injection in Defensive Jaguar 0xRequest Package
Summary
MAL-2025-101273: Malicious code in defensive_jaguar_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 'defensive_jaguar_0xrequest' package is part of the npm ecosystem, primarily used for various web development tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, leading to potential security risks for users.
Vulnerability Detail
The vulnerability in the 'defensive_jaguar_0xrequest' package originates from its association with the tea.xyz token reward campaign. This campaign utilizes malicious scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names. The continuous republishing of these variants can pollute the npm registry, leading to potential security breaches and misuse of developer credentials.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall defensive_jaguar_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 prevent the installation of this package by using the following command to uninstall it: 'npm uninstall defensive_jaguar_0xrequest'. Additionally, consider using a package-lock.json file to monitor dependencies and avoid malicious packages.
Conclusion
The 'defensive_jaguar_0xrequest' package poses significant security risks due to its malicious code designed to manipulate npm registry entries. It is essential to remove this package and stay vigilant about the packages you include in your projects to maintain security.
See every vulnerability recorded for defensive_jaguar_0xrequest →
FAQ
The primary risk is the potential for malicious code execution that can compromise your application and inflate developer reputation scores fraudulently.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed the affected package, it is recommended to uninstall it immediately and check for any potential security breaches in your application.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities using just the package-lock.json file.
Regularly audit your dependencies, use tools like Vulert for monitoring, and ensure to only install packages from trusted sources.