Logotipo de Auditing Ai Agent Permissions

Auditing Ai Agent Permissions

Organización
UnboundCompute
auditing-ai-agent-permissions

Audita lo que realmente puede hacer un agente de IA frente a lo que necesita para realizar su tarea. Abarca la autonomía excesiva (herramientas, ámbitos y autonomía que exceden lo necesario), la falta de controles con intervención humana para acciones irreversibles, credenciales con permisos demasiado amplios y su radio de impacto, la salida de un sandbox o intérprete de código, el tráfico saliente sin filtrar y el uso ilimitado de recursos o gasto (denegación de cartera). Úsala al conceder una herramienta o un ámbito a un agente, revisar sus permisos o decidir qué acciones requieren aprobación. La moderación del modelo no es un control; los permisos sí lo son.

Descripción general

EditorUnboundCompute
Repositoriosecurity-agent-skills
Nombre de la habilidadauditing-ai-agent-permissions
Estrellas
27
Forks
8
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por UnboundCompute en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Auditing Ai Agent Permissions en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ai-agent-permissions
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Auditing Ai Agent Permissions en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Auditing Ai Agent Permissions automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Auditing Ai Agent Permissions no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA Auditing Ai Agent Permissions?

Audita lo que realmente puede hacer un agente de IA frente a lo que necesita para realizar su tarea. Abarca la autonomía excesiva (herramientas, ámbitos y autonomía que exceden lo necesario), la falta de controles con intervención humana para acciones irreversibles, credenciales con permisos demasiado amplios y su radio de impacto, la salida de un sandbox o intérprete de código, el tráfico saliente sin filtrar y el uso ilimitado de recursos o gasto (denegación de cartera). Úsala al conceder una herramienta o un ámbito a un agente, revisar sus permisos o decidir qué acciones requieren aproba...

¿Por qué usar Auditing Ai Agent Permissions en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Auditing Ai Agent Permissions está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Auditing Ai Agent Permissions en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ai-agent-permissions. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Auditing Ai Agent Permissions?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Auditing Ai Agent Permissions?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Auditing Ai Agent Permissions con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Auditing Ai Agent Permissions?

Sí. UnboundCompute la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇