Malicious Code Injection in miracle-dok-uikayananabaki: A Threat to npm Ecosystem
Summary
MAL-2025-160514: Malicious code in miracle-dok-uikayananabaki (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 miracle-dok-uikayananabaki is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with a token reward campaign that has been flooding the npm registry with malicious packages. Its primary function is to facilitate the distribution of JavaScript libraries, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in miracle-dok-uikayananabaki originates from its association with a malicious campaign designed to inflate developer reputation scores for token rewards. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miracle-dok-uikayananabaki
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 miracle-dok-uikayananabaki package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The miracle-dok-uikayananabaki package poses a significant threat due to its malicious code that alters package metadata and repopulates the npm registry with compromised versions. It is crucial for developers to remove this package and monitor their projects for any vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for miracle-dok-uikayananabaki →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
If you have this package installed, it can modify your package.json file and republish malicious variants, potentially leading to security risks.
You should uninstall the package immediately and check for any other compromised packages in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.