android-emulator-skill
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill extensively uses the
subprocessmodule to wrap and execute system commands for the Android Debug Bridge (adb) and the Android Emulator. These commands are used to manage the device lifecycle, install/uninstall packages, and interact with the screen. - [DYNAMIC_EXECUTION]: The
scripts/build_and_test.pyscript dynamically locates and executes thegradlewwrapper script within the user's project directory. This involves executing a project-local script whose content is not controlled by the skill itself. - [INDIRECT_PROMPT_INJECTION]: The skill exposes the agent to indirect prompt injection by ingesting untrusted data from the Android device environment.
- Ingestion points:
scripts/screen_mapper.pyandscripts/navigator.pyextract UI element text and descriptions from the device's UI hierarchy (XML), whilescripts/log_monitor.pystreams system logs vialogcat. - Boundary markers: The skill does not implement delimiters or specific instructions to ensure that text content from the device is treated strictly as data and not as instructions for the agent.
- Capability inventory: The skill possesses significant capabilities, including the ability to execute shell commands on the host and the connected device, install software, and modify device settings.
- Sanitization: UI data and logs are retrieved and presented to the agent without sanitization or filtering for potential prompt injection payloads.
Audit Metadata