Skip to content
Security
Skill

/tool-permission-audit

Inventory the tools/functions an AI agent can call and audit their privileges, side effects, and approval requirements to find excessive-agency and least-privilege gaps. Use when reviewing an agent's tool/function surface.

From plugin
awesome-claude-security
11111 skills17 agents13 commands1 MCP

Claude Code

$ npx -y skills add jassics/awesome-claude-security --skill tool-permission-audit --agent claude-code

SKILL.md

tool-permission-audit.SKILL.md
name: tool-permission-audit
description: >-
  Inventory the tools/functions an AI agent can call and audit their privileges,
  side effects, and approval requirements to find excessive-agency and
  least-privilege gaps. Use when reviewing an agent's tool/function surface.

Goal

A complete tool inventory with a privilege/risk rating per tool and a clear list of least-privilege and approval-gating gaps.

Steps

1. **Enumerate tools.** List every tool/function/plugin/MCP server the agent can invoke, including dynamically discovered ones. Don't rely on the docs — check what's actually wired into the agent's toolset. 2. **Classify each tool:**

  • Effect: read-only / write / destructive / external-side-effect (email, pay,

deploy, post).

  • Reversibility: reversible / irreversible.
  • Credentials: what identity/token it uses; what that token can do beyond this tool.
  • Reachability: always available, or gated by state/role?

3. **Rate risk** per tool (effect × reversibility × credential scope). 4. **Find gaps:**

  • Over-broad credentials (one token, many powers).
  • Destructive/irreversible/external actions with no human confirmation.
  • Tools present but unnecessary for the agent's function.
  • Missing rate/spend/iteration limits on expensive tools.

Output

A tool inventory table: tool · effect · reversible? · credential scope · approval required? · risk · gap/recommendation. Plus a prioritized least-privilege remediation list. Feed high-risk gaps to `security-reporting:finding`.

Notes

Excessive agency usually hides in credential scope, not tool count: a single over-privileged token behind a "safe-looking" tool is the common root cause. Recommend per-tool scoped credentials and confirmation gates on anything irreversible or externally visible.

Read more
@jassics
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

11111 skills17 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11
Star history of jassics/awesome-claude-security on GitHub, a chart by star-history.com

Other skills on awesome-claude-security.

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

nemoclaw12d23k
@nvidia@nvidiaInstall Skill

Questions about tool-permission-audit.

Which coding agents can use tool-permission-audit?
tool-permission-audit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.