Malicious Code Injection in namadata-naururl-nagama: A Threat to npm Ecosystem
Summary
MAL-2025-161783: Malicious code in namadata-naururl-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 package 'namadata-naururl-nagama' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often include scripts designed to manipulate the npm registry and inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in 'namadata-naururl-nagama' stems from its inclusion in a campaign that utilizes malicious scripts to alter package.json files. These scripts remove private flags, change version numbers, and generate random package names, leading to the pollution of the npm registry. This can result in unauthorized access to sensitive data and compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall namadata-naururl-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 use the following command to prevent the installation of this malicious package: 'npm install --no-optional'. This command will skip the installation of optional dependencies, which may include the vulnerable package.
Conclusion
The 'namadata-naururl-nagama' package poses a significant threat due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for namadata-naururl-nagama →
FAQ
The vulnerability involves malicious code that modifies package.json files and repackages them, leading to potential security risks.
You can check your application for vulnerabilities using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.
The risks include unauthorized access to sensitive data, pollution of the npm registry, and potential exploitation of your application.
There is no specific patch for this package; the recommended action is to uninstall it and ensure your dependencies are up to date.
If you have installed the package, you should uninstall it immediately using 'npm uninstall namadata-naururl-nagama' and review your project for any other potentially vulnerable packages.