bigquery-ai

Warn

Audited by Gen Agent Trust Hub on Oct 26, 2026

Risk Level: MEDIUMPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: Several narrative walkthroughs, including 'narrative/ai_embed.md', 'narrative/ai_similarity.md', and 'narrative/image_deduplication.md', contain Python code that executes 'sudo apt-get install' to install system-level dependencies such as 'poppler-utils'. This pattern allows the agent to acquire root-level permissions to modify the underlying system.
  • [COMMAND_EXECUTION]: Multiple files, such as 'narrative/ai_agg.md', 'narrative/ai_classify.md', and 'narrative/ml_annotate_image.md', utilize the 'subprocess' module to execute 'gcloud' and 'bq' command-line tools. These commands are used for administrative actions like creating cloud resource connections and adding project-level IAM policy bindings (e.g., 'roles/aiplatform.user') to service accounts.
  • [INDIRECT_PROMPT_INJECTION]: The skill demonstrates a significant surface for indirect prompt injection across its core workflows. 1. Ingestion points: The skill frequently reads untrusted content from BigQuery tables and GCS objects (e.g., in 'narrative/ai_agg.md' and 'narrative/ai_generate.md'). 2. Boundary markers: Most provided prompt templates do not use delimiters or include instructions for the model to ignore embedded commands in the data. 3. Capability inventory: The skill environment has access to system command execution and network operations for interacting with Cloud APIs. 4. Sanitization: No sanitization or input validation logic is applied to data before it is interpolated into LLM prompts.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 26, 2026, 07:12 PM