Ben Barclay
99a69efede
fix(sandbox): an acquired process stream stays its agent's (round-2 finding 16)
...
start_process and attach_process returned the backend's raw stdin/stdout/poll, so a
stream acquired under A could be read or written by anyone holding it under B. They
now return ScopedPipe proxies and a scoped poll. Every pipe operation (read, write,
flush, close, fileno, iteration, attribute access) and poll() checks the bound scope
against the sandbox's identity first, and refuses with CrossAgentHandleRefused under
another agent or with no scope bound. The foreign_handle_refused conformance check
drives the real stub process stream under B. A unit test covers start and attach.
2026-11-11 10:22:54 -05:00
..
2026-10-29 19:03:57 +05:30
2026-10-29 16:58:09 +05:30
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-11-10 01:06:30 -08:00
2026-10-23 16:04:50 -07:00
2026-11-08 11:53:54 -08:00
2026-11-09 17:07:28 -08:00
2026-11-05 02:13:06 -08:00
2026-11-04 21:28:26 -08:00
2026-11-09 17:07:28 -08:00
2026-10-31 23:05:03 -07:00
2026-11-04 21:28:26 -08:00
2026-10-21 04:12:11 -07:00
2026-11-10 13:52:56 -08:00
2026-11-10 22:29:30 -08:00
2026-11-10 10:48:50 -05:00
2026-11-05 08:39:58 +05:30
2026-11-04 21:01:10 -08:00
2026-11-04 08:01:12 -08:00
2026-11-04 08:01:12 -08:00
2026-11-04 21:01:10 -08:00
2026-11-04 08:01:12 -08:00
2026-10-27 16:30:14 +05:30
2026-10-31 14:33:38 +05:30
2026-10-23 16:04:50 -07:00
2026-10-29 16:58:09 +05:30
2026-10-23 01:43:16 -07:00
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-11-07 09:46:07 -08:00
2026-10-23 01:41:23 -07:00
2026-10-23 01:43:17 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-11-07 12:54:11 -08:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-31 14:33:38 +05:30
2026-11-11 10:22:54 -05:00
2026-10-28 13:12:40 -07:00
2026-10-25 05:32:43 -07:00
2026-11-06 22:59:41 -08:00
2026-11-06 22:59:41 -08:00
2026-11-11 10:22:54 -05:00
2026-11-05 23:12:42 -08:00
2026-11-05 23:12:42 -08:00
2026-11-05 23:12:42 -08:00
2026-11-09 17:07:28 -08:00
2026-11-10 22:29:30 -08:00
2026-11-10 22:29:30 -08:00
2026-11-11 01:58:47 -08:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-10-22 05:26:10 -07:00
2026-11-03 10:28:21 -08:00
2026-11-10 22:29:30 -08:00
2026-11-10 10:48:50 -05:00
2026-11-08 20:09:42 +05:30
2026-11-06 19:39:15 -05:00
2026-11-04 21:50:30 -08:00
2026-11-10 13:36:37 +05:30
2026-10-23 00:37:14 -07:00
2026-11-06 22:07:09 -05:00
2026-10-22 14:37:10 -07:00
2026-11-11 10:22:54 -05:00
2026-10-22 14:37:10 -07:00
2026-11-06 22:59:41 -08:00
2026-10-22 05:26:10 -07:00
2026-10-28 18:54:14 -07:00
2026-10-23 15:33:14 -07:00
2026-10-29 16:58:09 +05:30
2026-10-28 18:54:14 -07:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-10-23 16:04:50 -07:00
2026-11-04 21:27:21 -08:00
2026-11-11 10:22:54 -05:00
2026-10-31 23:05:03 -07:00
2026-10-20 12:30:50 -07:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-10-23 16:04:50 -07:00
2026-11-10 22:29:30 -08:00
2026-10-23 14:01:02 -07:00
2026-10-27 12:57:09 -07:00
2026-11-04 02:23:52 +05:30
2026-11-02 14:54:42 -08:00
2026-11-08 11:53:54 -08:00
2026-11-04 21:30:46 -08:00
2026-11-08 11:53:54 -08:00
2026-10-21 04:12:11 -07:00
2026-11-03 08:30:46 -08:00
2026-10-23 17:40:33 -07:00
2026-10-20 23:36:32 -04:00
2026-11-08 11:53:54 -08:00
2026-10-29 16:58:09 +05:30
2026-10-21 21:39:02 -04:00
2026-11-08 11:53:54 -08:00
2026-11-08 11:53:54 -08:00
2026-10-21 04:12:11 -07:00
2026-11-11 10:22:54 -05:00
2026-11-10 22:56:14 +01:00
2026-11-11 10:22:54 -05:00
2026-11-10 22:29:30 -08:00
2026-11-04 21:27:53 -08:00
2026-10-28 23:07:47 -07:00
2026-10-28 23:07:47 -07:00
2026-11-01 21:12:28 -08:00
2026-11-11 10:22:54 -05:00
2026-11-10 15:44:11 +05:30
2026-11-10 15:47:18 +05:30
2026-11-11 10:22:54 -05:00
2026-11-11 09:51:59 -05:00
2026-10-29 16:58:09 +05:30
2026-11-11 10:22:54 -05:00
2026-10-28 13:10:03 -07:00
2026-11-11 10:22:54 -05:00
2026-11-11 10:22:54 -05:00
2026-10-30 15:45:49 +05:30
2026-11-10 22:29:30 -08:00
2026-11-06 22:59:41 -08:00
2026-10-23 16:04:50 -07:00
2026-11-11 10:22:54 -05:00
2026-10-25 19:26:49 -07:00
2026-11-07 00:12:37 -05:00
2026-11-09 15:02:48 -08:00
2026-11-09 15:02:49 -08:00
2026-11-02 19:04:46 -05:00
2026-10-24 17:11:13 -07:00
2026-11-01 15:47:21 -08:00
2026-11-01 15:47:21 -08:00
2026-11-10 22:29:30 -08:00
2026-11-10 01:13:52 -08:00
2026-11-11 12:09:17 +05:30
2026-11-11 12:09:17 +05:30
2026-10-27 10:56:48 -04:00
2026-11-03 13:28:32 -08:00
2026-10-27 10:56:48 -04:00
2026-10-24 04:01:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-24 18:44:31 -07:00
2026-11-09 17:07:28 -08:00
2026-11-11 09:44:33 -05:00
2026-11-11 10:22:54 -05:00
2026-11-10 22:29:30 -08:00
2026-11-10 13:36:37 +05:30
2026-11-01 15:47:21 -08:00
2026-11-11 10:22:54 -05:00
2026-10-24 18:48:01 -07:00
2026-11-11 10:22:54 -05:00
2026-10-22 02:53:12 -04:00
2026-11-10 22:29:30 -08:00
2026-10-28 13:09:00 -07:00
2026-11-11 10:22:54 -05:00
2026-10-24 18:55:33 -07:00
2026-11-10 20:05:34 -08:00
2026-11-10 23:20:02 -08:00
2026-10-23 16:04:50 -07:00
2026-11-11 10:22:54 -05:00
2026-11-10 07:10:19 +00:00
2026-10-29 16:58:09 +05:30
2026-10-25 15:58:23 -07:00
2026-10-25 13:07:21 -07:00
2026-11-10 22:29:30 -08:00
2026-11-09 15:02:48 -08:00
2026-11-10 22:29:30 -08:00
2026-11-11 10:22:54 -05:00
2026-11-05 10:15:02 -08:00
2026-10-27 16:30:14 +05:30
2026-10-29 16:58:09 +05:30
2026-10-28 13:54:02 -07:00
2026-10-28 13:54:02 -07:00
2026-10-28 13:13:12 -07:00
2026-10-23 16:04:50 -07:00
2026-10-25 18:54:09 -07:00
2026-10-23 16:04:50 -07:00
2026-11-10 22:29:30 -08:00