Brian La Plume
646b4d1442
fix(gateguard): classify rm/Git behind sudo/doas/env/command wrappers
...
isDestructiveRm/isDestructiveGit keyed on argv[0], so sudo rm -rf,
command rm -rf and env git reset --hard read as calls to the wrapper and
were allowed once the routine shell gate was satisfied. Run both checks on
the unwrapLeadWrappers argv too, the resolution the dd and sh -c paths
already use. Overlaps #2832 , which also reworks sh -c parsing and has
conflicts with main; this is the minimal rm/Git part.
2026-10-27 11:06:20 -07:00
..
2026-10-25 15:16:53 -04:00
2026-10-01 17:50:41 -05:00
2026-10-11 01:55:54 -04:00
2026-10-10 17:41:38 -04:00
2026-10-11 06:15:49 -04:00
2026-10-01 17:50:41 -05:00
2026-10-02 00:49:31 +07:00
2026-10-27 11:06:20 -07:00
2026-10-25 19:43:37 -04:00
2026-10-10 18:38:26 -04:00
2026-10-08 11:44:07 +09:00
2026-10-01 17:50:41 -05:00
2026-04-05 14:47:26 -07:00
2026-10-09 17:27:37 -04:00
2026-03-27 05:56:39 -04:00
2026-10-01 17:50:41 -05:00
2026-08-06 15:39:49 -04:00
2026-09-27 16:46:07 -04:00
2026-09-10 14:11:51 +03:00
2026-10-09 19:33:37 -04:00
2026-05-19 06:42:17 -04:00
2026-08-25 12:17:21 -04:00
2026-09-27 16:46:07 -04:00
2026-09-12 04:35:38 -04:00
2026-08-04 21:42:25 -04:00
2026-09-28 00:38:00 -04:00
2026-09-29 21:50:19 -04:00
2026-07-26 03:20:15 -07:00
2026-06-11 14:05:42 -04:00
2026-05-12 02:59:52 -04:00
2026-10-09 16:11:22 -04:00
2026-10-10 17:49:10 -04:00
2026-10-11 02:03:09 -04:00
2026-09-07 16:26:10 -04:00
2026-08-07 14:53:13 -04:00
2026-08-25 12:17:21 -04:00
2026-04-30 12:25:14 -04:00
2026-06-06 03:55:17 +08:00
2026-09-19 16:51:53 -04:00
2026-07-26 02:46:59 -07:00
2026-08-25 17:19:45 -04:00
2026-05-14 21:15:35 -04:00
2026-10-19 22:18:32 -04:00
2026-10-10 18:56:12 -04:00
2026-03-12 15:40:25 -07:00
2026-03-14 12:55:25 -07:00
2026-09-28 01:38:53 -04:00
2026-05-19 22:09:45 -04:00
2026-05-19 22:09:45 -04:00
2026-10-10 17:44:29 -04:00
2026-06-20 20:49:17 -04:00
2026-10-10 18:47:48 -04:00
2026-06-29 15:50:55 -07:00
2026-06-29 15:50:57 -07:00
2026-10-10 20:11:00 +08:00
2026-10-10 13:56:00 +05:30
2026-10-20 17:38:13 -04:00
2026-10-20 17:40:57 -04:00
2026-02-13 03:37:46 -08:00
2026-08-06 15:39:49 -04:00
2026-10-01 17:50:41 -05:00
2026-03-16 14:01:41 -07:00
2026-08-25 12:17:21 -04:00
2026-10-11 01:55:54 -04:00
2026-09-07 16:40:47 -04:00
2026-08-06 15:39:49 -04:00
2026-10-11 02:08:19 -04:00
2026-06-07 13:00:08 +08:00