Malicious Code Injection in tealove-poke41: A Threat to npm Users
Summary
MAL-2025-168668: Malicious code in tealove-poke41 (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-poke41 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish and manage their packages. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in tealove-poke41 originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, potentially leading to security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-poke41
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 workaround, you can avoid using the tealove-poke41 package altogether and monitor your project for any dependencies that may indirectly include it. Regularly audit your package-lock.json file for any vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
Conclusion
The tealove-poke41 package poses a significant risk to npm users due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package and monitor your dependencies for any vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for tealove-poke41 →
FAQ
tealove-poke41 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json, removes private flags, and can lead to the publication of compromised packages, affecting the integrity of your project.
You should uninstall the package immediately using 'npm uninstall tealove-poke41' and check for any other affected packages in your project.
You can use Vulert to monitor your package-lock.json file for vulnerabilities without needing to access the code or install any software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.