Malicious Code Injection in namadata-munaroh-nagama Package
Summary
MAL-2025-161761: Malicious code in namadata-munaroh-nagama (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 namadata-munaroh-nagama package is part of the npm ecosystem, primarily used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages that inflate developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in the namadata-munaroh-nagama package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which can lead to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to manipulate the npm registry for token rewards. The ramifications include potential security risks for applications relying on this package, as well as the degradation of the npm ecosystem due to the proliferation of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall namadata-munaroh-nagama
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 prevent the installation of this malicious package by using npm's package-lock.json file to monitor and restrict the installation of vulnerable packages. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The namadata-munaroh-nagama package contains malicious code that poses a significant risk to applications using it. It is crucial to uninstall this package and monitor your project for vulnerabilities to maintain the integrity of your software. Utilizing tools like Vulert can help you stay informed about potential threats in your dependencies.
See every vulnerability recorded for namadata-munaroh-nagama →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately using npm uninstall namadata-munaroh-nagama and check for any dependencies that may rely on it.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without requiring access to the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.