Malicious Code Vulnerability in Established Baboon-Teagooddev Package
Summary
MAL-2025-102245: Malicious code in established_baboon-teagooddev (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 'established_baboon-teagooddev' package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The functionality of these packages is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
This vulnerability originates from the malicious code embedded within the 'established_baboon-teagooddev' package. The code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads 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 and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall established_baboon-teagooddev
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, you can avoid using the 'established_baboon-teagooddev' package entirely. If it is already in use, consider removing it from your package.json and running 'npm install' to clean up your dependencies.
Conclusion
The 'established_baboon-teagooddev' package contains malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to remove this package and monitor for updates to ensure the security of your projects.
See every vulnerability recorded for established_baboon-teagooddev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The malicious code modifies your package.json, removes private flags, and continuously republishes variants, which can lead to security vulnerabilities.
You should remove the package from your project and monitor for any updates or patches that may be released.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.