Malicious Code Injection in tealove-okta1: A Threat to npm Packages
Summary
MAL-2025-168585: Malicious code in tealove-okta1 (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 package 'tealove-okta1' is part of a campaign associated with the tea.xyz token reward system, which has been known to flood the npm registry with malicious packages. These packages are designed to inflate developer reputation scores through automated publishing scripts. The functionality of 'tealove-okta1' is compromised due to its malicious intent, posing a significant risk to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in 'tealove-okta1' originates from its inclusion in a broader malicious campaign that utilizes autopublish scripts to generate and publish derivative packages with randomized names. This malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, thereby polluting the npm registry. The ramifications include potential security risks for applications using this package, as it can lead to unauthorized access or data manipulation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-okta1
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, avoid using 'tealove-okta1' and consider using alternative packages that provide similar functionality without the associated risks. Always validate the source and integrity of packages before integrating them into your projects.
Conclusion
The 'tealove-okta1' package poses a significant threat due to its malicious code designed to manipulate npm packages. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to ensure the security of their applications.
See every vulnerability recorded for tealove-okta1 →
FAQ
'tealove-okta1' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The vulnerability can lead to unauthorized modifications in your application, potentially exposing it to security risks and data breaches.
You should uninstall 'tealove-okta1' immediately using 'npm uninstall tealove-okta1' and check your project for any other compromised packages.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.