android-tv-setup
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on executing shell commands on the target Android TV using ADB. The
sh()helper function inscripts/tvlib.pypasses command strings directly to theadb shellcommand. Multiple scripts, includingdisable.py,appops.py, andsetting.py, interpolate package names and system property values into these strings using f-strings without sanitization. This creates a risk of command injection on the target device if a malicious package name or system property containing shell metacharacters is processed. - [INDIRECT_PROMPT_INJECTION]: The skill's core functionality requires the agent to ingest and interpret data from the TV (such as package lists,
dumpsysoutput, and system properties) to make management decisions. This data is untrusted and could be crafted by a malicious application on the TV to influence the agent's behavior or trick it into executing harmful commands. - Ingestion points: Output from
scripts/tv.py,scripts/backup.py, andscripts/privacy.py(which read package lists and device state). - Boundary markers: No explicit delimiters or instructions to ignore embedded commands were found in the processing scripts.
- Capability inventory: The skill has extensive capabilities, including arbitrary command execution via ADB, package disabling (
pm disable-user), permission modification (cmd appops), and system settings modification (settings put). - Sanitization: No sanitization or validation of strings retrieved from the device was observed before they were re-interpolated into commands.
- [EXTERNAL_DOWNLOADS]: The skill references and facilitates the retrieval of external software from third-party sources. Specifically,
references/dpi-bypass.mddirects the agent to download theByeByeDPIAPK from an external GitHub repository (github.com/romanvht/ByeByeDPI). Additionally, thegradlewscript (used bybuild-install.sh) downloads the Gradle build tool fromservices.gradle.orgduring the launcher build process. - [DATA_EXFILTRATION]:
scripts/scan.pyperforms an automated scan of the local network subnet to identify devices with open ports related to ADB (5555) and Google Cast (8008, 8009, 6466). While functional for device discovery, this behavior represents local network reconnaissance.
Audit Metadata