Malicious Code Injection in muny-nutssdr-sdaf: A Threat to npm Ecosystem
Summary
MAL-2025-160975: Malicious code in muny-nutssdr-sdaf (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 'muny-nutssdr-sdaf' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. It aims to inflate developer reputation scores for token rewards, making it a potential threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'muny-nutssdr-sdaf' originates from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the security and reliability of other packages within the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muny-nutssdr-sdaf
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 'muny-nutssdr-sdaf' package and any packages that depend on it. Additionally, consider using a package-lock.json file to monitor dependencies and prevent the installation of malicious packages.
Conclusion
The 'muny-nutssdr-sdaf' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and take immediate action to remove any affected packages to maintain the integrity of their applications.
See every vulnerability recorded for muny-nutssdr-sdaf →
FAQ
The vulnerability can lead to the pollution of the npm registry, affecting the reliability of other packages and potentially compromising the security of applications that depend on them.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, you can identify if your application is affected by this vulnerability.
You should immediately uninstall the package using 'npm uninstall muny-nutssdr-sdaf' and check for any other affected packages to ensure your application remains secure.
Regularly audit your dependencies using tools like Vulert and keep your packages updated to the latest secure versions to minimize the risk of vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without requiring any signup.