google-workspace
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data, creating an attack surface for malicious instructions to influence the agent's behavior.\n
- Ingestion points: In
scripts/google_api.py, the skill fetches content from Gmail messages (gmail get), Google Docs (docs get), and Drive files.\n - Boundary markers: There are no explicit boundaries or instructions to the agent to treat fetched content as data rather than instructions.\n
- Capability inventory: The skill possesses significant capabilities that could be misused, such as sending emails (
gmail send), modifying labels, creating/deleting calendar events, and updating spreadsheets.\n - Sanitization: No sanitization is implemented to filter or escape instructions embedded within the retrieved messages or documents.\n- [EXTERNAL_DOWNLOADS]: The skill installs necessary Google API libraries through the setup script.\n
- Evidence:
scripts/setup.pyusessubprocess.check_callto installgoogle-api-python-client,google-auth-oauthlib, andgoogle-auth-httplib2via pip.\n- [COMMAND_EXECUTION]: The skill uses an external CLI tool to handle Workspace operations when available.\n - Evidence:
scripts/google_api.pyandscripts/gws_bridge.pyexecute thegwsbinary usingsubprocess.runto interact with Google Workspace APIs.
Audit Metadata