Back to Home
bugzy-ai icon

cloudrun-claude-code

Verified Safe

by bugzy-ai

Overview

Cloud Run service for executing Claude Code AI agent tasks with secure credential handling and flexible configuration, ideal for GitOps and CI/CD workflows.

Installation

Run Command
node --env-file=.env dist/server.js

Environment Variables

  • GCS_LOGS_BUCKET
  • PROJECT_ID
  • KMS_KEY_RING
  • KMS_KEY_NAME
  • CLOUDRUN_JOB_NAME
  • CLOUDRUN_CALLBACK_SECRET

Security Notes

The server demonstrates a strong focus on security, especially regarding sensitive data. Credentials (Anthropic API keys, OAuth tokens, SSH private keys, environment variables) are passed in the request payload and handled securely. They are encrypted using Google Cloud KMS before being temporarily stored in Google Cloud Storage, then decrypted in isolated Cloud Run Job workers. A local proxy prevents the Claude CLI from directly accessing real credentials. Webhook callbacks are HMAC-SHA256-signed for authenticity, using a secret retrieved from Secret Manager. Ephemeral workspaces, user isolation within Docker, and explicit environment variable control further enhance security boundaries. The use of `StrictHostKeyChecking=no` in the GitService is noted, but within the context of ephemeral, single-use workspaces, it mitigates typical man-in-the-middle concerns by preventing interactive prompts.

Similar Servers

Stats

Interest Score38
Security Score9
Cost ClassMedium
Avg Tokens15000
Stars10
Forks1
Last Update2026-01-19

Tags

Cloud RunClaude CodeAI AgentServerlessGCP