Malicious Code Injection in disturbing_walrus-teagooddev Package
Summary
MAL-2025-101671: Malicious code in disturbing_walrus-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 disturbing_walrus-teagooddev 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. However, it has been identified as containing malicious code that compromises its integrity and the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that modify the package.json file to remove private flags and change version numbers. This allows the package to generate random names and continuously republish variants, leading to pollution of the npm registry. The ramifications include potential security risks for developers using the package, as well as the degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall disturbing_walrus-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 temporary workaround, avoid using the disturbing_walrus-teagooddev package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The disturbing_walrus-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 any updates or patches to ensure the security of your projects.
See every vulnerability recorded for disturbing_walrus-teagooddev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can compromise your project's integrity and may lead to security risks, including the pollution of the npm registry.
You should remove the disturbing_walrus-teagooddev package from your project immediately and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.