Malicious Code Injection in absent_quokka_0xrequest Package
Summary
MAL-2025-99041: Malicious code in absent_quokka_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 absent_quokka_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry and compromise the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in the absent_quokka_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, thereby polluting the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes the creation of such malicious packages. The ramifications include potential security risks for developers who unknowingly use these packages, as well as a degradation of the npm registry's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall absent_quokka_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 avoid using the absent_quokka_0xrequest package altogether and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The absent_quokka_0xrequest package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and the integrity of the npm registry. It is crucial to take immediate action to remove this package and to adopt best practices for package management to avoid similar vulnerabilities in the future.
See every vulnerability recorded for absent_quokka_0xrequest →
FAQ
The impact includes potential security risks from using a compromised package, as well as the pollution of the npm registry with malicious variants.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should immediately uninstall the package using npm uninstall absent_quokka_0xrequest and look for alternative packages.
Yes, you should search for reputable packages that offer similar functionality and have a good track record in the community.
Always verify the source and reputation of packages before installation, and consider using tools like Vulert to monitor your dependencies.