Malicious Code Injection in important_wasp_0xrequest Package - npm Vulnerability
Summary
MAL-2025-104005: Malicious code in important_wasp_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 important_wasp_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate token rewards, but it has been compromised to include harmful scripts that can manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the important_wasp_0xrequest package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developers' reputation scores. This can result in unauthorized access to sensitive data and compromise the integrity of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall important_wasp_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 important_wasp_0xrequest package from your project by executing the command: 'npm uninstall important_wasp_0xrequest'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The important_wasp_0xrequest package has been identified as containing malicious code that can compromise the integrity of applications using it. It is essential to update or remove this package to mitigate potential risks. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for important_wasp_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code can modify your package.json file, remove private flags, and republish variants, potentially compromising your application's integrity.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
If no patched version is available, consider removing the package and looking for a secure alternative that fulfills the same functionality.