Malicious Code Injection in tasty_elk_0xrequest Package
Summary
MAL-2025-109514: Malicious code in tasty_elk_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 tasty_elk_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate various functionalities within the npm registry but has been compromised to include malicious code. The vulnerability stems from its ability to generate and publish derivative packages with altered metadata, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability in the tasty_elk_0xrequest package originates from its inclusion in a malicious campaign that floods npm 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 the proliferation of harmful packages in the npm registry. This not only affects the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tasty_elk_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 tasty_elk_0xrequest package from your project if it is not essential. Use the following command to uninstall it: npm uninstall tasty_elk_0xrequest. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The tasty_elk_0xrequest package has been identified as containing malicious code that can compromise the integrity of the npm ecosystem. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for tasty_elk_0xrequest →
FAQ
The tasty_elk_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The vulnerability can lead to the proliferation of malicious packages in the npm registry, potentially compromising your project's security and integrity.
If you have installed the tasty_elk_0xrequest package, it is recommended to uninstall it and monitor your project for any signs of compromise.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.