Malicious Code Injection in visiting_iguana_0xrequest Package
Summary
MAL-2025-110578: Malicious code in visiting_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 visiting_iguana_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate interactions with the tea protocol, but it has been compromised to include malicious scripts that manipulate package metadata. The vulnerability arises from the package's ability to modify its own package.json file, leading to potential security risks for developers using it.
Vulnerability Detail
The vulnerability in the visiting_iguana_0xrequest package stems from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to reputation inflation and registry pollution. This behavior can compromise the integrity of the npm ecosystem, making it difficult for developers to trust the packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall visiting_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 workaround, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's 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 visiting_iguana_0xrequest package has been identified as containing malicious code that compromises the integrity of the npm ecosystem. It is crucial for developers to remove this package and monitor their dependencies to ensure the security of their applications. Utilizing tools like Vulert can aid in maintaining a secure development environment.
See every vulnerability recorded for visiting_iguana_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to facilitate interactions with the tea protocol.
The malicious code can modify your package.json file, leading to potential security risks and the proliferation of untrustworthy packages in the npm registry.
You should uninstall the package immediately and monitor your dependencies for any other vulnerabilities.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.
You can refer to the vulnerability details provided by security databases or use tools like Vulert to get alerts on vulnerabilities in your dependencies.