Malicious Code Injection in annoyed_sparrow_0xrequest Package
Summary
MAL-2025-99475: Malicious code in annoyed_sparrow_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 'annoyed_sparrow_0xrequest' package is part of the npm ecosystem, often utilized in JavaScript applications for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the 'annoyed_sparrow_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. The origin of this issue is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanism to pollute the registry and manipulate developer reputations. The ramifications include potential security risks for applications relying on this package, as well as the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall annoyed_sparrow_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, consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The 'annoyed_sparrow_0xrequest' package poses a significant risk due to its malicious code designed to manipulate npm's publishing system. It is crucial to remove this package and monitor your dependencies to maintain the security and integrity of your applications.
See every vulnerability recorded for annoyed_sparrow_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The malicious code can compromise your application's integrity by modifying package configurations and introducing unwanted behavior.
Immediately uninstall the package and check for any unauthorized changes in your project files.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.