No description
sshGet() and deploy() built SSH commands via template literal string interpolation, which would allow shell injection if host/path values from the app registry were tampered with. Replaced with spawnAsync() using shell: false and explicit argv arrays. Added path validation guard (/^\/opt\/[a-z0-9-]+$/) before both SSH calls. Also removes the event-loop-blocking execSync in deploy(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| backup | ||
| updater | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||