cloud-trace-querying

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • Managed Execution Environment: The skill utilizes a custom management system to create and run Python scripts within isolated virtual environments. This system uses os.execv to transition into the virtual environment and subprocess.Popen for background maintenance tasks, such as cleaning up stale environments. These patterns are used to ensure dependency isolation and a consistent runtime environment.
  • Dependency Installation: The skill automatically manages its Python dependencies by invoking pip install against a localized requirements.txt file. This occurs during the initial setup of the virtual environment to ensure all necessary libraries, such as google-cloud-trace and google-cloud-logging, are available.
  • Untrusted Telemetry Handling (Indirect Prompt Injection Surface): The skill retrieves data from external sources (Google Cloud Trace and Logging) that may contain content controlled by external parties. To mitigate the risk of the agent misinterpreting this data as instructions, the skill implements a protective tagging mechanism.
  • Ingestion points: Data is ingested via the fetch_logs, fetch_span, search_traces, and fetch_entire_trace functions.
  • Boundary markers: Output is wrapped in unique, randomly generated tags like <untrusted_telemetry_[token]> to help the agent distinguish between tool output and instructions.
  • Capability inventory: The skill executes bash scripts, gcloud commands, and Python scripts with network access to Google Cloud APIs.
  • Sanitization: The skill relies on structured JSON output and the aforementioned boundary markers rather than deep content sanitization.
  • Official Service Interaction: The skill communicates exclusively with established Google Cloud API endpoints (e.g., cloudtrace.googleapis.com, logging.googleapis.com) to perform its diagnostic tasks. These interactions are consistent with the skill's stated purpose of cloud observability.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 10:16 AM