Malicious Code Injection in munir-terd-nasuay Package: A Threat to npm Users
Summary
MAL-2025-160935: Malicious code in munir-terd-nasuay (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 munir-terd-nasuay package is part of a broader campaign targeting npm users, specifically linked to the tea.xyz token reward initiative. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, its malicious nature poses significant risks to users by altering package configurations and flooding the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in the munir-terd-nasuay package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior not only compromises the integrity of the npm registry but also exposes developers to potential security risks, as the package continuously republishes variants, polluting the ecosystem and making it difficult to track legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munir-terd-nasuay
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 affected package: npm uninstall munir-terd-nasuay. Additionally, monitor your package-lock.json file for any unauthorized changes that may indicate the presence of malicious packages.
Conclusion
The munir-terd-nasuay package poses a significant threat to npm users due to its malicious code that alters package configurations and floods the npm registry. Immediate action is required to remove the package and safeguard your projects. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for munir-terd-nasuay →
FAQ
The munir-terd-nasuay package is an npm package associated with a token reward campaign that automates the creation and publication of derivative packages.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your project's integrity and security.
You should uninstall the munir-terd-nasuay package immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, keep them updated, and utilize tools like Vulert to monitor for vulnerabilities in your open-source packages.