[Bug] Wildcard patterns in allowlist not matching subshell commands in settings.json

Resolved 💬 6 comments Opened Dec 12, 2025 by jkaster Closed Feb 26, 2026

Bug Description
wildcard matching in allowlist doesn't work in settings.json

  • Pattern in settings.json: Bash(echo "SKILLS_PATH=*/.claude/skills")
  • Command executed: echo "SKILLS_PATH=$(git rev-parse --show-toplevel)/.claude/skills"
  • Expected: Pattern with * wildcard should match the subshell
  • Actual: Still prompts for permission

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.67
  • Feedback ID: 0550b761-017c-42d8-8043-ad379e6de522

Errors

[{"error":"Error: Request was aborted.\n    at Qt._createMessage (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:461:3151)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-12-12T04:56:10.970Z"},{"error":"Error: Request was aborted.\n    at Qt._createMessage (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:461:3151)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-12T04:58:27.413Z"},{"error":"Error: Request was aborted.\n    at Qt._createMessage (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:461:3151)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at listOnTimeout (node:internal/timers:569:9)\n    at process.processTimers (node:internal/timers:543:7)","timestamp":"2025-12-12T05:07:49.375Z"}]

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗