Malicious Code Injection in nutr-madsan-syahmuda Package
Summary
MAL-2025-163923: Malicious code in nutr-madsan-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 nutr-madsan-syahmuda package is part of the npm ecosystem, often used in JavaScript applications for various functionalities. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts. The package is designed to manipulate its own metadata and publish numerous derivative packages, which can lead to reputation inflation and potential security risks for developers using it.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the nutr-madsan-syahmuda package, which is linked to the tea.xyz token reward campaign. This package contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. The continuous republishing of these variants pollutes the npm registry, making it difficult for developers to identify legitimate packages. The ramifications include compromised developer reputations and potential security breaches in applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nutr-madsan-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, you can avoid using the nutr-madsan-syahmuda package and instead utilize alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The nutr-madsan-syahmuda package poses a significant security risk due to its malicious code designed to manipulate npm registry entries. It is essential for developers to be vigilant about the packages they use, regularly update them, and utilize tools like Vulert to monitor for vulnerabilities. Taking proactive measures can help safeguard applications from potential threats.
See every vulnerability recorded for nutr-madsan-syahmuda →
FAQ
The nutr-madsan-syahmuda package is an npm package that has been identified as part of a malicious campaign to inflate developer reputations through automated scripts.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the nutr-madsan-syahmuda package immediately and check for any dependencies that may be affected.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.