spawn/cli/src
A f95d2e4a97
test: add 114 security regression tests for upload_file across all clouds (#465)
Static analysis tests that verify every cloud's upload_file() function
uses safe patterns to prevent command injection. Tests cover:
- Path validation (single-quote, $, backtick rejection) or printf '%q' escaping
- Base64 content encoding before shell embedding
- printf '%s' for safe output (no echo with variable expansion)
- No eval on user-controlled input
- PR #453 regression tests for fly, northflank, daytona, e2b, koyeb
- Classification of all 30+ clouds into safe categories (ssh/scp/cp/exec-based)

Agent: test-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-11 07:26:28 -08:00
..
__tests__ test: add 114 security regression tests for upload_file across all clouds (#465) 2026-02-11 07:26:28 -08:00
commands-logic.ts test: Add command logic tests and refactor for testability (#56) 2026-02-08 12:02:43 -08:00
commands.ts fix: improve user-facing messages and error text across CLI and shell scripts (#464) 2026-02-11 07:26:00 -08:00
index.ts fix: show runtime/platform in spawn version, clarify compact list legend (#456) 2026-02-11 06:55:24 -08:00
manifest.ts fix: Improve error messages with actionable troubleshooting guidance (#368) 2026-02-10 23:45:20 -08:00
security.ts fix: improve error messages with actionable guidance (#447) 2026-02-11 05:20:31 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts fix: improve user-facing messages and error text across CLI and shell scripts (#464) 2026-02-11 07:26:00 -08:00