Auditing Ai Agent Permissions logo

Auditing Ai Agent Permissions

Organization
UnboundCompute
auditing-ai-agent-permissions

Audit what an AI agent is actually allowed to do versus what its task needs. Covers excessive agency (tools, scopes, and autonomy beyond the job), missing human-in-the-loop gates on irreversible actions, over-broad credentials and their blast radius, sandbox and code-interpreter escape, unfiltered egress, and unbounded resource or spend (denial-of-wallet). Use when granting an agent a tool or scope, reviewing an agent's permission posture, or deciding which actions need approval. The model's restraint is not a control; permissions are.

Overview

PublisherUnboundCompute
Repositorysecurity-agent-skills
Skill nameauditing-ai-agent-permissions
Stars
27
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by UnboundCompute on GitHub. Read the source before you install it.

Installation

Install the Auditing Ai Agent Permissions AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ai-agent-permissions
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-ai-agent-permissions .claude/skills/auditing-ai-agent-permissions
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Auditing Ai Agent Permissions in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Auditing Ai Agent Permissions on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Auditing Ai Agent Permissions is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Auditing AI agent permissions: agency is what's left when the prompt defense fails

Prompt-level defenses are probabilistic and bypassable. What remains after an injection succeeds is what the agent is permitted to do, so the durable control is the permission set, not the model's judgment. Auditing agency means comparing every capability the agent holds against what its task actually requires, and gating the actions that cannot be undone.

When to use

  • You are granting an agent a new tool, scope, credential, or autonomous action.
  • You are reviewing an agent's permission and egress posture.
  • You are deciding which actions require human approval and which can run freely.
  • You are scoping a code interpreter or shell an agent can drive.

Scope check

Audit agents and systems you own or are authorized to test. Do not exercise destructive or irreversible actions against systems you do not control. If you can't name the authorization, stop.

The loop

  1. Diff granted capability against required capability. List every tool, scope, credential, and autonomous action the agent has. Beside each, write what the task actually needs. The gap is excessive agency: a summarizer with delete rights, a read task holding a write token, a support bot that can issue uncapped refunds.

  2. Classify actions by reversibility and blast radius. Mark each action reversible or irreversible, low or high impact. Irreversible or high-impact actions (deleting data, sending money or messages externally, changing access, deploying) are the set that needs a gate, no matter how aligned the model seems.

  3. Check human-in-the-loop on the dangerous set. For each irreversible or high-impact action, is there an approval gate, or does the agent execute alone? A gate the agent can auto-approve, pre-approve, or that fires after the effect does not count. The test is whether a human authorizes before the irreversible step.

  4. Test credential blast radius. Does a credential grant more than the tool needs: a broad API key, an admin role, a token valid for other systems? If the agent is compromised through injection, its credentials are the blast radius. Scope each token to the minimum the specific tool requires.

  5. Test the sandbox and egress boundary. If the agent runs code or shell, can that code reach the network, the host filesystem, other tenants, or the agent's own credentials and metadata endpoint? Can any tool send data to an attacker-observable destination? Unfiltered egress plus untrusted input is an exfiltration channel.

  6. Test resource and spend bounds. Can a single task drive unbounded tool calls, model calls, or paid API usage? Without per-task caps, adversarial or injected input turns the agent into a cost-amplification weapon. Confirm caps on calls, spend, and wall-clock time (denial-of-wallet).

  7. Record. Confirm or kill each over-grant in the schema with the minimal fix: drop the tool, scope the token, add the approval gate, filter egress, cap the budget.

Reading agency honestly

  • Default-grant is the anti-pattern. Agents accrete tools, and each is permanent authority until removed. Grant per task, revoke on completion.
  • "The model won't misuse it" is not a control. Injection makes the model act for the attacker; the permission set is what constrains the damage.
  • Reversibility is the axis that matters. Gate the irreversible, let the reversible run. Do not gate everything and train users to click through.
  • Credentials plus egress plus untrusted input is the trifecta. This is the same exposure viewed from the permission side.

Worked example (a confirm and a kill)

Confirm. A support agent holds a token whose role can issue refunds of any amount and read the full user table, though its task is answering FAQs and issuing refunds up to a set cap. No approval gate on refunds; the token also reads unrelated data. An injected ticket drives a max-amount refund. Confirmed excessive agency, high, remediation = scope the token to FAQ plus capped refund, gate refunds above the cap on approval, remove the user-table read.

Kill. A documentation agent has one tool: read-only search over a public docs corpus, no credentials, no writes, no network egress beyond the search backend, a per-task call cap in place. Even fully injected, it can only return public text. Killed, kill_reason = "read-only scope over public data, no credentials, no egress, capped; no irreversible or high-impact action to gate."

Rationalizations to reject

  • "It's convenient to give it broad access now." → Convenience serves the attacker too. Grant per task, not per maybe.
  • "There's a confirmation dialog." → If the agent can auto-confirm or it fires after the effect, it is not a gate.
  • "The sandbox is isolated." → Test the egress and the metadata endpoint; isolation is a claim until you prove it.
  • "No one would spend that much through it." → Denial-of-wallet needs no one, it needs a loop. Cap it.

Executing this in practice

You need the agent's true grant set (tools, scopes, credentials, autonomy), the reversibility and impact of each action, the sandbox and egress configuration, and the resource caps. Any harness that lists the manifest and logs actions works; the required-versus-granted diff and the reversibility gate are the method.

Related

  • auditing-the-lethal-trifecta - the egress and credential legs are permission-level facts this skill minimizes.
  • red-teaming-multi-agent-systems - per-agent authority and delegation bounds in a system of agents.
  • auditing-mcp-tool-integrations - the tool layer whose scopes this skill scopes down.
  • FINDING-SCHEMA.md - source = the over-broad grant, sink = the irreversible or exfiltrating action it enables.

Frequently asked questions

What does the Auditing Ai Agent Permissions AI skill do?

Audit what an AI agent is actually allowed to do versus what its task needs. Covers excessive agency (tools, scopes, and autonomy beyond the job), missing human-in-the-loop gates on irreversible actions, over-broad credentials and their blast radius, sandbox and code-interpreter escape, unfiltered egress, and unbounded resource or spend (denial-of-wallet). Use when granting an agent a tool or scope, reviewing an agent's permission posture, or deciding which actions need approval. The model's restraint is not a control; permissions are.

Why use Auditing Ai Agent Permissions on TypingMind?

Because you install it once and use it with any model. Auditing Ai Agent Permissions is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Auditing Ai Agent Permissions in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ai-agent-permissions. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Auditing Ai Agent Permissions?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Auditing Ai Agent Permissions?

As many as you like. As long as a model supports skills, you can use Auditing Ai Agent Permissions with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Auditing Ai Agent Permissions AI skill free?

Yes. It is published on GitHub by UnboundCompute under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇