claude-perm-sim
Claude Code permission rule simulator: shows which rule decides a tool call and where a rule set is permissive.
What it is
claude-perm-sim loads your merged Claude Code permission settings, tells you which rule decides any given tool call, and finds the bypasses: commands that slip past a Bash pattern, paths that escape an Edit scope, and MCP tools nothing covers.
Install
npx @basitalisandhu/claude-perm-sim load # run without installing
npm install -g @basitalisandhu/claude-perm-sim@0.1.0 # or install the claude-perm-sim command
From the README; see the full README for every option.
Links
Releases
Topics: agent-security, ai-agents, ai-security, claude-code, cli, developer-tools, devsecops, hacktoberfest, least-privilege, llm-security, permission-rules, permissions, sarif, security-tools, simulator, static-analysis, typescript