Malicious Code Injection in teaa-reborn7: A Threat to npm Ecosystem
Summary
MAL-2025-166750: Malicious code in teaa-reborn7 (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-reborn7 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it 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-reborn7 originates from its inclusion in a campaign that aims to inflate developer reputation scores through automated scripts. These scripts modify the package.json file to remove private flags, alter version numbers, and create random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these malicious packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teaa-reborn7
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-reborn7 and any other packages associated with the tea.xyz token reward campaign. Monitor your project for any unintended dependencies that may have been introduced through this package.
Conclusion
The teaa-reborn7 package poses a significant threat to the npm ecosystem due to its malicious code that manipulates package metadata. It is crucial for developers to remove this package and monitor their projects for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for teaa-reborn7 →
FAQ
teaa-reborn7 is an npm package involved in a token reward campaign that has been identified as malicious.
The vulnerability can lead to the introduction of malicious code, compromising the security and integrity of your project.
You should uninstall teaa-reborn7 immediately and check for any other affected packages in your project.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.