oliver-zehentleitner / maity
runner: safe bounded reads of clone files outside the supervisor lock; log limit enforced
tsk-vyp87d3hnbem Done An agent
From the lead's security review (2026-11-13). Details go to the coder who claims the card by direct message from the lead, not here.
Runner availability:
- Everything the supervisor reads from a clone is read safely (no links followed, non-blocking, regular files only, size-capped), with a bounded and timed-out read on the separate-user path, and never while holding the supervisor's main lock; inspecting a clone happens in the start task after the existing clone checks.
- The per-placement log limit that the configuration documents is enforced, and a full disk doesn't stop the runner service for good.
Tests: item 1 with a FIFO, a link to an endless device and a huge sparse file as the clone's git config; item 2 with a log over the limit and a failing status write.
Area: cli (runner). Severity: medium.