Malicious Code Injection in clean_carp-notthedevs Package
Summary
MAL-2025-100585: Malicious code in clean_carp-notthedevs (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 clean_carp-notthedevs package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that can affect the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the clean_carp-notthedevs package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes these variants, leading to pollution of the npm registry. This can result in security risks for developers who unknowingly use these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall clean_carp-notthedevs
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 remove the clean_carp-notthedevs package from your project by executing: npm uninstall clean_carp-notthedevs. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The clean_carp-notthedevs package has been identified as containing malicious code that can compromise the security of applications using it. It is crucial to take immediate action by updating or removing the package and monitoring your project for vulnerabilities.
See every vulnerability recorded for clean_carp-notthedevs →
FAQ
It is an npm package that is part of a token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the package immediately and check for any affected applications. Consider updating to a secure version if available.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.