Malicious Code Injection in milisa-miaop-muioskfp: A Threat to npm Packages
Summary
MAL-2025-160430: Malicious code in milisa-miaop-muioskfp (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
milisa-miaop-muioskfp is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. This package is associated with the tea.xyz token reward initiative, which has been known to flood the npm registry with harmful packages. The primary function of this package is to serve as a vehicle for autopublishing scripts that generate and publish derivative packages, ultimately aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in milisa-miaop-muioskfp originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of other packages. The malicious scripts typically include auto.js, autopublish.js, autopublish2.js, and autopublish3.js, which automate the generation of these harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall milisa-miaop-muioskfp
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 prevent the execution of the malicious scripts by ensuring that your npm configuration does not allow the installation of untrusted packages. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The milisa-miaop-muioskfp package poses a significant threat due to its malicious code that modifies package configurations and repopulates the npm registry with harmful variants. It is crucial to remove this package and monitor your dependencies to maintain the integrity of your project.
See every vulnerability recorded for milisa-miaop-muioskfp →
FAQ
milisa-miaop-muioskfp is an npm package linked to a malicious campaign that aims to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and exposing it to further risks.
You should uninstall the milisa-miaop-muioskfp package immediately and check your project for any unauthorized changes.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing 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 requiring any signup.