Malicious Code Injection in manaf-yuki-majidd: A Threat to npm Ecosystem
Summary
MAL-2025-159554: Malicious code in manaf-yuki-majidd (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 'manaf-yuki-majidd' 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 functionality of this package is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in 'manaf-yuki-majidd' stems from its inclusion in a malicious campaign that deploys scripts designed to automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, thereby polluting the npm registry. This can lead to significant security risks, including the potential for dependency confusion and the exploitation of developer reputation systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manaf-yuki-majidd
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 'manaf-yuki-majidd' package and replace it with a trusted alternative. Always verify the integrity and source of packages before including them in your project.
Conclusion
The 'manaf-yuki-majidd' package poses a significant security risk due to its malicious code designed to manipulate npm registry entries. It is essential for developers to remove this package and regularly audit their dependencies to maintain a secure development environment.
See every vulnerability recorded for manaf-yuki-majidd →
FAQ
The malicious code can lead to unauthorized changes in your package.json file, potentially exposing your project to security vulnerabilities and reputation damage.
You can check your package-lock.json file for any references to 'manaf-yuki-majidd' or use tools like Vulert to monitor your dependencies for vulnerabilities.
There is no patch for 'manaf-yuki-majidd' as it is recommended to remove the package entirely from your project.
Immediately uninstall the package and review your project's dependencies for any other potentially malicious packages.
Vulert monitors your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access or installation.