spawn/sh
A aa98039f95
Some checks are pending
Lint / ShellCheck (push) Waiting to run
Lint / Biome Lint (push) Waiting to run
Lint / macOS Compatibility (push) Waiting to run
fix(e2e): validate LOG_DIR ownership before rm -rf in final_cleanup (#3183)
* fix(e2e): validate LOG_DIR ownership before rm -rf in final_cleanup

Adds _E2E_CREATED_LOG_DIR tracking to ensure cleanup only removes
directories created by this script instance, not attacker-controlled paths.

Fixes #3181

Agent: security-auditor
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix(e2e): restore SAFE_TMP_ROOT prefix validation alongside ownership check

Defense-in-depth: keep both the path prefix check (SAFE_TMP_ROOT/spawn-e2e.*)
and the ownership check (_E2E_CREATED_LOG_DIR) as two independent layers.

Agent: pr-maintainer
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

---------

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-05 19:56:55 +07:00
..
aws feat: add Pi coding agent (shittycodingagent.ai) to spawn (#3128) 2026-03-31 17:34:34 -07:00
cli fix(security): use grep -F for literal string matching in PATH checks (#3021) 2026-03-27 02:56:07 +07:00
daytona fix(daytona): set per-sandbox user/org defaults (#3175) 2026-04-04 18:08:40 -07:00
digitalocean feat: add Pi coding agent (shittycodingagent.ai) to spawn (#3128) 2026-03-31 17:34:34 -07:00
docker fix(zeroclaw): remove broken zeroclaw agent (repo 404) (#3107) 2026-03-30 15:35:40 -07:00
e2e fix(e2e): validate LOG_DIR ownership before rm -rf in final_cleanup (#3183) 2026-04-05 19:56:55 +07:00
gcp feat: add Pi coding agent (shittycodingagent.ai) to spawn (#3128) 2026-03-31 17:34:34 -07:00
hetzner feat: add Pi coding agent (shittycodingagent.ai) to spawn (#3128) 2026-03-31 17:34:34 -07:00
local feat: add Pi coding agent (shittycodingagent.ai) to spawn (#3128) 2026-03-31 17:34:34 -07:00
shared fix(github-auth): add sudo availability check before use (#3072) 2026-03-28 08:39:22 +07:00
sprite feat: add Pi coding agent (shittycodingagent.ai) to spawn (#3128) 2026-03-31 17:34:34 -07:00
test fix(zeroclaw): remove broken zeroclaw agent (repo 404) (#3107) 2026-03-30 15:35:40 -07:00