Malicious Code Detected in agplayer Package - Security Alert
Summary
MAL-2025-14164: Malicious code in agplayer (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 agplayer package is a JavaScript library used for creating interactive media players in web applications. It offers features such as customizable controls, playlist management, 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 agplayer package originates from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, facilitate remote code execution, or lead to other harmful actions within the affected systems. The malicious nature of this code makes it imperative for developers to take immediate action to protect their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall agplayer
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, consider removing the agplayer package from your project until a secure version is released. You can do this by executing the following command: 'npm uninstall agplayer'. This will help mitigate the risk of exploitation while you await a fix.
Conclusion
The discovery of malicious code in the agplayer package highlights the importance of vigilance in managing open-source dependencies. Developers are urged to take immediate action by updating or removing the affected package to safeguard their applications from potential threats.
See every vulnerability recorded for agplayer →
FAQ
The malicious code can potentially allow unauthorized access to sensitive data and may enable remote code execution.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Simply upload your package-lock.json file to check for vulnerabilities.
As of now, a patched version is not specified. It is crucial to monitor the package repository for updates.
Consider removing the agplayer package from your project as a temporary measure until a secure version is available.
Vulert uses your package-lock.json file to monitor and alert you in real-time for any open-source vulnerabilities, ensuring your application remains secure.