Malicious Code Injection in ethanjennings Package: npm Vulnerability Alert
Summary
MAL-2025-171177: Malicious code in ethanjennings (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 ethanjennings package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the ethanjennings package, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and users relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ethanjennings
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, you can avoid using the ethanjennings package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The ethanjennings package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package from their projects and to use trusted alternatives. Regular monitoring for vulnerabilities is recommended to maintain the integrity of your software.
See every vulnerability recorded for ethanjennings →
FAQ
The ethanjennings package is an npm package that has been identified as malicious, designed to manipulate the npm registry for token reward purposes.
The vulnerability can lead to the pollution of the npm registry, potentially affecting the integrity of your project and the packages you depend on.
You should uninstall the ethanjennings package immediately using the command 'npm uninstall ethanjennings' to mitigate any risks.
No patches are available for the ethanjennings package as it is recommended to remove it entirely from your project.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner without any signup.