Logo van Auditing Ai Agent Permissions

Auditing Ai Agent Permissions

Organisatie
UnboundCompute
auditing-ai-agent-permissions

Controleer wat een AI-agent daadwerkelijk mag doen en wat nodig is voor zijn taak. Dit omvat te ruime bevoegdheden (tools, scopes en autonomie die verder gaan dan nodig voor de taak), ontbrekende controles waarbij een mens moet ingrijpen voordat onomkeerbare acties worden uitgevoerd, te ruime inloggegevens en de mogelijke impact daarvan, ontsnapping uit een sandbox of code-interpreter, ongefilterd uitgaand verkeer en onbegrensd gebruik van resources of uitgaven (denial-of-wallet). Gebruik dit wanneer je een agent een tool of scope toekent, de rechten van een agent beoordeelt of bepaalt voor welke acties goedkeuring nodig is. De terughoudendheid van het model is geen beveiligingsmaatregel; de machtigingen zijn dat wel.

Overzicht

UitgeverUnboundCompute
Repositorysecurity-agent-skills
Skillnaamauditing-ai-agent-permissions
Sterren
27
Forks
8
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door UnboundCompute op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Auditing Ai Agent Permissions in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ai-agent-permissions
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Auditing Ai Agent Permissions in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Auditing Ai Agent Permissions automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Auditing Ai Agent Permissions niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill Auditing Ai Agent Permissions?

Controleer wat een AI-agent daadwerkelijk mag doen en wat nodig is voor zijn taak. Dit omvat te ruime bevoegdheden (tools, scopes en autonomie die verder gaan dan nodig voor de taak), ontbrekende controles waarbij een mens moet ingrijpen voordat onomkeerbare acties worden uitgevoerd, te ruime inloggegevens en de mogelijke impact daarvan, ontsnapping uit een sandbox of code-interpreter, ongefilterd uitgaand verkeer en onbegrensd gebruik van resources of uitgaven (denial-of-wallet). Gebruik dit wanneer je een agent een tool of scope toekent, de rechten van een agent beoordeelt of bepaalt voor...

Waarom Auditing Ai Agent Permissions gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Auditing Ai Agent Permissions bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Auditing Ai Agent Permissions in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ai-agent-permissions. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Auditing Ai Agent Permissions gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Auditing Ai Agent Permissions gebruiken?

Zoveel als je wilt. Je kunt Auditing Ai Agent Permissions gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Auditing Ai Agent Permissions gratis?

Ja. Deze skill is door UnboundCompute op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇