[Bug] Bash(node *) permission rule fails to auto-approve node -e commands
Bug Description
Title: Bash(node *) permission rule doesn't auto-approve node -e commands
Description: Bash(node *) in ~/.claude/settings.json permissions.allow does not match node -e "..." commands — still
prompts for approval. Other rules like Bash(grep ), Bash(ls ), Bash(git log ) work correctly. Docs state Bash(node )
should match "any command starting with node ". Prompt offers node:* as the allow pattern, suggesting internal mismatch.
Repro: Add "Bash(node *)" to ~/.claude/settings.json permissions.allow, restart session, run node -e "console.log('test')"
— prompts instead of auto-approving.
Environment Info
- Platform: darwin
- Terminal: webstorm
- Version: 2.1.81
- Feedback ID: 7f8c3415-c46c-44ad-980e-b2f7c25ba6b5
Note: Ensure that local or enterprise settings aren't overlapping.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗