Malicious Code Injection in carbdgonara-notthedevs Package
Summary
MAL-2025-100262: Malicious code in carbdgonara-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 carbdgonara-notthedevs package is part of the npm ecosystem and has been identified as a component of the tea.xyz token reward campaign. This package is designed to facilitate automated publishing of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been compromised to include malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the carbdgonara-notthedevs package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The ramifications include pollution of the npm registry and potential exploitation of developer reputation systems. The malicious payload is designed to operate without user consent, making it a significant security threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall carbdgonara-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 carbdgonara-notthedevs package from your project by executing the following command: npm uninstall carbdgonara-notthedevs. This will prevent any malicious code from executing until a patch is available.
Conclusion
The carbdgonara-notthedevs package has been compromised with malicious code that poses a significant threat to developers and their projects. It is crucial to update or remove the package to safeguard against potential exploitation. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for carbdgonara-notthedevs →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, affecting your project's integrity and reputation.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.
If an immediate update is not possible, consider removing the package as a temporary measure to mitigate the risk of exploitation.