Malicious Code Injection in musik-daitv-bot Package
Summary
MAL-2025-161038: Malicious code in musik-daitv-bot (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 musik-daitv-bot package is part of the npm ecosystem, designed to facilitate interactions with the Daitv platform. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This vulnerability poses a significant risk as it can lead to the proliferation of harmful packages within the npm registry.
Vulnerability Detail
The vulnerability in the musik-daitv-bot package originates from its association with the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names, ultimately leading to the pollution of the npm registry. The ramifications include potential security risks for developers and users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall musik-daitv-bot
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 musik-daitv-bot package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The musik-daitv-bot package has been identified as having a significant vulnerability due to its association with a malicious campaign. It is essential to take immediate action to update or remove this package to protect your application from potential risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for musik-daitv-bot →
FAQ
The musik-daitv-bot package is an npm package designed for interactions with the Daitv platform, but it has been compromised with malicious code.
If your application uses the musik-daitv-bot package, it may be at risk of installing malicious code that can compromise your system and inflate developer reputation scores.
If you have installed the musik-daitv-bot package, it is recommended to remove it and update to a secure version or use an alternative package.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.