Malicious Code Detected in adbputty Package - Security Alert
Summary
MAL-2025-14067: Malicious code in adbputty (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 adbputty package is an npm library designed to facilitate the transfer of files to Android devices using ADB (Android Debug Bridge). It is commonly used by developers for debugging and deploying applications. However, the package has been found to contain malicious code, posing significant risks to users and their systems.
Vulnerability Detail
The vulnerability in the adbputty package arises from the inclusion of malicious code that can compromise the security of systems utilizing this package. This code can lead to unauthorized access, data breaches, or other harmful actions. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users 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 adbputty
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 workaround, users can consider using alternative packages for file transfer to Android devices, such as 'adbkit' or 'android-file-transfer', which do not have known vulnerabilities.
Conclusion
The discovery of malicious code in the adbputty package highlights the importance of vigilance when using open-source software. Users are strongly advised to remove this package and consider safer alternatives to protect their applications and systems.
See every vulnerability recorded for adbputty →
FAQ
adbputty is an npm package used for transferring files to Android devices via ADB, primarily utilized by developers for debugging and deployment.
The malicious code was identified by Amazon Inspector, a security tool that scans for vulnerabilities in open-source packages.
Using the adbputty package can lead to unauthorized access to your system, data breaches, and potential exploitation of your applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have used adbputty, it is crucial to remove it from your project immediately and replace it with a secure alternative package.