Malicious Code Detected in dragand-player-plugin: A Critical Security Alert
Summary
MAL-2025-18736: Malicious code in dragand-player-plugin (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 dragand-player-plugin is an npm package designed to enhance web applications with audio and video playback capabilities. It offers features such as customizable player interfaces and support for various media formats. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the dragand-player-plugin arises from the inclusion of malicious code that can compromise the security of applications using this package. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate further attacks on the system. The issue originates from the package's codebase, which has been intentionally tampered with to introduce harmful functionalities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dragand-player-plugin
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, you can avoid using the dragand-player-plugin altogether until a patched version is released. Alternatively, consider using other reputable packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the dragand-player-plugin poses a serious threat to applications utilizing this npm package. It is crucial for developers to take immediate action by uninstalling the affected package and updating to a secure version. Utilizing tools like Vulert can help monitor for vulnerabilities in real-time.
See every vulnerability recorded for dragand-player-plugin →
FAQ
The dragand-player-plugin is an npm package that enhances web applications with audio and video playback capabilities.
The malicious code can compromise application security, allowing unauthorized access to sensitive data and executing arbitrary commands.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Currently, it is recommended to uninstall the dragand-player-plugin and install the latest version to mitigate the risk.
As a workaround, consider using alternative packages that provide similar functionalities without the security risks.