gcp-cloud-run
Pass
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents patterns for ingesting untrusted data from multiple external sources.
- Ingestion Points: Code snippets in
SKILL.mddemonstrate handling data from HTTP webhooks (req.body), Cloud Pub/Sub messages (message.data), and Cloud Storage events (cloudEvent.data). - Capability Inventory: The patterns include capabilities for network requests (
httpx,PubSub.publishMessage), database execution (pg,sqlalchemy), and cloud task creation. - Sanitization & Boundary Markers: The provided implementation examples lack explicit input validation, sanitization, or boundary markers before processing or parsing the external data (e.g., direct
JSON.parseon decoded Pub/Sub buffers). - [COMMAND_EXECUTION]: The skill provides numerous
gcloudshell commands for infrastructure deployment and configuration. - The
gcloud run deployandgcloud functions deployexamples frequently include the--allow-unauthenticatedflag, which creates publicly accessible endpoints by default. - [SAFE]: The skill promotes several security best practices for GCP serverless environments.
- It includes a multi-stage Dockerfile that uses the
USER nodedirective to avoid running as root. - It provides a dedicated section for
Secret Manager Integrationto avoid hardcoding credentials and uses placeholders for sensitive values. - It recommends using distroless images (
gcr.io/distroless/nodejs20-debian12) to reduce the attack surface.
Audit Metadata