Malicious Code Injection in munir-butya-tsdr: A Threat to npm Users
Summary
MAL-2025-160888: Malicious code in munir-butya-tsdr (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-butya-tsdr 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 concerns for developers and users alike.
Vulnerability Detail
The vulnerability in the munir-butya-tsdr package originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to automatically modify package.json files, removing private flags and changing version numbers. This behavior not only compromises the integrity of the affected packages but also pollutes the npm registry with potentially harmful variants, posing risks to developers who may unknowingly use these packages in their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munir-butya-tsdr
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 measure, avoid using the munir-butya-tsdr package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for potential threats.
Conclusion
The munir-butya-tsdr package poses a significant security risk due to its malicious code injection capabilities. It is essential for developers to be vigilant about the packages they use and to take immediate action to remove any affected packages. Regular monitoring and updates can help safeguard against such vulnerabilities.
See every vulnerability recorded for munir-butya-tsdr →
FAQ
The munir-butya-tsdr package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
The vulnerability can lead to the injection of malicious code, compromising your project's security and potentially affecting its functionality.
You should uninstall the munir-butya-tsdr package immediately and check for any other affected packages in your project.
You can use Vulert to monitor your project for open-source vulnerabilities by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.