Malicious Code Injection in Devoted Elephant Dumbs Package
Summary
MAL-2025-101407: Malicious code in devoted_elephant_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 'devoted_elephant_dumbs' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate automated publishing of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies its own package.json file and republishes itself under random names, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which alters the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior can lead to a significant increase in the number of malicious packages in the npm registry, potentially compromising the integrity of the ecosystem and affecting developers who rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall devoted_elephant_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 'devoted_elephant_dumbs' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your project's dependencies to identify and remove any potentially malicious packages.
Conclusion
The 'devoted_elephant_dumbs' package has been identified as containing malicious code that can compromise the integrity of the npm ecosystem. It is crucial for developers to remove this package from their projects and stay vigilant about the packages they use. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for devoted_elephant_dumbs →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The vulnerability can lead to the proliferation of malicious packages in the npm registry, potentially compromising your project's security and integrity.
You should uninstall the 'devoted_elephant_dumbs' package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check for vulnerabilities in your application using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.