Malicious Code Injection in mansida-nomfmadi-munau: A Threat to npm Users
Summary
MAL-2025-159755: Malicious code in mansida-nomfmadi-munau (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 'mansida-nomfmadi-munau' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also poses significant risks to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the 'mansida-nomfmadi-munau' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The origin of this vulnerability is linked to the exploitation of npm's publishing mechanisms, which can result in a polluted registry and potential security risks for developers who rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mansida-nomfmadi-munau
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 'mansida-nomfmadi-munau' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages using tools like 'npm audit' to identify and mitigate vulnerabilities.
Conclusion
The 'mansida-nomfmadi-munau' package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial to remove this package and regularly audit your dependencies to maintain the security and integrity of your projects.
See every vulnerability recorded for mansida-nomfmadi-munau →
FAQ
It is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automatic generation of derivative packages.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application against this vulnerability using the Vulert playground without any signup.
Using this package can lead to the pollution of the npm registry, potential security risks, and the compromise of your project's integrity.
It is recommended to audit your npm packages regularly, especially before deploying your application or when adding new dependencies.
Remove any identified malicious packages immediately and consider using tools like Vulert to monitor your dependencies for future vulnerabilities.