viyatb-oai
7aa8f51049
Reject sandbox-writable bubblewrap executables from PATH ( #51211 )
...
## Why
Bubblewrap discovery probes executables before confinement. Excluding only the command's current directory leaves candidates in other writable roots eligible to run outside the sandbox.
## What changed
- Filter canonical `PATH` candidates using the filesystem policy and effective user permissions, including writable ancestors, symlinked roots, and full-disk write access. Preserve protected system installations while rejecting replaceable paths.
- Select the launcher with the command's permissions before the proc-mount preflight, retaining the bundled bubblewrap fallback.
- Use the effective permission profile and policy working directory for startup warning probes.
## Testing
Add unit coverage for writable roots, symlinks, read-only carveouts, replaceable parents, and full-disk policies. Add Linux integration tests showing writable `bwrap` candidates are neither probed nor launched, including when the command runs in a workspace subdirectory or uses managed networking with full-disk write access.
GitOrigin-RevId: 188c9f45e727eaace062f5abb1205dc23fdf3c51
2026-10-06 00:58:19 +00:00
..
2026-10-02 07:22:28 +00:00
2026-10-04 06:46:50 +00:00
2026-10-06 00:16:44 +00:00
2026-10-02 06:22:31 +00:00
2026-09-20 00:34:38 +00:00
2026-09-20 00:06:00 +00:00
2026-10-02 07:22:28 +00:00
2026-10-02 21:42:23 +00:00
2026-10-02 15:56:32 +00:00
2026-10-02 15:56:32 +00:00
2026-09-23 15:05:59 +00:00
2026-09-20 16:44:47 +00:00
2026-09-10 06:06:21 +00:00
2026-10-05 09:51:15 +00:00
2026-10-03 03:06:40 +00:00
2026-09-21 03:38:46 +00:00
2026-09-29 00:18:20 +00:00
2026-09-29 00:18:20 +00:00
2026-09-20 16:44:47 +00:00
2026-10-04 04:25:31 +00:00
2026-09-16 16:56:18 +00:00
2026-10-01 05:18:04 +00:00
2026-10-03 03:06:40 +00:00
2026-10-05 09:51:15 +00:00
2026-10-03 03:06:40 +00:00
2026-09-29 00:18:20 +00:00
2026-09-12 04:29:48 +00:00
2026-10-04 04:25:31 +00:00
2026-10-03 03:06:40 +00:00
2026-09-30 04:48:50 +00:00
2026-10-06 00:16:44 +00:00
2026-09-08 05:39:17 +00:00
2026-10-04 03:51:52 +00:00
2026-09-21 00:16:33 +00:00
2026-09-29 16:00:05 +00:00
2026-09-29 00:40:54 +00:00
2026-09-24 22:44:55 +00:00
2026-09-24 22:44:55 +00:00
2026-10-01 05:25:31 +00:00
2026-09-20 23:23:13 +00:00
2026-10-03 03:00:46 +00:00
2026-10-06 00:16:44 +00:00
2026-09-29 23:09:32 +00:00
2026-10-01 17:22:19 +00:00
2026-10-04 04:25:31 +00:00
2026-09-26 04:09:02 +00:00
2026-09-23 00:49:19 +00:00
2026-09-21 00:16:33 +00:00
2026-09-24 17:21:45 +00:00
2026-09-20 03:02:25 +00:00
2026-09-19 20:27:28 +00:00
2026-09-19 20:27:28 +00:00
2026-09-20 00:34:38 +00:00
2026-09-20 00:34:38 +00:00
2026-09-26 22:50:16 +00:00
2026-10-01 02:05:43 +00:00
2026-09-20 00:06:25 +00:00
2026-10-02 07:22:28 +00:00
2026-09-28 00:53:05 +00:00
2026-09-04 21:17:25 +00:00
2026-09-29 04:13:14 +00:00
2026-10-02 21:40:39 +00:00
2026-09-16 01:50:50 +00:00
2026-09-21 00:22:58 +00:00
2026-09-20 00:34:38 +00:00
2026-10-01 04:17:31 +00:00
2026-10-03 02:52:56 +00:00
2026-09-22 18:06:15 +00:00
2026-10-03 07:45:47 +00:00
2026-10-04 04:33:42 +00:00
2026-10-03 07:45:47 +00:00
2026-09-21 07:01:52 +00:00
2026-09-16 19:58:06 +00:00
2026-09-02 04:20:38 +00:00
2026-09-17 18:20:28 +00:00
2026-09-25 08:25:37 +00:00
2026-09-02 21:50:51 +00:00
2026-09-22 22:45:08 +00:00
2026-10-01 02:59:26 +00:00
2026-09-08 21:41:02 +00:00
2026-09-12 18:16:17 +00:00
2026-09-22 20:11:14 +00:00
2026-09-20 00:03:43 +00:00
2026-10-02 06:22:31 +00:00
2026-09-20 03:02:25 +00:00
2026-10-01 01:35:40 +00:00
2026-09-25 15:34:02 +00:00
2026-10-01 05:18:04 +00:00
2026-09-29 00:40:54 +00:00
2026-10-01 17:22:19 +00:00
2026-10-02 21:40:39 +00:00
2026-09-19 17:03:26 +00:00
2026-10-02 15:56:32 +00:00
2026-09-29 04:17:32 +00:00
2026-10-02 02:27:25 +00:00
2026-10-04 16:57:01 +00:00
2026-10-06 00:58:19 +00:00
2026-09-20 03:02:25 +00:00
2026-10-04 16:57:01 +00:00
2026-10-02 06:22:31 +00:00
2026-10-04 06:46:50 +00:00
2026-08-25 03:08:33 +00:00
2026-10-01 05:25:31 +00:00
2026-10-03 03:00:46 +00:00
2026-10-02 21:40:39 +00:00
2026-10-01 05:25:31 +00:00
2026-10-01 05:25:31 +00:00
2026-09-19 00:19:20 +00:00
2026-09-19 00:19:20 +00:00
2026-09-20 00:04:04 +00:00
2026-09-24 17:55:29 +00:00
2026-09-20 20:38:26 +00:00
2026-09-20 20:38:26 +00:00
2026-09-27 23:02:36 +00:00
2026-09-26 22:40:08 +00:00
2026-09-08 05:12:10 +00:00
2026-09-08 05:12:10 +00:00
2026-09-21 07:01:52 +00:00
2026-09-21 07:01:52 +00:00
2026-09-21 07:01:52 +00:00
2026-09-08 05:39:17 +00:00
2026-09-22 22:47:12 +00:00
2026-10-01 04:15:13 +00:00
2026-09-25 20:26:45 +00:00
2026-09-30 03:33:19 +00:00