Malicious Code Injection in Scattered Woodpecker 0xrequest Package
Summary
MAL-2025-108424: Malicious code in scattered_woodpecker_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 'scattered_woodpecker_0xrequest' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. This package is particularly vulnerable due to its inclusion of autopublish scripts that can manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the malicious nature of the package, which contains scripts that modify the package.json file to remove private flags and alter version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to significant security risks, including the potential for code injection and the spread of malicious software through the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall scattered_woodpecker_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 prevent the installation of this package by using npm's package-lock.json file to lock your dependencies. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you in real-time for any open-source vulnerabilities.
Conclusion
The 'scattered_woodpecker_0xrequest' package poses a significant security risk due to its malicious code that modifies package metadata and repopulates the npm registry with harmful variants. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your application.
See every vulnerability recorded for scattered_woodpecker_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should remove the 'scattered_woodpecker_0xrequest' package from your project and monitor for any updates or patches.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Vulert is a monitoring tool that uses your package-lock.json to alert you in real-time for open-source vulnerabilities in your software.