Malicious Code Injection in calm_aardvark_0xrequest Package
Summary
MAL-2025-100204: Malicious code in calm_aardvark_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 calm_aardvark_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 associated with the tea.xyz token reward system. This package, like others in the campaign, is designed to manipulate the npm registry by publishing numerous derivative packages with altered names and metadata.
Vulnerability Detail
The vulnerability stems from the package's involvement in a malicious scheme that modifies the package.json file to remove private flags and change version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall calm_aardvark_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, avoid using the calm_aardvark_0xrequest package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The calm_aardvark_0xrequest package is compromised by malicious code that affects the npm ecosystem. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for calm_aardvark_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
Using this package can lead to the introduction of malicious code into your project, potentially compromising your application's security and integrity.
You should immediately uninstall the package using 'npm uninstall calm_aardvark_0xrequest' and review your project's dependencies for any other potentially harmful packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner without needing to sign up.
Yes, consider using other reputable npm packages that provide similar functionalities without the associated risks.