gws-cli
Pass
Audited by Gen Agent Trust Hub on May 11, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPROMPT_INJECTIONCOMMAND_EXECUTIONNO_CODE
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructs the user to install the
gwsCLI tool from official and well-known repositories, specificallygithub.com/googleworkspace/cliand the@googleworkspace/cliNPM package. These are recognized sources for Google Workspace developer tools. - [PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection attacks by facilitating the ingestion of data from untrusted external sources like Gmail, Drive, and Chat.
- Ingestion points: Data is brought into the agent's context through commands such as
gws gmail users messages getandgws drive files get, as documented inSKILL.mdandreferences/command-reference.md. - Boundary markers: The skill does not provide any specific boundary markers or instructions to the agent to disregard instructions contained within the retrieved Workspace content.
- Capability inventory: The agent is granted significant capabilities, such as sending emails (
gws gmail +send), creating calendar events, and modifying files, which could be exploited if malicious instructions in an email or file are executed. - Sanitization: The documentation includes 'Model Armor' helper commands for sanitizing inputs and outputs, but these are not mandated or integrated as default safety measures for all data ingestion tasks.
- [COMMAND_EXECUTION]: The skill's primary purpose is to provide instructions for the agent to execute shell commands using the
gwsCLI to manage Google Workspace services. - [NO_CODE]: This skill consists of documentation and evaluation files and does not ship with any executable scripts or binary files.
Audit Metadata