You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
A blocked_paths policy now asks what a call TOUCHES, not what its text mentions. For Write, Edit, MultiEdit, NotebookEdit and Read the firewall reads the documented path fields, so content and new_string are data rather than targets. Writing documentation that NAMES a protected path is no longer denied like writing TO it. Narrowing applies only when the tool input matches the documented schema and carries a target; a missing target, a falsy one, or a key the schema does not list is judged on every value, as before.
Known limitation
The same false positive is still present for Bash and is deliberately unfixed. Two attempts to subtract quoted heredoc bodies before asking the path question both let real operations through: an independent review executed nine shapes where the parser removed text the shell runs, including a quoted heredoc piped into bash, an apparent opener inside a comment or inside $((1 << n)), and a delimiter word longer than the token matched. Subtracting from shell syntax safely needs a real grammar, so a Bash command is judged on all of its text and one whose text only NAMES a blocked path is still denied. A test asserts this, and it is what fails when the lane is repaired.
Unchanged
1,540 patterns, 118 categories, 6,642 keywords. This release adds no patterns and no blog.