mail-watch
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill accesses local authentication tokens, such as
google_token.json, to perform actions in Gmail. It is recommended to use credentials with the minimum necessary scope. - [COMMAND_EXECUTION]: It uses system calls to run the Google Workspace CLI tool for searching and retrieving email data.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted email content from Gmail. Ingestion points:
context.messages[]inSKILL.mdandmessage_infoinscripts/mail_watch.py. Boundary markers: instructions inSKILL.mdtell the agent to treat content as data only. Capability inventory: the skill can execute commands (subprocess.run), download files (fetch), and write executable scripts (cmd_install). Sanitization: no automated sanitization or filtering of email text is implemented. - [DYNAMIC_EXECUTION]: The skill generates a local Python wrapper script using a fixed template and modifies its file permissions to make it executable.
- [PERSISTENCE]: It configures scheduled monitoring tasks via
hermes cron, allowing the monitoring to persist across sessions. - [EXTERNAL_DOWNLOADS]: It identifies the official Google Workspace CLI tool as a requirement for interacting with Google APIs.
Audit Metadata