Malicious Code Injection in calhoun-teadev Package
Summary
MAL-2025-100203: Malicious code in calhoun-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 calhoun-teadev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the creation and management of applications within the JavaScript environment. However, this package has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the calhoun-teadev package stems from its inclusion in a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior can lead to the pollution of the npm registry and potentially allow attackers to exploit the affected applications by injecting malicious code or creating confusion among developers regarding package authenticity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall calhoun-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 calhoun-teadev package from your project by executing the following command: npm uninstall calhoun-teadev. This will prevent any malicious code from executing until a secure version is released.
Conclusion
The calhoun-teadev package has been identified as containing malicious code that poses a significant risk to applications using it. It is crucial to take immediate action by updating or removing the package to safeguard your projects from potential exploitation.
See every vulnerability recorded for calhoun-teadev →
FAQ
The calhoun-teadev package is an npm package associated with the tea.xyz token reward campaign, designed for managing JavaScript applications.
The vulnerability can lead to the injection of malicious code, potentially compromising the security and integrity of your application.
You should update the package to a patched version or remove it entirely from your project to mitigate the risk.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.