Malicious Code Injection in preliminary_squirrel-excellentdev Package
Summary
MAL-2025-107210: Malicious code in preliminary_squirrel-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 preliminary_squirrel-excellentdev package is part of the npm ecosystem, primarily used for JavaScript development. It is often involved in various projects, but recent findings have revealed that it is linked to a malicious campaign aimed at inflating developer reputation scores through automated package publishing. This vulnerability poses a significant risk to developers and users relying on this package.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign associated with the tea.xyz token reward initiative. It contains scripts that automatically 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 compromising the integrity of dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall preliminary_squirrel-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 measure, you can avoid using the preliminary_squirrel-excellentdev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project's dependencies for vulnerabilities.
Conclusion
The preliminary_squirrel-excellentdev package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for preliminary_squirrel-excellentdev →
FAQ
It is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies.
You should uninstall the package immediately and check for any dependencies that may rely on it.
Yes, tools like Vulert can help monitor your project's dependencies for vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.