Better HN
topnewbestaskshowjobs
Log inSign up

tobiaszander

1 karma · joined Nov 19, 2026 (2w ago) · 8 submissions

Submissions

comment 2w ago · link · parent

Permission rules are only half of it. On my own homelab setup, a config linter found 6 MCP server tokens stored in plaintext in ~/.claude.json, even though the permissions were tight. Allowing a whole MCP server also allows its later write tools, and unpinned npx/uvx packages pull the newest version on every start. Wildcards are another trap: Bash(python3:) looks narrow but is effectively Bash(). For agents that change networks or cloud resources, I keep approval gates outside the agent and bind each approval to a specific plan.