Malicious Code Injection in teaa-reborn27: A Threat to npm Ecosystem
Summary
MAL-2025-166723: Malicious code in teaa-reborn27 (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
teaa-reborn27 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in teaa-reborn27 originates from its inclusion in a campaign that aims to inflate developer reputation scores through the automatic generation of derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and creates random package names, leading to pollution of the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teaa-reborn27
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 measure, you can avoid using teaa-reborn27 and any packages that depend on it. Regularly audit your package-lock.json file for any suspicious entries and remove any packages that are not recognized or necessary for your project.
Conclusion
The teaa-reborn27 package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and floods the registry. Developers are advised to uninstall this package and monitor their dependencies closely to maintain the integrity of their projects.
See every vulnerability recorded for teaa-reborn27 →
FAQ
teaa-reborn27 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to security risks and polluting the npm registry with unwanted packages.
You should uninstall teaa-reborn27 immediately using the command npm uninstall teaa-reborn27 and audit your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner without any signup.
As of now, there are no patched versions available for teaa-reborn27. It is recommended to remove the package entirely.