Malicious Code Injection in nutr-madan-syahmuda: A Threat to npm Ecosystem
Summary
MAL-2025-163920: Malicious code in nutr-madan-syahmuda (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 'nutr-madan-syahmuda' 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 publication of derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in 'nutr-madan-syahmuda' originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and create random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nutr-madan-syahmuda
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, consider using the following command to uninstall the affected package: npm uninstall nutr-madan-syahmuda. Additionally, monitor your package-lock.json file for any unauthorized changes.
Conclusion
The 'nutr-madan-syahmuda' package poses a significant threat due to its malicious code that alters package metadata and pollutes the npm registry. Immediate action is required to remove this package and monitor for any potential impacts on your applications. Utilizing tools like Vulert can enhance your security posture by providing real-time vulnerability alerts.
See every vulnerability recorded for nutr-madan-syahmuda →
FAQ
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of applications that depend on this package.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have installed 'nutr-madan-syahmuda', it is recommended to uninstall it immediately and monitor your project for any unusual behavior.
Currently, there is no patched version available. It is crucial to stay updated with the npm registry for any future releases that may address this issue.
Vulert uses your package-lock.json to monitor and alert in real-time for open-source vulnerabilities, ensuring your software remains secure.