Malicious Code Injection in munir-nuys-nabsfa: A Threat to npm Ecosystem
Summary
MAL-2025-160922: Malicious code in munir-nuys-nabsfa (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 'munir-nuys-nabsfa' is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in 'munir-nuys-nabsfa' originates from its involvement in the tea.xyz token reward campaign, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior not only pollutes the npm registry but also poses significant risks, including the potential for unauthorized access to sensitive data and the compromise of application integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munir-nuys-nabsfa
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 'munir-nuys-nabsfa' package and replace it with a trusted alternative. Always review the dependencies in your package.json file and ensure that they are from reputable sources.
Conclusion
The 'munir-nuys-nabsfa' package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to take immediate action by removing this package and ensuring their applications are secure from similar threats.
See every vulnerability recorded for munir-nuys-nabsfa →
FAQ
The munir-nuys-nabsfa package contains malicious code that modifies package.json files and floods the npm registry with fake packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.
You should uninstall the munir-nuys-nabsfa package immediately and review your other dependencies for any potential vulnerabilities.
Yes, the impacts include potential unauthorized access to sensitive data and the risk of application compromise due to the pollution of the npm registry.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.