Malicious Code Injection in unaware_goat-silentdev Package
Summary
MAL-2025-110031: Malicious code in unaware_goat-silentdev (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 unaware_goat-silentdev package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores by generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the unaware_goat-silentdev package stems from its 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 these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unaware_goat-silentdev
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 unaware_goat-silentdev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The unaware_goat-silentdev package contains a significant vulnerability that can compromise your application. It is essential to remove this package and monitor your dependencies for similar issues. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for unaware_goat-silentdev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating malicious code.
The malicious code can modify your package.json file, leading to potential security risks and pollution of the npm registry.
Uninstall the package immediately using 'npm uninstall unaware_goat-silentdev' and check your package-lock.json for any references.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software without requiring code access.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.