gws

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: Includes instructions for installing the gws tool from official GitHub releases and well-known registries like npm. These references target the trusted googleworkspace organization and follow established distribution patterns.
  • [CREDENTIALS_UNSAFE]: Documents the gws auth export --unmasked command, which allows users to export plaintext OAuth tokens for use in headless environments. The documentation provides warnings regarding the sensitive nature of the exported file.
  • [DYNAMIC_EXECUTION]: The skill describes the tool's core mechanism of fetching Discovery Documents from Google's Discovery Service at runtime to dynamically generate its command surface, ensuring compatibility with the latest API updates.
  • [INDIRECT_PROMPT_INJECTION]:
  • Ingestion points: Ingests data from Gmail, Drive, Docs, and other Google Workspace services.
  • Boundary markers: Supports the --sanitize flag for Model Armor safety templates.
  • Capability inventory: Includes capabilities for sending emails, uploading files, and modifying spreadsheets.
  • Sanitization: Integrates with Google Cloud Model Armor to filter and sanitize API responses before they are output or processed.
  • [COMMAND_EXECUTION]: Documents the gws auth setup flow, which requires and executes the gcloud CLI to automate Google Cloud project creation and API enablement.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 10:35 AM