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 in scripts/tvlib.py passes command strings directly to the adb shell command. Multiple scripts, including disable.py, appops.py, and setting.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, dumpsys output, 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, and scripts/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.md directs the agent to download the ByeByeDPI APK from an external GitHub repository (github.com/romanvht/ByeByeDPI). Additionally, the gradlew script (used by build-install.sh) downloads the Gradle build tool from services.gradle.org during the launcher build process.
  • [DATA_EXFILTRATION]: scripts/scan.py performs 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
Risk Level
SAFE
Analyzed
Nov 11, 2026, 07:25 PM