claude-code-config icon indicating copy to clipboard operation
claude-code-config copied to clipboard

Opinionated defaults, documentation, and workflows for Claude Code at Trail of Bits

Results claude-code-config issues
Sort by recently updated
recently updated
newest added

### Summary Adds `"sandbox": {"allowUnsandboxedCommands": false}` to `settings.json` (plus a paragraph in the Sandboxing section of the README). Closes a documented but silent sandbox-escape vector under `--dangerously-skip-permissions`, with no behavior...

Hey folks. Looks like config.md used in the install process is currently missing from the repo: ```shell Bash(curl -fsSL https://raw.githubusercontent.com/trailofbits/claude-code-config/main/commands/trailofbits/config.md -o /tmp/trailofbits-config.md && echo "---FETCHE…) ⎿  Error: Exit code 56...

.git/hooks/ is not in the deny list for file writes The deny rules protect ~/.bashrc, ~/.zshrc, ~/.ssh/** — but not .git/hooks/**. The /sandbox restricts writes to CWD, but .git/hooks/ is...

Fixes #46 The regex `git[[:space:]]+push.*(main|master)` matches "main" anywhere in the command, false-positiving on branches like `deps/aiohttp-3.13.5-remaining` or `feature/maintain-state`. Requires main/master to be preceded by whitespace, `:`, `/`, or `+` and...

The git push PreToolUse hook matches `main`/`master` anywhere in the command string, blocking pushes to branches that contain these as substrings: ``` git push -u origin deps/aiohttp-3.13.5-remaining # blocked —...

### Problem The `claude-md-template.md` recommends `wt switch ` for subagent worktree isolation: > Parallel subagents require worktrees. Each subagent MUST work in its own worktree (`wt switch `), not the...

Addresses #35 — splits `claude-md-template.md` into modular files under `rules/` for cherry-picking. | File | Content | Lines | |------|---------|-------| | `rules/00-global.md` | Global instructions (Exa, skills) | 6 |...

Hey, love the project. I tested some nuances in the Claude Code config file and figured you may benefit if you haven't considered these already. Original credit: https://www.petefreitag.com/blog/claude-code-permissions/ I found...

## Summary - Scope `wt` to terminal use in the CLI tools table - Replace `wt switch ` with `isolation: "worktree"` on the Agent tool for subagent worktree isolation -...

Adds a PowerShell port of statusline.sh for Windows users, along with updated README documentation covering installation on both platforms. - scripts/statusline.ps1 - full port of the bash statusline, compatible with...