Malicious Code Injection in statistical_sloth-excellentdev Package
Summary
MAL-2025-109091: Malicious code in statistical_sloth-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 statistical_sloth-excellentdev package is part of the npm ecosystem, typically used for statistical analysis and data manipulation. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities. The vulnerability stems from the package's involvement in generating and publishing derivative packages with random names, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
This vulnerability originates from the package being part of the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry and may compromise the integrity of other packages, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall statistical_sloth-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 statistical_sloth-excellentdev package and replace it with a trusted alternative for your statistical analysis needs. Always verify the integrity of packages before installation.
Conclusion
The statistical_sloth-excellentdev package has been identified as a vector for malicious code injection, posing significant risks to applications using it. It is crucial to remove this package and monitor your dependencies regularly to maintain the security of your software.
See every vulnerability recorded for statistical_sloth-excellentdev →
FAQ
It is an npm package used for statistical analysis, but it has been compromised with malicious code.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application by introducing malicious code.
You should uninstall the statistical_sloth-excellentdev package immediately and replace it with a trusted alternative.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.