Problem
packages/cli/src/sprite/sprite.ts in installSpriteKeepAlive() downloads the keep-alive script from a personal/dev VM:
const scriptUrl = "https://kurt-claw-f.sprites.app/sprite-keep-running.sh";
This was introduced in PR #2428 (commit 72ccb098). The URL kurt-claw-f.sprites.app appears to be a personal Sprite VM — not an official hosted asset.
Risk
- If the VM is shut down, stopped, or deleted, the keep-alive install silently fails for ALL users deploying to Sprite
- Users have no indication this is a dependency on a personal VM
- The script is downloaded and executed on remote VMs (
chmod +x + run) — security risk if the VM gets compromised
Suggested Fix
Host sprite-keep-running.sh at an official location:
- Upload to
https://openrouter.ai/labs/spawn/shared/sprite-keep-running.sh (the CDN proxy)
- Or host in the spawn GitHub repo under
sh/shared/ and serve via raw.githubusercontent.com
- Or bundle the keep-alive logic directly in the TypeScript code without a remote download
Context
- File:
packages/cli/src/sprite/sprite.ts lines 613-622
- Test:
packages/cli/src/__tests__/sprite-keep-alive.test.ts line 86 (also hardcodes the URL)
Problem
packages/cli/src/sprite/sprite.tsininstallSpriteKeepAlive()downloads the keep-alive script from a personal/dev VM:This was introduced in PR #2428 (commit
72ccb098). The URLkurt-claw-f.sprites.appappears to be a personal Sprite VM — not an official hosted asset.Risk
chmod +x+ run) — security risk if the VM gets compromisedSuggested Fix
Host
sprite-keep-running.shat an official location:https://openrouter.ai/labs/spawn/shared/sprite-keep-running.sh(the CDN proxy)sh/shared/and serve via raw.githubusercontent.comContext
packages/cli/src/sprite/sprite.tslines 613-622packages/cli/src/__tests__/sprite-keep-alive.test.tsline 86 (also hardcodes the URL)