Malicious Code Injection in miracle-doki-uikayanabki: A Threat to npm Users
Summary
MAL-2025-160524: Malicious code in miracle-doki-uikayanabki (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-doki-uikayanabki is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish numerous derivative versions to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in miracle-doki-uikayanabki is characterized by the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, contributing to the pollution of the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm's publishing system for malicious purposes. The ramifications include potential security risks for developers who unknowingly use this package, as it can lead to the installation of compromised software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miracle-doki-uikayanabki
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-doki-uikayanabki package until a fix is released. Additionally, you can use the following command to uninstall the package: npm uninstall miracle-doki-uikayanabki.
Conclusion
The miracle-doki-uikayanabki package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be aware of this vulnerability, take necessary actions to mitigate risks, and utilize tools like Vulert for ongoing monitoring.
See every vulnerability recorded for miracle-doki-uikayanabki →
FAQ
miracle-doki-uikayanabki is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of compromised software, which may introduce security risks and affect the integrity of your project.
If you have installed miracle-doki-uikayanabki, it is advisable to uninstall it immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.