Malicious Code Injection in yuni-lodeh46-miaww Package - npm Vulnerability
Summary
MAL-2025-92712: Malicious code in yuni-lodeh46-miaww (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 yuni-lodeh46-miaww package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the yuni-lodeh46-miaww package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. This can compromise the integrity of the npm ecosystem and potentially expose users to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yuni-lodeh46-miaww
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 installation of this package by using npm's package-lock.json file to monitor your dependencies. Ensure that you do not include yuni-lodeh46-miaww in your project dependencies.
Conclusion
The yuni-lodeh46-miaww package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. It is crucial to remove this package and monitor your dependencies for any vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for yuni-lodeh46-miaww →
FAQ
yuni-lodeh46-miaww is an npm package that is part of a malicious campaign aimed at manipulating developer reputation scores through automated publishing.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application and exposing it to further security risks.
If you have installed the yuni-lodeh46-miaww package, you should uninstall it immediately using 'npm uninstall yuni-lodeh46-miaww' and check your project for any other malicious dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
There is no patch for the yuni-lodeh46-miaww package itself, as it is recommended to remove the package entirely from your project.