Before I Open the Claude in Chrome Side Panel, I Sort My Tabs Into Show, Close, or Move to Another Window
Claude in Chrome reads your active tab as a screenshot. Based on the official help pages, here are three checks before opening the panel and a way to keep sensitive sites in a separate profile.
Before Showing Claude for Excel Your Sheet, I Split the Columns It May Read
A pre-flight routine for your first Claude for Excel session, drawn from the official docs: which columns to share, a working copy, and one check formula. No terminal needed.
I Run Claude in Chrome on Automatic Approval and Reserve "Always Allow" for Read-Only Sites
The three Claude in Chrome permission modes and the per-site "always allow" option, checked against the current help pages, and where I draw the line on admin consoles as an indie developer.
I Set onFailure to block, and the Docs' rm -rf Guard Still Let Everything Through Without jq
When a PreToolUse guard hook fails, does the action go ahead or stop? The docs' own rm -rf example exits 0 and waves everything through when jq is missing. Ten failure modes run for real, the fix, and a script that finds fail-open guards in settings.json.
My deny rule was watching a filename, not the routes that reach it
One line in deny let several other spellings of the same file walk right past. Here is the small matrix I build to list every route to a protected file, and how I re-check it on upgrade day.
A small script that catches invisible characters in plugin names before you install
Control characters and zero-width characters hiding in plugin or skill names are invisible in a terminal listing. I built six deliberately confusing names, compared what ls actually shows, and wrote a short check you can run before installing anything — plus an honest note on what that check misses.
My read-deny rules never reached inside the folder I had allowed
An audit of how far permissions.deny Read rules actually reach, and where they stop, in a tree where secrets and source live side by side. Includes a script that counts coverage with the same gitignore matching Claude Code uses, the Bash and sandbox boundary, and a troubleshooting table.
Take Inventory of What You Allowed with Don't Ask Again in Claude Code
Approvals from "Yes, and don't ask again" land in settings.local.json at your repo root, not your user settings. A script that counts all three settings files, a troubleshooting table, and corrections to common rule-precedence misconceptions.
Passing the Request, Not the Secret — Where Sandbox Credential Masking Works and Where Substitution Breaks
Claude Code's sandbox credential masking lets processes read sentinel values while a proxy swaps in the real secret at send time. I rebuilt it as a minimal proxy and measured which auth schemes survive the swap, which break, what happens when the secret rides in the body, and where chunked framing makes the substitution miss entirely.
Tightening Filesystem Isolation Separately from the Network — Collect the Paths, Then Squeeze the Write Surface
Claude Code v2.1.216 lets you control filesystem isolation independently from network isolation. Before tightening anything, I traced what a real job actually touches, split reads from writes, and measured how stable the path set is across repeated runs. The numbers changed how I wrote the allowlist.
You Added a Second Working Root — Now Ask How Far Your Ignore Rules and Deny Patterns Actually Reach
Adding a working root mid-session does not carry your ignore rules or deny patterns with it. Measured evidence from git check-ignore and a three-way matcher comparison, plus the scope-delta audit script I now run from the DirectoryAdded hook.
Locking down Claude Code sandbox egress with strictAllowlist
Tightening automation egress with strictAllowlist in Claude Code v2.1.219, plus measured failure timings that tell a policy deny from DNS and real outages, and three defects that made my own recon scripts return nothing.