Malicious Code Injection in mans-nurs-masnfa Package: A Threat to npm Users
Summary
MAL-2025-159716: Malicious code in mans-nurs-masnfa (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 mans-nurs-masnfa package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to significant security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the mans-nurs-masnfa package arises from its association with the tea.xyz token reward campaign, which aims to manipulate npm's reputation system. The malicious code embedded within this package modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses risks of dependency confusion and potential exploitation of applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mans-nurs-masnfa
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 mans-nurs-masnfa package and replace it with a trusted alternative that provides similar functionality. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The mans-nurs-masnfa package poses a significant security risk due to its malicious code designed to manipulate npm's reputation system. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for mans-nurs-masnfa →
FAQ
The mans-nurs-masnfa package is an npm package that has been identified as malicious, part of a campaign to manipulate npm's reputation system.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
If you have installed the mans-nurs-masnfa package, you should uninstall it immediately and review your project's dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json for 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 needing to sign up.