Malicious Code Injection in manuk-nanagai-ifgnu Package
Summary
MAL-2025-160018: Malicious code in manuk-nanagai-ifgnu (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 manuk-nanagai-ifgnu 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 publishing of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that alter its functionality.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the manuk-nanagai-ifgnu package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with such malicious packages. The ramifications include potential security risks for developers and users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manuk-nanagai-ifgnu
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 manuk-nanagai-ifgnu package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The manuk-nanagai-ifgnu package has been identified as containing malicious code that poses significant risks to developers and users. It is crucial to uninstall this package and monitor your projects for any unauthorized changes. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for manuk-nanagai-ifgnu →
FAQ
The manuk-nanagai-ifgnu package is an npm package that is part of a token reward campaign, designed to automate the generation and publishing of packages.
The malicious code modifies your package.json file, potentially exposing your project to security risks and cluttering the npm registry with unauthorized packages.
You can use Vulert, which monitors your package-lock.json for vulnerabilities. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed the manuk-nanagai-ifgnu package, you should uninstall it immediately using npm uninstall manuk-nanagai-ifgnu.
Yes, you should look for alternative npm packages that provide similar functionality without the associated risks of malicious code.