Skip to content
Back to skills

Tool Permission Audit

ASecurity

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.

  • 8 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 19, 2026
ai-agentsgosecurity

Works with

  • mcp

Security analysis

A100/100

Scanned September 19, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Tool Permission Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tool Permission Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jassics-tool-permission-audit/badge)](https://www.skillsdirectory.com/skills/jassics-tool-permission-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.