Niko1221
f681b9ad62
Manual mode: the look-only shell allowlist takes only options known to look ( #3975 )
...
A command on the allowlist used to run without a card with any option except -delete/-exec/-execdir/-fprint/-fls/-ok. Write modes (sort -o,
tree -o, uniq IN OUT), program-execution modes (sort --compress-program, rg --pre, git grep -O), date -s and tail -f got through, and so did
git config -e, git branch --set-upstream-to and git remote ... forms.
Each command now has a spec of the options and operands that only look (short and long, spelled in full); every other option, abbreviation
or attached form asks. git subcommands have the same specs, a branch/tag name is taken only with a list option, git config only reads with
--get. date takes only +FORMAT operands, uniq at most one operand, hostname none. less and more leave the list. Quoted texts are checked as
operands too. `du -sh` no longer trips the 'sh' word check.
Tests: apps/host/tests/gate-readonly.test.mjs (deny and allow cases for options, operands, spellings, quoting; every listed command asks for
an unknown option).
2026-10-26 18:08:17 +01:00
..
2026-10-20 19:02:06 +02:00
2026-10-24 18:43:52 +02:00
2026-10-19 21:05:20 +02:00
2026-10-19 11:29:40 +02:00
2026-10-22 15:26:30 +02:00
2026-10-22 15:40:55 +02:00
2026-10-18 20:33:55 +02:00
2026-10-22 15:43:12 +02:00
2026-10-16 04:20:20 +02:00
2026-10-15 21:05:15 +02:00
2026-10-19 11:35:11 +02:00
2026-10-19 11:35:11 +02:00
2026-10-18 13:07:03 +02:00
2026-10-16 14:21:33 +02:00
2026-10-19 11:29:40 +02:00
2026-10-18 14:17:53 +02:00
2026-10-16 00:33:05 +02:00
2026-10-18 20:53:37 +02:00
2026-10-22 14:46:52 +02:00
2026-10-19 19:54:37 +02:00
2026-10-15 10:24:09 +02:00
2026-10-22 12:54:48 +02:00
2026-10-15 11:22:56 +02:00
2026-10-20 14:03:26 +02:00
2026-10-18 20:36:25 +02:00
2026-10-18 00:55:37 +02:00
2026-10-18 03:19:07 +02:00
2026-10-16 11:24:09 +02:00
2026-10-15 11:22:56 +02:00
2026-10-19 21:05:20 +02:00
2026-10-25 10:37:21 +01:00
2026-10-16 04:20:20 +02:00
2026-10-24 13:48:06 +02:00
2026-10-16 22:25:51 +02:00
2026-10-19 11:29:40 +02:00
2026-10-15 10:24:09 +02:00
2026-10-15 10:24:09 +02:00
2026-10-15 11:22:56 +02:00
2026-10-19 19:54:48 +02:00
2026-10-16 22:32:11 +02:00
2026-10-24 13:45:58 +02:00
2026-10-18 14:24:08 +02:00
2026-10-24 18:43:52 +02:00
2026-10-18 20:40:33 +02:00
2026-10-15 10:24:09 +02:00
2026-10-22 15:37:35 +02:00
2026-10-19 23:52:04 +02:00
2026-10-22 13:09:00 +02:00
2026-10-26 13:28:18 +01:00
2026-10-24 21:45:44 +02:00
2026-10-15 11:22:56 +02:00
2026-10-15 10:24:09 +02:00
2026-10-15 19:42:08 +02:00
2026-10-24 18:43:52 +02:00
2026-10-22 18:07:03 +02:00
2026-10-22 12:54:48 +02:00
2026-10-16 22:35:54 +02:00
2026-10-25 09:27:38 +01:00
2026-10-15 11:22:56 +02:00
2026-10-17 19:11:09 +02:00
2026-10-15 10:24:09 +02:00
2026-10-24 13:35:54 +02:00
2026-10-20 15:13:11 +02:00
2026-10-22 13:07:18 +02:00
2026-10-22 13:03:11 +02:00
2026-10-26 18:08:17 +01:00
2026-10-20 18:52:30 +02:00
2026-10-15 17:14:01 +02:00
2026-10-17 18:54:11 +02:00
2026-10-15 16:04:43 +02:00
2026-10-20 14:12:52 +02:00
2026-10-15 10:24:09 +02:00
2026-10-19 19:40:57 +02:00
2026-10-20 14:12:04 +02:00
2026-10-15 10:24:09 +02:00
2026-10-16 01:08:57 +02:00
2026-10-19 11:29:40 +02:00
2026-10-15 11:24:25 +02:00
2026-10-24 13:51:18 +02:00
2026-10-18 20:41:28 +02:00
2026-10-22 12:58:22 +02:00
2026-10-24 13:55:42 +02:00
2026-10-20 00:43:04 +02:00
2026-10-22 13:06:11 +02:00
2026-10-15 10:24:09 +02:00
2026-10-22 17:33:01 +02:00
2026-10-20 14:38:00 +02:00
2026-10-20 15:30:37 +02:00
2026-10-24 13:33:56 +02:00
2026-10-15 11:08:58 +02:00
2026-10-15 10:24:09 +02:00
2026-10-15 11:22:56 +02:00
2026-10-20 14:10:46 +02:00
2026-10-24 18:43:52 +02:00
2026-10-19 19:54:47 +02:00
2026-10-25 09:25:17 +01:00
2026-10-16 00:53:05 +02:00
2026-10-16 14:16:07 +02:00
2026-10-15 10:24:09 +02:00
2026-10-19 23:31:43 +02:00
2026-10-20 18:58:30 +02:00
2026-10-24 13:43:02 +02:00
2026-10-15 10:24:09 +02:00
2026-10-20 18:27:36 +02:00
2026-10-22 13:47:41 +02:00
2026-10-22 17:33:54 +02:00
2026-10-15 10:24:09 +02:00
2026-10-22 15:17:24 +02:00
2026-10-18 12:59:05 +02:00
2026-10-15 10:24:09 +02:00
2026-10-16 22:49:22 +02:00
2026-10-24 13:45:12 +02:00
2026-10-20 18:58:30 +02:00
2026-10-24 18:43:52 +02:00
2026-10-19 19:54:48 +02:00
2026-10-19 19:40:05 +02:00
2026-10-15 10:24:09 +02:00
2026-10-15 10:24:09 +02:00
2026-10-18 13:07:03 +02:00
2026-10-22 15:26:53 +02:00
2026-10-26 11:03:37 +01:00
2026-10-24 18:43:52 +02:00
2026-10-19 11:29:40 +02:00
2026-10-24 13:34:11 +02:00
2026-10-15 12:31:49 +02:00
2026-10-19 23:38:49 +02:00
2026-10-15 11:13:11 +02:00
2026-10-25 11:16:25 +01:00
2026-10-25 11:14:16 +01:00
2026-10-15 10:24:09 +02:00
2026-10-19 23:49:59 +02:00
2026-10-16 16:05:42 +02:00
2026-10-22 15:17:24 +02:00
2026-10-22 13:24:33 +02:00
2026-10-18 14:14:18 +02:00
2026-10-18 21:07:38 +02:00
2026-10-15 11:22:56 +02:00
2026-10-20 15:29:51 +02:00
2026-10-22 12:52:53 +02:00
2026-10-24 13:36:35 +02:00
2026-10-15 11:22:56 +02:00
2026-10-15 11:22:56 +02:00
2026-10-24 18:14:36 +02:00
2026-10-18 13:41:17 +02:00
2026-10-16 10:45:44 +02:00
2026-10-26 16:38:15 +01:00
2026-10-18 20:44:33 +02:00
2026-10-18 21:36:51 +02:00
2026-10-18 21:36:51 +02:00
2026-10-18 20:46:09 +02:00
2026-10-18 22:01:21 +02:00
2026-10-18 22:30:01 +02:00
2026-10-18 22:28:58 +02:00
2026-10-20 00:44:41 +02:00
2026-10-15 10:24:09 +02:00
2026-10-15 20:25:35 +02:00
2026-10-22 15:43:12 +02:00
2026-10-15 10:24:09 +02:00
2026-10-18 14:39:45 +02:00
2026-10-20 15:13:11 +02:00
2026-10-16 01:25:09 +02:00
2026-10-16 18:16:56 +02:00
2026-10-15 10:24:09 +02:00
2026-10-16 19:34:49 +02:00
2026-10-19 11:35:11 +02:00
2026-10-16 13:15:12 +02:00
2026-10-16 13:05:20 +02:00
2026-10-22 13:06:11 +02:00
2026-10-16 13:15:12 +02:00
2026-10-16 06:30:44 +02:00
2026-10-16 14:30:31 +02:00
2026-10-16 11:24:09 +02:00
2026-10-24 13:47:18 +02:00
2026-10-18 20:47:43 +02:00
2026-10-16 17:59:07 +02:00
2026-10-19 11:29:40 +02:00
2026-10-19 11:29:40 +02:00
2026-10-17 01:55:37 +02:00
2026-10-15 10:24:09 +02:00
2026-10-20 10:07:55 +02:00
2026-10-19 19:40:05 +02:00
2026-10-24 18:43:52 +02:00
2026-10-18 13:07:03 +02:00
2026-10-19 20:25:20 +02:00
2026-10-19 19:54:48 +02:00
2026-10-18 20:53:37 +02:00
2026-10-18 00:47:02 +02:00
2026-10-24 13:32:09 +02:00
2026-10-24 13:40:59 +02:00
2026-10-16 10:22:08 +02:00