Malicious Code Injection in smooth_raccoon_0xrequest Package
Summary
MAL-2025-108884: Malicious code in smooth_raccoon_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 smooth_raccoon_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 aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This package, like others in the campaign, includes scripts that modify its own metadata and republish itself under random names, leading to potential misuse and pollution of the npm registry.
Vulnerability Detail
The vulnerability in the smooth_raccoon_0xrequest package originates from its association with the tea.xyz token reward campaign. This campaign employs malicious scripts that alter the package.json file by removing private flags, changing version numbers, and generating random package names. The continuous republishing of these variants can lead to a polluted npm registry, making it difficult for developers to find legitimate packages and potentially exposing them to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall smooth_raccoon_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 workaround, you can temporarily avoid using the smooth_raccoon_0xrequest package by replacing it with alternative packages that provide similar functionality. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access or installation. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The smooth_raccoon_0xrequest package poses a significant security risk due to its malicious code designed to manipulate package metadata and republish itself. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for smooth_raccoon_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially exposing your project to further security risks.
You should remove the smooth_raccoon_0xrequest package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.