Malicious Code Injection in millo-teadev Package - npm Vulnerability
Summary
MAL-2025-105847: Malicious code in millo-teadev (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 millo-teadev package is part of the npm ecosystem, which is widely used for JavaScript development. It is designed to facilitate various development tasks. However, this package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through automated scripts that publish derivative packages with altered metadata.
Vulnerability Detail
The vulnerability originates from the millo-teadev package being associated with the tea.xyz token reward campaign. This campaign utilizes malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts continuously republish these variants, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall millo-teadev
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 millo-teadev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify vulnerabilities.
Conclusion
The millo-teadev package has been identified as a vector for malicious code that can compromise the integrity of projects using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for millo-teadev →
FAQ
The millo-teadev package is a JavaScript library available on npm, intended for various development tasks but has been compromised with malicious code.
The malicious code modifies your package.json file, potentially exposing your project to security risks and affecting your project's integrity.
You should uninstall the package immediately using 'npm uninstall millo-teadev' and check for any dependencies that may be affected.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.