Malicious Code Injection in manaf-yuki-mansua Package
Summary
MAL-2025-159555: Malicious code in manaf-yuki-mansua (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-mansua package is part of the npm ecosystem, often utilized for various JavaScript applications. However, it has been identified as part of a malicious campaign aimed at inflating developer reputation scores through the tea.xyz token reward system. This package can automatically generate and publish derivative packages, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability stems from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to create numerous derivative packages that clutter the npm registry, potentially leading to security risks for developers who may unknowingly use these compromised packages. The origin of this issue is linked to a broader campaign that exploits npm's publishing capabilities for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manaf-yuki-mansua
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 measure, consider using the following command to uninstall the package: npm uninstall manaf-yuki-mansua. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for any open-source vulnerabilities.
Conclusion
The manaf-yuki-mansua package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to take immediate action to remove this package and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for manaf-yuki-mansua →
FAQ
The manaf-yuki-mansua package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and may introduce security risks if your project inadvertently relies on compromised packages.
You should uninstall the manaf-yuki-mansua package immediately and monitor your project for any vulnerabilities.
Yes, you can use Vulert to monitor your package-lock.json file for vulnerabilities without requiring access to the code or installation.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated with the latest security advisories.