Malicious Code Injection in curry-teadev Package: npm Vulnerability Summary
Summary
MAL-2025-101167: Malicious code in curry-teadev (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 curry-teadev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate development and deployment processes but has been compromised to include malicious scripts that manipulate package metadata. The vulnerability arises from the package's ability to automatically generate and publish derivative packages, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability in the curry-teadev package originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to significant ramifications, including the potential for developers to unknowingly publish compromised packages, thereby affecting their reputation and the integrity of the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall curry-teadev
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 curry-teadev package from your project by executing the command: 'npm uninstall curry-teadev'. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The curry-teadev package has been identified as containing malicious code that can compromise the integrity of npm projects. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for curry-teadev →
FAQ
The curry-teadev package is an npm package associated with the tea.xyz token reward campaign, designed to assist in development tasks.
The vulnerability can lead to the automatic generation of malicious packages, which may compromise your project's integrity and reputation.
If you have installed the curry-teadev package, you should uninstall it immediately and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without needing to sign up.
To prevent similar vulnerabilities, regularly audit your dependencies, keep them updated, and utilize tools like Vulert to monitor for vulnerabilities.