Repository navigation
Hardening: input decoding, field reading, permission rendering, file writes - #229
Merged
Merged
Conversation
…rites - A payload or tool input that is valid JSON but cannot be decoded here is refused (exit 2 / the deny path) in the dispatcher and the bundled runtime, not answered with silence. - Joined fields normalise every candidate before joining; Copilot content joins every candidate and conflicting path keys are refused. - Claude Code shell rules render for PowerShell as well as Bash; the Codex renderer reports a wildcard specifier as dropped. - instructions and install refuse paths that leave the repo through a symlink. - The capture redactor and the report printer treat tool output and report text as untrusted. Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
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.
What this changes
Hardening across the dispatcher, adapters, permission renderer, writers and maintainer tools:
instructionsandinstall/uninstallrefuse repo paths that leave the repository through a symlink (in-repo links still work).parameterslike tool input; the report printer escapes control characters.Claim check
MATRIXrow changedpermissions-capability.jsonshell tools now match the tools already recorded invendors/claude_code.jsonChecks
pytest -qpassesruff check .andruff format --check .passNotes for the reviewer
examples/generated/{claude_code,codex_cli}.mdwere regenerated withexamples/generate.py.