Malicious Code Injection in miracle-diook-ujaaik1: A Threat to npm Ecosystem
Summary
MAL-2025-160498: Malicious code in miracle-diook-ujaaik1 (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-diook-ujaaik1 is part of a broader campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names, which can inflate developer reputation scores. The malicious nature of this package poses significant risks to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious intent to modify the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior not only compromises the integrity of the affected packages but also leads to pollution of the npm registry, making it difficult for developers to trust the packages they use. The autopublish scripts included in the package automate this process, creating a continuous cycle of malicious republishing.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miracle-diook-ujaaik1
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-diook-ujaaik1 package and any packages that depend on it. Regularly audit your project's dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The miracle-diook-ujaaik1 package represents a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating the registry. Developers are advised to remove this package and regularly audit their dependencies to maintain the integrity of their projects.
See every vulnerability recorded for miracle-diook-ujaaik1 →
FAQ
miracle-diook-ujaaik1 is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies.
You should uninstall the miracle-diook-ujaaik1 package immediately and audit your project for any other potentially malicious packages.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
There is no patch for miracle-diook-ujaaik1 as it is a malicious package. The best course of action is to remove it from your project.