Malicious Code Injection in musnisdr-naserf-misn Package
Summary
MAL-2025-161040: Malicious code in musnisdr-naserf-misn (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 musnisdr-naserf-misn package 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, which can inflate developer reputation scores. However, it has been identified as containing malicious code that modifies package metadata and repackages itself under random names, leading to potential security risks.
Vulnerability Detail
The vulnerability in the musnisdr-naserf-misn package stems from its malicious payload, which alters the package.json file by removing private flags and changing version numbers. This allows the package to continuously republish itself under various names, polluting the npm registry and potentially compromising other projects that depend on it. The origin of this vulnerability is linked to a broader trend of malicious packages flooding the npm ecosystem, specifically targeting token reward schemes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall musnisdr-naserf-misn
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 workaround, you can temporarily remove the musnisdr-naserf-misn package from your project until a secure version is released. Use the following command to uninstall it: npm uninstall musnisdr-naserf-misn.
Conclusion
The musnisdr-naserf-misn package contains a significant vulnerability that can lead to malicious code injection and pollution of the npm registry. It is crucial to remove this package from your projects and monitor for updates. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.
See every vulnerability recorded for musnisdr-naserf-misn →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise other projects that depend on the musnisdr-naserf-misn package.
You should uninstall the musnisdr-naserf-misn package immediately and monitor for any updates or patches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.