google-cloud-scc-query
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- Command Execution: The skill utilizes the
gcloudCLI to perform data retrieval tasks. These operations are limited tolistandgroupsubcommands, which are inherently read-only and align with the skill's stated purpose. The use of thegcloudtool allows the agent to interact with the cloud environment within the user's existing permission scope. - Configuration Adjustments: To support regional Data Residency, the skill provides commands to modify the
api_endpoint_overrides/securitycentersetting in thegcloudconfiguration. While this alters the environment, the skill includes instructions for unsetting these values when no longer needed to maintain environment hygiene. - Indirect Prompt Injection Surface: The skill is designed to ingest and analyze JSON payloads from external sources (Security Command Center findings). Because this data is external, it could potentially contain instructions aimed at the agent. * Ingestion points: Finding JSON data processed in
SKILL.mdandreferences/finding_schema.md. * Boundary markers: Instructions explicitly direct the agent to analyze only the data present in the finding payload and avoid querying underlying cloud resources like VMs or buckets. * Capability inventory: Capabilities are restricted to read-onlygcloudqueries and local configuration changes. * Sanitization: Command patterns use escaped filtering (e.g.,--filter="name=\"{finding_name}\"") to prevent simple injection into CLI arguments.
Audit Metadata