android-intent-probe
Pass
Audited by Gen Agent Trust Hub on Aug 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted data from external sources, including APK scan reports and live output from the Android Debug Bridge (adb). This data, which includes component names, provider authorities, and crash logs, is interpolated into the agent's context. While the tool categorizes results, the ingested content is not explicitly sanitized to remove potential instructions that could influence the agent's behavior.
- Ingestion points: The
load_inventoryfunction inscripts/intentprobe.pyreads metadata fromapkscan.json, and theDevice.shellmethod captures results and logs from the connected device. - Boundary markers: Findings are structured into specific result categories, providing some structural separation, but the skill does not use explicit delimiters or warnings to instruct the agent to ignore instructions within the raw data snippets.
- Capability inventory: The skill has the ability to execute shell commands via adb and write JSON reports to the local filesystem.
- Sanitization: The script employs
shlex.quoteto protect the target device from command injection, but does not sanitize the data for prompt injection patterns before presenting it to the agent. - [COMMAND_EXECUTION]: The Python script executes shell commands using the
subprocessmodule to interact with the Android Debug Bridge (adb) utility. It invokes commands such asadb devices,adb shell, andadb logcatto probe application components. - Evidence: Found in the
Deviceclass andfind_adbfunction withinscripts/intentprobe.py. - Mitigations: The script correctly uses
shlex.quoteto escape arguments before they are passed to the device shell, which prevents command injection from malicious strings found in the application manifest.
Audit Metadata