forked from bchanot/claude
fix(settings): close the awk and key-file deny gaps, doctor names every jq consumer
28 deny rows: awk/gawk/mawk 'system (' spacing, -f programs, getline and
pipe-to-command exec primitives; cat and rtk read on .key, .pem, id_rsa
and id_ed25519 without a dir prefix (plus */rtk twins). All rows locked
in push-guard T63; T62 twins hold. doctor.sh jq message names
code-limits and push-guard.
This commit is contained in:
1 parent
07c2c8db65
commit
a43ba1b763
3 files changed
+57
-1
No files matched your search
@@ -455,6 +455,34 @@ Bash(cat * .env*)
|
||||
Bash(cat * */.env*)
|
||||
Bash(rtk read * .env*)
|
||||
Bash(*/rtk read * .env*)
|
||||
Bash(awk *system (*)
|
||||
Bash(gawk *system(*)
|
||||
Bash(gawk *system (*)
|
||||
Bash(mawk *system(*)
|
||||
Bash(mawk *system (*)
|
||||
Bash(awk -f *)
|
||||
Bash(awk * -f *)
|
||||
Bash(cat *.key)
|
||||
Bash(cat *.key *)
|
||||
Bash(cat *.pem)
|
||||
Bash(cat *.pem *)
|
||||
Bash(cat id_rsa*)
|
||||
Bash(rtk read *.key*)
|
||||
Bash(*/rtk read *.key*)
|
||||
Bash(rtk read *.pem*)
|
||||
Bash(*/rtk read *.pem*)
|
||||
Bash(rtk read id_rsa*)
|
||||
Bash(*/rtk read id_rsa*)
|
||||
Bash(cat *id_rsa*)
|
||||
Bash(rtk read *id_rsa*)
|
||||
Bash(*/rtk read *id_rsa*)
|
||||
Bash(cat *id_ed25519*)
|
||||
Bash(rtk read *id_ed25519*)
|
||||
Bash(*/rtk read *id_ed25519*)
|
||||
Bash(gawk -f *)
|
||||
Bash(mawk -f *)
|
||||
Bash(awk *getline*)
|
||||
Bash(awk *| "*)
|
||||
EOF
|
||||
check T63-phase2-rules-present "$missing" ""
|
||||
check T63b-no-root-glob "$(jq -r '(.permissions.ask + .permissions.deny)[]' \
|
||||
|
||||
Reference in new issue
Block a user