Malicious Code Injection in munir-terd-tsun Package - npm Vulnerability
Summary
MAL-2025-160942: Malicious code in munir-terd-tsun (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 munir-terd-tsun package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. It is designed to generate and publish numerous derivative packages with random names, thereby inflating developer reputation scores for token rewards related to the tea.xyz protocol.
Vulnerability Detail
The vulnerability stems from the malicious code embedded within the munir-terd-tsun package. This code modifies the package.json file by removing private flags, changing version numbers, and generating random package names. It continuously republishes these variants, leading to pollution of the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to a campaign that floods npm with such malicious packages, making it crucial for developers to be vigilant.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munir-terd-tsun
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 remove the munir-terd-tsun package from your project by executing the command: 'npm uninstall munir-terd-tsun'. This will prevent any malicious code from executing until a fixed version is released.
Conclusion
The munir-terd-tsun package poses a significant risk due to its malicious code that modifies package metadata and floods the npm registry. It is essential for developers to take immediate action by removing the package and monitoring for updates to safeguard their applications.
See every vulnerability recorded for munir-terd-tsun →
FAQ
The munir-terd-tsun package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application and other packages that depend on it.
If you have the munir-terd-tsun package installed, you should uninstall it immediately and monitor for any updates or patches that may be released.
Yes, Vulert can help you monitor and alert for open-source vulnerabilities in your software by analyzing your package-lock.json file without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.