Malicious Code Injection in miftaiky-doll-partly: A Threat to npm Ecosystem
Summary
MAL-2025-160406: Malicious code in miftaiky-doll-partly (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 'miftaiky-doll-partly' 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 known to flood the npm registry with malicious packages. The primary function of these packages is to inflate developer reputation scores through automated publishing of derivative packages, often leading to a polluted npm registry.
Vulnerability Detail
The vulnerability in 'miftaiky-doll-partly' originates from its malicious payload designed to manipulate the package.json file. It removes private flags, alters version numbers, and generates random package names, contributing to the proliferation of spammy packages in the npm registry. This not only affects the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further security issues in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miftaiky-doll-partly
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 'miftaiky-doll-partly' package until a secure version is released. Additionally, you can monitor your project's dependencies using tools like Vulert, which checks for vulnerabilities in your package-lock.json file without requiring code access or installation.
Conclusion
The 'miftaiky-doll-partly' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their applications.
See every vulnerability recorded for miftaiky-doll-partly →
FAQ
It is an npm package associated with a token reward campaign that has been identified as malicious.
The vulnerability can lead to the installation of spammy packages, compromising the integrity of your application and potentially introducing security risks.
You should update the package to a patched version or remove it from your project to mitigate the risk.
Yes, you can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without any installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.