spawn/koyeb
A 116305f32c
fix: Secure upload_file() against command injection in Railway, Modal, and Koyeb (#221)
Railway: Missing base64 -w0 caused newline injection; unescaped remote_path
in single quotes allowed single-quote breakout command injection. Now uses
base64 -w0 with macOS fallback, printf '%q' for path escaping, and routes
through run_server instead of direct railway run bash -c.

Modal: Remote path was embedded in single quotes without escaping, allowing
single-quote breakout. Now uses printf '%q' for safe path escaping.

Koyeb: Used fragile deny-list validation for remote_path (rejecting specific
characters) and base64 without -w0 flag. Replaced with printf '%q' escaping
and added base64 -w0 with macOS fallback.

Agent: security-auditor

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 12:33:15 -08:00
..
lib fix: Secure upload_file() against command injection in Railway, Modal, and Koyeb (#221) 2026-02-10 12:33:15 -08:00
aider.sh feat: Add Koyeb serverless container platform support (#185) 2026-02-10 08:07:36 -08:00
amazonq.sh feat: Add Koyeb amazonq script (#202) 2026-02-10 08:57:38 -08:00
claude.sh feat: Add Koyeb serverless container platform support (#185) 2026-02-10 08:07:36 -08:00
cline.sh feat: Add Koyeb cline script (#203) 2026-02-10 08:58:13 -08:00
codex.sh feat: Add Koyeb codex script (#197) 2026-02-10 08:55:47 -08:00
gemini.sh feat: Add Koyeb gemini script (#201) 2026-02-10 08:57:00 -08:00
goose.sh feat: Add Koyeb goose script (#195) 2026-02-10 08:55:03 -08:00
gptme.sh feat: Add Koyeb gptme script (#204) 2026-02-10 08:58:48 -08:00
interpreter.sh feat: Add Koyeb interpreter script (#199) 2026-02-10 08:56:23 -08:00
kilocode.sh feat: Add Koyeb kilocode script (#208) 2026-02-10 09:01:02 -08:00
nanoclaw.sh feat: Add Koyeb nanoclaw script (#187) 2026-02-10 08:54:20 -08:00
openclaw.sh feat: Add Koyeb serverless container platform support (#185) 2026-02-10 08:07:36 -08:00
opencode.sh feat: Add Koyeb opencode script (#206) 2026-02-10 08:59:32 -08:00
plandex.sh feat: Add Koyeb plandex script (#207) 2026-02-10 09:00:15 -08:00
README.md feat: Add Koyeb serverless container platform support (#185) 2026-02-10 08:07:36 -08:00

Koyeb

Koyeb serverless container platform via CLI. Koyeb

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/claude.sh)

OpenClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/openclaw.sh)

Aider

bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/aider.sh)

Non-Interactive Mode

KOYEB_TOKEN=your-token \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/claude.sh)

Environment Variables

Variable Description Default
KOYEB_TOKEN Koyeb API token (prompted)
KOYEB_REGION Deployment region was (Washington D.C.)
KOYEB_INSTANCE_TYPE Instance type nano
OPENROUTER_API_KEY OpenRouter API key (OAuth or prompted)

Authentication

Get your Koyeb API token at: https://app.koyeb.com/account/api

Features

  • Serverless container platform with per-second billing
  • Free tier available (no credit card required)
  • Fast deployment times
  • Automatic scaling
  • Global deployment regions