Malicious Code Injection in raw_iguana_0xrequest Package
Summary
MAL-2025-107742: Malicious code in raw_iguana_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 raw_iguana_0xrequest package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. These packages are designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability stems from the malicious code embedded in the raw_iguana_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby polluting the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to inflate developer reputations fraudulently. The ramifications include potential exposure of sensitive data, unauthorized access to systems, and overall degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall raw_iguana_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 remove the raw_iguana_0xrequest package from your project to mitigate the risk. Use the following command: 'npm uninstall raw_iguana_0xrequest'. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. Vulert can analyze your package-lock.json file to alert you in real-time about any open-source vulnerabilities.
Conclusion
The raw_iguana_0xrequest package contains malicious code that poses significant risks to developers and their projects. It is crucial to update or remove the package and utilize monitoring tools like Vulert to ensure ongoing security against such vulnerabilities.
See every vulnerability recorded for raw_iguana_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to unauthorized modifications in your project, potentially exposing sensitive information and compromising security.
You should check the npm registry or the package's repository for any updates or patches that address this vulnerability.
You can use Vulert, which analyzes your package-lock.json file to provide real-time alerts for open-source vulnerabilities.
Remove the affected package and update your project dependencies. Regularly monitor your project for vulnerabilities using tools like Vulert.