You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three cora full-scan MAJORs around command surfaces:
run_command describe() joins argv unquoted (run_command.rs:116) — approval prompts cannot distinguish token boundaries (printf a b vs printf a,b identical; sh -c '<payload>' renders ambiguously). Re-quote tokens containing whitespace/quotes/metacharacters when rendering describe().
run_command.rs:222 test rm -rf with shared temp cwd — benign_commands_with_destructive_looking_args_pass executes rm -rf ./build with std::env::temp_dir() as the jail. Use an isolated per-test jail dir like execute_cwd_is_jailed does.
job id collision (jobs.rs:46) — j-{ms}-{pid} collides for two job_start calls in the same millisecond in one process. Add a process-wide AtomicU64 counter segment.
Acceptance: describe() unit tests for ambiguous argv; jail fix verified by the existing suite; job-id uniqueness asserted in a tight loop.
Activity
fix: quote describe() argv, isolate rm -rf test jail, unique job ids (#…
fix(approval): close child-coverage and deny_only gaps (#438)