Repository navigation
Clarify exec filesystem policy drift - #79153
Conversation
|
Codex review: needs real behavior proof before merge. Summary Reproducibility: yes. The linked issue has a high-confidence source reproduction path on current main: deny write/edit/apply_patch while allowing exec/process, then exec remains available as a shell surface wherever the selected host or sandbox filesystem permits writes. Real behavior proof Next step before merge Security Review detailsBest possible solution: Land a maintainer-reviewed version that clearly documents the name-only tool policy boundary and emits a targeted audit/doctor warning for unsafe read-only-looking configs. Do we have a high-confidence way to reproduce the issue? Yes. The linked issue has a high-confidence source reproduction path on current main: deny write/edit/apply_patch while allowing exec/process, then exec remains available as a shell surface wherever the selected host or sandbox filesystem permits writes. Is this the best way to solve the issue? Yes for a conservative diagnostic/docs fix. It avoids brittle shell-content inspection and uses existing audit/doctor surfaces, while leaving stronger enforcement as a separate maintainer security decision. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 31a710c5a632. |
* docs: clarify exec filesystem policy * fix: warn on exec filesystem policy drift * docs: clarify exec filesystem mutation surface
* docs: clarify exec filesystem policy * fix: warn on exec filesystem policy drift * docs: clarify exec filesystem mutation surface
* docs: clarify exec filesystem policy * fix: warn on exec filesystem policy drift * docs: clarify exec filesystem mutation surface
Summary
execread-onlyexecavailable without sandbox filesystem constraintsFixes #60694
Verification
pnpm test src/security/audit-exec-surface.test.ts src/commands/doctor-security.test.ts -- --runpnpm check:changedpnpm docs:check-mdxpnpm format:docs:checkpnpm docs:check-i18n-glossarypnpm lint:docsgit diff --checkgit diff --check origin/main...HEADafter clean rebase onto currentorigin/main