Malicious Code Vulnerability in elegant_cougar_dumbs: Exploitation of npm Registry
Summary
MAL-2025-102034: Malicious code in elegant_cougar_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 package 'elegant_cougar_dumbs' is part of a series of malicious 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 malicious nature of this package lies in its ability to modify critical files and continuously republish variants, thus polluting the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the 'elegant_cougar_dumbs' package. This payload alters the package.json file by removing private flags, changing version numbers, and generating random package names, primarily themed around Indonesian culture. The continuous republishing of these variants can lead to significant pollution of the npm registry, affecting developers' ability to find legitimate packages and potentially compromising their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elegant_cougar_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 measure, avoid using the 'elegant_cougar_dumbs' package and monitor your project for any dependencies that may indirectly rely on it. Regularly audit your package-lock.json file to identify and remove any malicious packages.
Conclusion
The 'elegant_cougar_dumbs' package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant, remove this package from their projects, and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for elegant_cougar_dumbs →
FAQ
It is a malicious npm package designed to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially compromising your project's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
You should immediately uninstall the package using 'npm uninstall elegant_cougar_dumbs' and check for any other affected packages.
Currently, there is no specific patch for the 'elegant_cougar_dumbs' package. The best course of action is to remove it from your project.