Malicious Code Injection in miracle-dokloi-ikak Package
Summary
MAL-2025-160542: Malicious code in miracle-dokloi-ikak (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 miracle-dokloi-ikak package is part of the npm ecosystem, often utilized for various JavaScript applications. It is designed to facilitate the development and deployment of applications by providing reusable code components. However, this package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the miracle-dokloi-ikak package stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miracle-dokloi-ikak
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-dokloi-ikak package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to uninstall the package: npm uninstall miracle-dokloi-ikak.
Conclusion
The miracle-dokloi-ikak package poses a significant security risk due to its malicious behavior of modifying package files and flooding the npm registry. It is crucial for developers to remove this package and monitor their applications for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for miracle-dokloi-ikak →
FAQ
The miracle-dokloi-ikak package is an npm package used in JavaScript applications, but it has been identified as part of a malicious campaign.
Using the miracle-dokloi-ikak package can lead to security breaches as it modifies package.json and floods the npm registry with malicious packages.
You should uninstall the miracle-dokloi-ikak package immediately and look for alternative packages to avoid potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, use tools like Vulert for monitoring, and review package sources before installation to mitigate risks.