Malicious Code Injection in sharp_warbler-gooddev Package
Summary
MAL-2025-108618: Malicious code in sharp_warbler-gooddev (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 sharp_warbler-gooddev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate 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 due to the presence of malicious scripts that manipulate its metadata.
Vulnerability Detail
The vulnerability originates from the sharp_warbler-gooddev package, which contains malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who unknowingly use this package, as it can lead to unauthorized access and manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sharp_warbler-gooddev
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 sharp_warbler-gooddev package from your project by executing: npm uninstall sharp_warbler-gooddev. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The sharp_warbler-gooddev package contains a significant vulnerability due to malicious code that alters its metadata and repopulates the npm registry with harmful variants. It is crucial for developers to update or remove this package to safeguard their projects from potential threats.
See every vulnerability recorded for sharp_warbler-gooddev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to unauthorized access and manipulation of your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
As a temporary measure, you can uninstall the sharp_warbler-gooddev package to prevent any malicious activity.
You can refer to the official npm registry or security advisories related to the sharp_warbler-gooddev package for more detailed information.