jif
bce96bcb43
Reject oversized reviewed terminal input ( #41159 )
...
## Why
Reviewing a shortened `write_stdin` action while sending the complete input could allow unreviewed bytes to reach an escalated terminal.
## What changed
- Require the fully formatted action and approval reason to fit within 8,000 bytes.
- Reject truncated or oversized actions before requesting approval or writing any bytes to the terminal.
- Document the reviewed stdin size limit in the app-server protocol.
## Testing
Add an integration test that uses JSON escaping to push a formatted action over the limit and verifies that it is neither offered for approval nor executed, while a subsequent valid write still succeeds.
GitOrigin-RevId: f6c96a78a65a136366c8119a7d242dfc2ec05fe6
2026-08-27 14:54:13 +00:00
..
2026-08-24 22:40:35 +00:00
2026-08-27 02:19:10 +00:00
2026-08-27 14:54:13 +00:00
2026-08-18 23:05:52 +00:00
2026-08-27 07:50:05 +00:00
2026-08-25 03:08:33 +00:00
2026-08-24 21:39:48 +00:00
2026-08-20 08:10:08 +00:00
2026-08-25 07:37:42 +00:00
2026-08-24 21:39:48 +00:00
2026-08-20 19:28:32 +00:00
2026-08-17 22:37:14 +00:00
2026-08-26 19:02:02 +00:00
2026-08-25 16:38:46 +00:00
2026-08-25 21:34:05 +00:00
2026-08-27 01:55:53 +00:00
2026-08-27 01:55:53 +00:00
2026-08-27 01:55:53 +00:00
2026-08-21 16:50:34 +00:00
2026-08-27 07:50:05 +00:00
2026-08-18 23:47:00 +00:00
2026-08-25 21:20:51 +00:00
2026-08-27 11:27:50 +00:00
2026-08-26 19:31:52 +00:00
2026-08-23 18:53:15 +00:00
2026-08-27 14:54:13 +00:00
2026-08-25 21:20:51 +00:00
2026-08-26 22:58:54 +00:00
2026-08-26 23:58:10 +00:00
2026-08-27 02:23:03 +00:00
2026-08-25 23:38:49 +00:00
2026-08-17 04:37:50 +00:00
2026-08-27 14:49:32 +00:00
2026-08-26 15:02:21 +00:00
2026-08-26 23:05:08 +00:00
2026-08-18 21:46:18 +00:00
2026-08-25 18:04:01 +00:00
2026-08-25 21:34:05 +00:00
2026-08-25 01:03:20 +00:00
2026-08-25 10:29:26 +00:00
2026-08-17 00:09:44 +00:00
2026-08-26 23:41:18 +00:00
2026-08-25 21:08:22 +00:00
2026-08-26 21:39:05 +00:00
2026-08-26 15:02:21 +00:00
2026-08-24 21:39:48 +00:00
2026-08-26 14:36:48 +00:00
2026-08-27 06:58:07 +00:00
2026-08-25 18:41:03 +00:00
2026-08-25 22:46:49 +00:00
2026-08-21 21:01:59 +00:00
2026-08-25 15:50:19 +00:00
2026-08-27 08:44:54 +00:00
2026-08-26 17:45:42 +00:00
2026-08-21 16:45:05 +00:00
2026-08-27 00:02:26 +00:00
2026-08-26 23:58:10 +00:00
2026-08-24 17:07:21 +00:00
2026-08-26 23:49:05 +00:00
2026-08-20 17:39:06 +00:00
2026-08-20 06:10:03 +00:00
2026-08-26 22:37:59 +00:00
2026-08-20 18:29:35 +00:00
2026-08-26 23:58:10 +00:00
2026-08-27 02:00:31 +00:00
2026-08-27 14:09:15 +00:00
2026-08-26 23:49:05 +00:00
2026-08-20 14:55:08 +00:00
2026-08-26 21:52:56 +00:00
2026-08-15 14:31:04 +00:00
2026-08-25 21:44:43 +00:00
2026-08-27 01:55:53 +00:00
2026-08-25 21:34:05 +00:00
2026-08-18 22:00:25 +00:00