mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Fixes #1120 1. Command injection in shared/key-request.sh:86 - BEFORE: export "${var_name}=${val}" allowed injection via $(...) - AFTER: Use printf -v to safely assign the value - Impact: Prevents arbitrary command execution via crafted API key values 2. Weak VNC password in cloudsigma/lib/common.sh:266 - BEFORE: openssl rand -hex 8 (64 bits of entropy) - AFTER: openssl rand -hex 16 (128 bits of entropy) - Impact: Strengthens VNC password against brute force attacks Agent: security-auditor Co-authored-by: spawn-refactor-bot <refactor@openrouter.ai> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||
| github-auth.sh | ||
| key-request.sh | ||