Critical Malicious Code Vulnerability in apkplug Package
Summary
MAL-2025-14651: Malicious code in apkplug (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 apkplug package is an npm library designed for managing APK files in JavaScript applications. It offers functionalities such as APK file manipulation and integration with various mobile application workflows. However, it has been identified to contain malicious code that poses significant security risks to applications utilizing this package.
Vulnerability Detail
The vulnerability in the apkplug package arises from the inclusion of malicious code that can compromise the security of applications using it. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate other malicious activities. The issue originates from the package's codebase, which has been tampered with to introduce harmful functionalities. Users of the apkplug package should be aware that this vulnerability can lead to severe consequences, including data breaches and loss of application integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall apkplug
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
If an immediate update is not feasible, consider removing the apkplug package from your project and replacing it with an alternative library that offers similar functionalities without the associated risks. This can be done by uninstalling the package using: npm uninstall apkplug.
Conclusion
The apkplug package has been identified to contain malicious code, posing significant security risks to applications that utilize it. Users are strongly advised to update to a patched version or consider alternative solutions to safeguard their applications.
See every vulnerability recorded for apkplug →
FAQ
apkplug is an npm package used for managing APK files in JavaScript applications, providing various functionalities for APK manipulation.
The malicious code was introduced through tampering with the package's codebase, compromising its integrity and security.
Using the vulnerable apkplug package can lead to unauthorized access to sensitive data, execution of arbitrary commands, and other malicious activities.
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 without needing to sign up.
If an immediate update is not possible, consider uninstalling the apkplug package and using an alternative library to mitigate the risks.