Malicious Code Injection in excited_earthworm-excellentdev Package
Summary
MAL-2025-102334: Malicious code in excited_earthworm-excellentdev (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 excited_earthworm-excellentdev package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often include scripts designed to manipulate package metadata and inflate developer reputation scores, making them a significant risk for developers using npm.
Vulnerability Detail
The vulnerability in the excited_earthworm-excellentdev package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the integrity of the development environment, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall excited_earthworm-excellentdev
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 excited_earthworm-excellentdev package and replace it with a trusted alternative. Always validate the packages you include in your project to ensure they are from reputable sources.
Conclusion
The excited_earthworm-excellentdev package poses a significant risk due to its malicious code that alters package metadata and repopulates the npm registry with potentially harmful variants. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for excited_earthworm-excellentdev →
FAQ
It is an npm package that has been identified as malicious and is part of a campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies, potentially allowing for further exploitation.
You should uninstall the excited_earthworm-excellentdev package immediately and check for any other potentially malicious packages in your project.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
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.