termux-api
Pass
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides and instructs the agent to run a diagnostic shell script (
scripts/check-termux-api.sh). - The script uses the
command -vutility to check for the existence of thetermux-battery-statusbinary. - It executes
timeout 10 termux-battery-statusto verify that the Termux:API communication layer is functioning correctly. - The script is designed to be non-intrusive, redirecting command output to
/dev/nullto focus solely on availability status. - [SAFE]: The skill follows security best practices for environment interaction.
- It includes a dedicated 'Safety' section that explicitly warns the agent about the sensitive nature of certain Termux API capabilities (e.g., location, SMS, contacts).
- It instructs the agent to follow the principle of least privilege, only requesting specific capabilities and asking the user before performing any write or send operations.
- The use of the
timeoutcommand is mandated to prevent the agent from hanging on unresponsive local services.
Audit Metadata