Malicious Code Injection in sharp_tahr-gooddev Package
Summary
MAL-2025-108617: Malicious code in sharp_tahr-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_tahr-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, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of applications using it.
Vulnerability Detail
The vulnerability in the sharp_tahr-gooddev package originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other packages. The malicious code can compromise the security of applications that depend on this package, leading to unauthorized access or data manipulation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sharp_tahr-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 avoid using the sharp_tahr-gooddev package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The sharp_tahr-gooddev package has been identified as containing malicious code that poses a significant risk to applications using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities to ensure the security of your software.
See every vulnerability recorded for sharp_tahr-gooddev →
FAQ
The sharp_tahr-gooddev package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability allows malicious code to modify your package.json file, potentially leading to unauthorized access or data manipulation in your application.
You should uninstall the sharp_tahr-gooddev package immediately and check for any other affected dependencies in your project.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.