Malicious Code Injection in weak_walrus_dumbs Package
Summary
MAL-2025-110768: Malicious code in weak_walrus_dumbs (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 weak_walrus_dumbs package is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing derivative packages with randomized names. The primary functionality of these packages is to inflate developer reputation scores in exchange for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the weak_walrus_dumbs package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. This allows the package to generate random names, often themed around Indonesian culture, and continuously republish variants to the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these malicious packages. The ramifications include potential pollution of the npm registry, compromising the security of other packages, and damaging the reputation of developers associated with these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall weak_walrus_dumbs
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 weak_walrus_dumbs package and monitor your package-lock.json file for any unauthorized changes. Regularly audit your dependencies using npm audit to identify and address vulnerabilities.
Conclusion
The weak_walrus_dumbs package poses a significant risk due to its malicious code that manipulates the npm registry. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages. Regular audits and updates can help maintain the security of your applications.
See every vulnerability recorded for weak_walrus_dumbs →
FAQ
The weak_walrus_dumbs package is an npm package associated with the tea.xyz token reward campaign, designed to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application and other packages.
You should uninstall the weak_walrus_dumbs package immediately and audit your dependencies for any other vulnerabilities.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Regularly update your dependencies, use trusted packages, and monitor your package-lock.json file for unauthorized changes.