Malicious Code Injection in cool_loon-excellentdev: npm Package Vulnerability
Summary
MAL-2025-100996: Malicious code in cool_loon-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 'cool_loon-excellentdev' package is part of the npm ecosystem, which is widely used for JavaScript development. It is often utilized for various functionalities in web applications. However, this package has been identified as part of a malicious campaign that floods the npm registry with derivative packages, potentially compromising the integrity of projects that depend on it.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the 'cool_loon-excellentdev' package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. It is designed to automatically publish these variants, inflating developer reputation scores for token rewards in the tea.xyz campaign. The ramifications include pollution of the npm registry, potential security risks for applications using these packages, and a degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cool_loon-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 'cool_loon-excellentdev' package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'cool_loon-excellentdev' package poses a significant risk due to its malicious code that alters project files and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity and security of their applications.
See every vulnerability recorded for cool_loon-excellentdev →
FAQ
The package contains malicious code that modifies project files and floods the npm registry with derivative packages.
You can use Vulert to monitor your application for vulnerabilities. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for any issues.
You should uninstall the package immediately using 'npm uninstall cool_loon-excellentdev' and look for alternatives.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest versions.
Ignoring this vulnerability could lead to security risks, including unauthorized access to your application and damage to your project's reputation.