Skip to content
Back to skills

Security

ASecurity

Review which tools, permissions and data an AI agent in the software has, and cut them to what its task needs. Use at S02 and S07 for any product or feature in which a model can call tools, write files, send messages or run code.

  • 24 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 22, 2026
ai-agentsrustgoshellrailsdatabasesecurity

Works with

  • mcp

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security?

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

Security grade badge for Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-security-9d83fbba/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-security-9d83fbba)

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: agent-tool-review
description: Review which tools, permissions and data an AI agent in the software has, and cut them to what its task needs. Use at S02 and S07 for any product or feature in which a model can call tools, write files, send messages or run code.
triggers: [agent tool permissions, tool permission review, excessive agency, agent least privilege, mcp tool review, agent capability review]
tags: [security, ai, agents]
core: false
context_cost: medium
---
# Agent Tool Review

## Goal
Find out what an agent built into the product can do, and make sure that a wrong or manipulated model output can do little harm. Fits S02 (design), S07 (review). Part of `security-baseline.skill.md` for AI software. It covers the software you build; the kit's own agent rules are in `guides/principles/skill-guardrails.md`.

## Steps
1. **List every tool** the agent can call (function, MCP server, shell, file access, HTTP, database). One row each in `docs/security/AGENT_TOOLS.md`: tool, what it can read, what it can change, credential used, who approves.
2. **Mark each tool** read-only, reversible write, or irreversible or external action (send, pay, delete, deploy, publish). Done when every row has a mark.
3. **Apply the three-way test** from `prompt-injection-defense.skill.md`: private data, untrusted content, outbound action. A path with all three needs a human approval step. Write the path and the approval point.
4. **Cut permissions.** For each tool: the narrowest scope that does the task (one folder, one table, read-only token, allow-list of hosts). Give the agent its own credential, not a user's or an admin's. Done when no tool has more rights than its task needs, or the excess is an accepted risk.
5. **Check outputs before they act.** Model output that becomes a command, query, URL or file path is validated against a schema or allow-list first (`coding/output-validation.skill.md`). Limit calls per run and per day.
6. **Check isolation.** Where the agent runs code or touches files, apply `agent-sandboxing.skill.md`.
7. **Check third-party tool servers.** Pin the version, read what the server's tools can do, and treat their descriptions and outputs as untrusted data. Map the findings to the OWASP Top 10 for LLM Applications 2025 (LLM06 Excessive Agency, LLM03 Supply Chain) and for agents to ASI02 Tool Misuse and Exploitation and ASI03 Identity and Privilege Abuse (genai.owasp.org, checked 2026-11-21).
8. **Test.** Write tests that show a denied tool call is denied and that an approval step cannot be skipped. Done when they run in CI.

## Constraints
- Every tool has an owner, a scope and a mark (read-only, reversible, irreversible).
- An irreversible or external action has an approval point.

## Output Format
`docs/security/AGENT_TOOLS.md` with the marks, scopes and approval points, and the tests.

## Limits and safety
- Permissions are enforced by your platform, the tool server and the credentials you issue. This skill produces the list and the tests; it does not enforce them.
- Do not grant a tool broader rights "for now". Propose the narrow scope and ask the human.
- Test calls run against test accounts and mocked services, never real sends or payments.
- The review covers the tools listed. Report any tool you could not inspect.

Files in this skill

  • access-control.skill.md2.5 KB
  • agent-sandboxing.skill.md7.1 KB
  • agent-tool-review.skill.md3.2 KB
  • ai-ethics-compliance.skill.md2.7 KB
  • ai-red-teaming.skill.md7 KB
  • ai-safety-guardrails.skill.md5.1 KB
  • api-security.skill.md2.3 KB
  • backup-recovery.skill.md2.5 KB
  • compliance-review.skill.md6.7 KB
  • cryptography-standards.skill.md2.8 KB
  • dependency-security.skill.md4.7 KB
  • hazard-analysis.skill.md2.4 KB
  • legal-review.skill.md2 KB
  • log-analysis.skill.md3 KB
  • network-security.skill.md2.9 KB
  • privacy-audit.skill.md5.7 KB
  • privacy-data-protection.skill.md1.8 KB
  • prompt-injection-defense.skill.md5.1 KB
  • reliability-engineering.skill.md2.7 KB
  • safety-scan.skill.md2.7 KB

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.