Malicious Code Injection in final_albatross_0xrequest Package
Summary
MAL-2025-102704: Malicious code in final_albatross_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 final_albatross_0xrequest package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. The package's functionality is compromised by malicious scripts that manipulate its metadata.
Vulnerability Detail
The vulnerability stems from malicious code embedded in the final_albatross_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall final_albatross_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 final_albatross_0xrequest package from your project by executing: npm uninstall final_albatross_0xrequest. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The final_albatross_0xrequest package contains malicious code that compromises its integrity and poses significant risks to developers. It is crucial to update or remove this package to safeguard your applications. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for final_albatross_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Regularly update your packages and utilize tools like Vulert to monitor for vulnerabilities in real-time.
Consider uninstalling the package as a temporary measure to mitigate the risk until a secure version is released.