Repository navigation
docs: document bash whitelist file-write redirect restriction - #190
Merged
Merged
Conversation
Add the restricted operators section to the Bash tool reference in cli.md, covering: - Pipes and chains validated per segment - File-write redirections blocked by default - Benign redirects allowed - Command substitution rejected - How to allow a specific redirect via an anchored whitelist pattern Also add INFER_TOOLS_BASH_WHITELIST_COMMANDS and INFER_TOOLS_BASH_WHITELIST_PATTERNS env vars to the Essential Environment Variables section, and cross-reference the restricted operators from the Security/Command Whitelisting section. Closes #188
3 tasks
inference-gateway-releaser Bot
pushed a commit
that referenced
this pull request
Jun 10, 2026
## [0.6.110](0.6.109...0.6.110) (2026-06-10) ### 👷 CI * centralize claude.yml via reusable workflow ([#208](#208)) ([e9e5571](e9e5571)) * **deps:** update inference workflow to version 0.7.9 ([7c898a8](7c898a8)) * **infer:** centralize infer.yml + sync .infer config ([#199](#199)) ([3913f65](3913f65)) * use GitHub App token and non-generic bot identity for release ([49ca5b5](49ca5b5)) ### 📚 Documentation * add dedicated Documentation Agent page ([#206](#206)) ([68b8f5e](68b8f5e)) * document bash whitelist file-write redirect restriction ([#190](#190)) ([8b93d5b](8b93d5b)), closes [#188](#188) * document chat completion schema gaps ([#210](#210)) ([883e593](883e593)) * rework bash allow-list, approval, skills, chat-TUI docs ([#195](#195)) ([48adf12](48adf12)) * update README.md to reflect VitePress tech stack and current repo structure ([#205](#205)) ([a2506aa](a2506aa)) ### 🔧 Miscellaneous * **deps-dev:** bump @types/node from 25.9.1 to 25.9.2 in the npm group ([#193](#193)) ([b56a52b](b56a52b)) * **deps:** bump claude-code 2.1.158 -> 2.1.161 ([#196](#196)) ([8ec11c2](8ec11c2)) * **deps:** bump infer CLI v0.119.0 -> v0.120.0, infer-action v0.11.4 -> v0.11.6 ([#189](#189)) ([57cf040](57cf040)) * **deps:** bump infer CLI v0.120.0 -> v0.120.1, infer-action v0.11.6 -> v0.11.7 ([#191](#191)) ([f0dd62f](f0dd62f)) * **deps:** bump infer CLI v0.120.1 -> v0.121.0 ([#197](#197)) ([92592de](92592de)) * **deps:** bump infer-action v0.11.7 -> v0.12.0 ([#198](#198)) ([6d6b63e](6d6b63e)) * **deps:** bump infer-action v0.12.0 -> v0.12.1 ([#207](#207)) ([9572f74](9572f74)) * **deps:** bump the github-actions group with 2 updates ([#192](#192)) ([9f531a4](9f531a4))
Contributor
|
🎉 This PR is included in version 0.6.110 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Closes #188.
Documents the Bash tool's shell-aware whitelist matcher changes from inference-gateway/cli#613 (closes inference-gateway/cli#560).
Changes to
cli.mdBash tool reference - Added a Restricted operators section covering:
|,&&,||,;) validated per segment>,>>,&>file,>&file) blocked by default2>&1,>/dev/null) allowed$(...), backticks) rejected^...$)Essential Environment Variables - Added
INFER_TOOLS_BASH_WHITELIST_COMMANDSandINFER_TOOLS_BASH_WHITELIST_PATTERNSwith examples.Security / Command Whitelisting - Added cross-reference to the restricted operators section.
Source