Malicious Code Injection in bell-teadev Package: A Threat to npm Users
Summary
MAL-2025-99885: Malicious code in bell-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 bell-teadev package is part of the npm ecosystem, primarily used for various development tasks. However, it has been identified as part of a malicious campaign that aims to exploit npm's package management system. This package, like others in the campaign, is designed to inflate developer reputation scores through the automatic generation and publishing of derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in the bell-teadev package arises from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The continuous republishing of these variants can lead to a compromised npm registry, affecting developers and users who rely on the integrity of the packages they install. The malicious payload is specifically designed to exploit the npm ecosystem, making it a significant threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bell-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 bell-teadev package from your project by executing the following command: npm uninstall bell-teadev. This will help prevent any potential exploitation while you assess the situation.
Conclusion
The bell-teadev package poses a significant threat due to its malicious code designed to exploit the npm ecosystem. Users are advised to update or remove the package to safeguard their projects. Continuous monitoring for vulnerabilities is essential to maintain the integrity of software applications.
See every vulnerability recorded for bell-teadev →
FAQ
The bell-teadev package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and the packages you rely on.
You should update the package to a patched version if available or uninstall it to mitigate risks associated with the vulnerability.
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 if your application is affected by this vulnerability without needing to sign up.