Malicious Code Injection in manaf-yuki-manusua Package
Summary
MAL-2025-159556: Malicious code in manaf-yuki-manusua (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 manaf-yuki-manusua package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability in the manaf-yuki-manusua package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manaf-yuki-manusua
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 manaf-yuki-manusua package from your project by executing: npm uninstall manaf-yuki-manusua. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The manaf-yuki-manusua package contains a significant vulnerability due to its malicious code that alters package configurations and republishing behaviors. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects from potential exploitation.
See every vulnerability recorded for manaf-yuki-manusua →
FAQ
The manaf-yuki-manusua package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further risks and pollution of the npm registry.
If you have installed the manaf-yuki-manusua package, it is recommended to uninstall it immediately and check for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review the security advisories for the packages you use.