Malicious Code Injection in miracle-doki-uikayanabbaki: A Threat to npm Ecosystem
Summary
MAL-2025-160523: Malicious code in miracle-doki-uikayanabbaki (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-uikayanabbaki is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised by the presence of autopublish scripts that generate and publish derivative packages with randomized names, leading to potential misuse and pollution of the npm registry.
Vulnerability Detail
The vulnerability in miracle-doki-uikayanabbaki stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to significant security risks such as unauthorized access and manipulation of the npm registry. This behavior is indicative of a broader trend where malicious packages are used to exploit the npm ecosystem for token rewards, thereby affecting the integrity of the software supply chain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miracle-doki-uikayanabbaki
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 remove the affected package from your project by executing the following command: npm uninstall miracle-doki-uikayanabbaki. This will prevent any malicious code from executing while you assess the situation and look for a secure alternative.
Conclusion
The miracle-doki-uikayanabbaki package poses a significant threat due to its malicious code that alters package configurations and publishes unauthorized derivatives. It is crucial for developers to take immediate action by removing the package and monitoring their applications for vulnerabilities to maintain security within the npm ecosystem.
See every vulnerability recorded for miracle-doki-uikayanabbaki →
FAQ
miracle-doki-uikayanabbaki is an npm package that has been identified as malicious, associated with a campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's integrity and security.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert to monitor your application for open-source vulnerabilities in real-time 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 needing to sign up.