jif
7d9990fa30
Bind unified exec approvals to shell executables ( #39311 )
...
## Why
An unfamiliar executable can ignore its arguments, so trust in an apparent
inner command must not implicitly trust the executable that runs it.
## What changed
- Evaluate unfamiliar shell executables alongside their parsed commands when
determining unified exec approval requirements. Inner commands can add
restrictions, but cannot grant trust to the executable.
- Include the executable in reusable approval keys so approval for one custom
shell does not apply to another.
- Parse literal PowerShell scripts without launching the requested executable,
preserving command policy checks before approval.
## Testing
Add cross-platform coverage for spoofed shell paths, allowed and forbidden
inner commands, explicit custom-shell approval, and session approval isolation.
GitOrigin-RevId: 0dd2c7e9a2ac30965ef5fe5de1a8d2968bb5f9d0
2026-08-18 23:00:53 +00:00
..
2026-08-14 02:32:05 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-10 16:57:09 +00:00
2026-08-13 00:00:16 +00:00
2026-08-17 21:49:30 +00:00
2026-08-17 21:49:30 +00:00
2026-08-18 07:26:21 +00:00
2026-08-13 00:00:16 +00:00
2026-08-18 16:27:54 +00:00
2026-08-17 11:44:56 +00:00
2026-07-09 03:40:08 +00:00
2026-08-13 00:00:16 +00:00
2026-08-14 05:49:33 +00:00
2026-08-17 13:16:05 +00:00
2026-08-13 00:00:16 +00:00
2026-08-18 16:38:52 +00:00
2026-08-13 00:00:16 +00:00
2026-08-18 07:32:03 +00:00
2026-08-13 00:00:16 +00:00
2026-08-18 09:38:27 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 21:53:52 +00:00
2026-08-13 00:00:16 +00:00
2026-06-19 05:35:57 -07:00
2026-08-18 02:23:57 +00:00
2026-06-18 14:09:38 +02:00
2026-08-18 23:00:53 +00:00
2026-08-17 21:49:30 +00:00
2026-08-18 15:06:09 +00:00
2026-08-17 04:01:37 +00:00
2026-08-13 00:00:16 +00:00
2026-08-18 19:22:31 +00:00
2026-08-18 22:10:43 +00:00
2026-08-13 15:23:09 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-06-15 21:53:47 -07:00
2026-08-13 00:00:16 +00:00
2026-08-17 22:26:27 +00:00
2026-08-04 15:23:43 +00:00
2026-08-13 22:42:12 +00:00
2026-08-14 18:35:13 +00:00
2026-08-18 18:01:39 +00:00
2026-08-14 04:46:04 +00:00
2026-08-18 23:00:53 +00:00
2026-05-18 21:03:51 -07:00
2026-08-13 00:00:16 +00:00
2026-08-15 16:58:08 +00:00
2026-08-17 10:01:59 +00:00
2026-08-17 11:44:56 +00:00
2026-08-13 00:00:16 +00:00
2026-08-14 18:26:20 +00:00
2026-08-18 22:20:32 +00:00
2026-08-14 07:52:38 +00:00
2026-08-18 21:30:45 +00:00
2026-08-17 21:49:30 +00:00
2026-08-13 02:40:49 +00:00
2026-06-08 13:55:15 -07:00
2026-08-13 00:00:16 +00:00
2026-08-17 11:44:56 +00:00
2026-08-17 11:44:56 +00:00
2026-08-17 22:26:27 +00:00
2026-07-14 10:37:23 +00:00
2026-08-14 19:07:15 +00:00
2026-07-22 20:23:35 +00:00
2026-08-13 00:00:16 +00:00
2026-08-18 18:41:40 +00:00
2026-08-01 01:17:26 +00:00
2026-08-18 20:49:36 +00:00
2026-08-17 11:44:56 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-18 19:17:09 +00:00
2026-08-18 05:42:39 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-14 05:49:33 +00:00
2026-07-22 00:50:28 +00:00
2026-08-18 05:46:08 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 23:13:37 +00:00
2026-08-13 00:00:16 +00:00
2026-08-14 05:49:33 +00:00
2026-08-13 00:00:16 +00:00
2026-07-23 19:19:35 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-17 04:17:45 +00:00
2026-06-23 14:27:13 -07:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-17 10:01:59 +00:00
2026-08-17 10:01:59 +00:00
2026-08-14 18:26:20 +00:00
2026-08-16 00:57:28 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-14 18:26:20 +00:00
2026-08-17 10:01:59 +00:00
2026-08-13 00:00:16 +00:00
2026-08-14 12:21:08 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 19:25:05 +00:00
2026-08-07 22:41:20 +00:00
2026-08-17 18:15:56 +00:00
2026-08-13 00:00:16 +00:00
2026-08-17 19:22:45 +00:00
2026-08-10 19:26:52 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-17 21:49:30 +00:00
2026-08-14 01:23:59 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-17 21:49:30 +00:00
2026-08-05 06:38:57 +00:00