Malicious Code Injection in tealove-poke31: A Threat to npm Ecosystem
Summary
MAL-2025-168657: Malicious code in tealove-poke31 (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
tealove-poke31 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various scripts. However, it has been identified as containing malicious code that compromises its integrity and the npm ecosystem.
Vulnerability Detail
The vulnerability in tealove-poke31 originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages, leading to security risks for users who may unknowingly install these variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-poke31
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 avoid using the tealove-poke31 package and monitor your dependencies for any occurrences of this package. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The tealove-poke31 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and inflates developer reputation scores. Users are encouraged to remove this package and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for tealove-poke31 →
FAQ
tealove-poke31 is an npm package involved in the tea.xyz token reward campaign, which has been found to contain malicious code.
The package modifies package.json files, removes private flags, changes version numbers, and generates random package names to inflate developer reputation scores.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.
It is advisable to remove the tealove-poke31 package from your project immediately and monitor for any updates or patches.
Vulert uses your package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, ensuring you stay informed about potential risks.