Repository navigation
docs: README states the exec inline-code denylist surface and its residuals - #47
Merged
Merged
Conversation
…iduals The policy section now enumerates what the denylist catches (shell inline/script/startup-file forms wherever they appear in argv, interpreter inline-code spellings incl. -x and python -m, the awk family, env split-string) and — honestly — what it cannot see: GNU sed's e command, interpreter script files (allowed by design), and tools that exec on their own (find -exec, xargs, git hooks). Those belong behind exec.allowlist.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part 13 of 18 in the exec-denylist fix series — documentation.
The README policy section now states the denylist's full surface:
-xextraction flag, python-m; the awk family outright;env -S/--split-string.sed'secommand, interpreter script files (python3 script.py— allowed by design), and self-executing tools (find -exec,xargs, git hooks). These belong behindexec.allowlist.Docs-only.
Test plan
cargo test --workspace: 51 suites, 0 failed (unchanged)