google-workspace
Pass
Audited by Gen Agent Trust Hub on Nov 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
gwscommand-line utility to interact with Google Workspace APIs. scripts/google_api.pyandscripts/gws_bridge.pyinvokesubprocess.runto call thegwsbinary.- [CREDENTIALS_UNSAFE]: The skill stores and retrieves sensitive OAuth2 authentication tokens and client secrets.
- Credentials are saved to
~/.hermes/google_token.jsonand~/.hermes/google_client_secret.jsonas seen inscripts/setup.py. - The storage is handled using
scripts/_secure_storage.py, which applies restricted file permissions (0600). - [INDIRECT_PROMPT_INJECTION]: The skill retrieves content from external, potentially untrusted sources such as emails and documents.
- Ingestion points: Functions in
scripts/google_api.pysuch asgmail_get,docs_get, andsheets_getread external data into the agent's context. - Boundary markers: There are no explicit markers or instructions provided to the agent to distinguish between its instructions and the retrieved content.
- Capability inventory: The skill possesses the ability to send emails, modify files, and manage calendar events (
scripts/google_api.py). - Sanitization: The retrieved data is processed as raw text without specific filtering for embedded instructions.
Audit Metadata