android-cli
Fail
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The installation instructions guide the user to download a setup script from a well-known service domain (dl.google.com). This is a standard procedure for acquiring the necessary development tools.
- [REMOTE_CODE_EXECUTION]: The
android updatecommand includes a--urlparameter that allows downloading and installing updates from a specified URL. This dynamic update mechanism represents a risk if the URL is provided by an untrusted source or manipulated by an attacker. - [PROMPT_INJECTION]: The skill processes XML-specified "journeys" and instructs the agent to execute actions exactly as written. This creates an attack surface for indirect prompt injection, where malicious instructions embedded in a journey file could cause the agent to perform unintended operations.
- Ingestion points: XML journey files (referenced in
references/journeys.md). - Boundary markers: The content is structured within XML tags, but no explicit prompt isolation or instructions to ignore embedded commands are present.
- Capability inventory: Uses
adb shellfor device interaction andandroid screen capturefor file writes across various commands. - Sanitization: No specific sanitization or validation of the action text is performed beyond a conceptual recommendation to check for UI relevance.
- [COMMAND_EXECUTION]: The skill relies on
adb shell inputto interact with connected Android devices. While essential for the skill's purpose, this capability could be exploited for unauthorized device manipulation if command arguments are derived from unsanitized external data. - [REMOTE_CODE_EXECUTION]: The
android skillscommand suite allows for adding and managing skills. This dynamic skill loading capability can be used to extend the agent's functionality at runtime, which could be leveraged to execute arbitrary logic if malicious skills are introduced.
Recommendations
- HIGH: Downloads and executes remote code from: https://dl.google.com/android/cli/latest/linux_x86_64/install.sh - DO NOT USE without thorough review
Audit Metadata