adb-magisk
Warn
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Multiple Python scripts utilize the
subprocess.runmodule to execute arbitrary shell commands via the Android Debug Bridge (ADB). scripts/adb-magisk-launch.pyexecutesadb shell am startto launch activities.scripts/adb-magisk-enable-zygisk.pyandscripts/adb-magisk-install-module.pyexecute variousadb shell input tapandadb shell getpropcommands.- [PRIVILEGE_ESCALATION]: The skill explicitly interacts with the device's root subsystem using the
sucommand to perform actions that bypass standard application sandboxing. workflow/magisk-verification.toonexecutessu -c 'id'andsu -c 'cat /data/adb/magisk.db'to verify root functionality.workflow/module-management.toonperforms sensitive file system operations such asrm -rf /data/adb/modules/{{ module_name }}which requires root privileges.- [INDIRECT_PROMPT_INJECTION]: The skill has a large ingestion surface for untrusted data that could influence agent behavior.
- It processes external Magisk module ZIP files in
scripts/adb-magisk-install-module.pywithout content validation. - It parses command output from the device (e.g.,
pm list packages,mount,ls /data/adb/modules/) in various workflows to determine its next execution steps. - [DATA_EXPOSURE]: The skill accesses protected areas of the device filesystem, such as
/data/adb/, to verify installation state and list modules, as seen inworkflow/magisk-verification.toon.
Audit Metadata