Skip to content
Back to skills

Ai Agents And Tools

ASecurity

In an aidd repository, use when code touches agents, tool calling, MCP servers, A2A, agent memory, autonomous actions, tool permissions, or prompt injection.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 6, 2026
ai-agentspythonrustgogitbackendsecurity

Works with

  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add thaithienvanid/aidd --skill ai-agents-and-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ai Agents And Tools?

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

Security grade badge for Ai Agents And Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thaithienvanid-ai-agents-and-tools/badge)](https://www.skillsdirectory.com/skills/thaithienvanid-ai-agents-and-tools)

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: ai-agents-and-tools
description: "In an aidd repository, use when code touches agents, tool calling, MCP servers, A2A, agent memory, autonomous actions, tool permissions, or prompt injection."
---

<!-- generated by `aidd gen-docs` from schemas/packs.json; edit the registry, not this file -->

# AI agents and tools

## Scope

Applies when the change touches an agent, tool calling, MCP, or A2A. Not when a model answers but calls no tool and takes no action. Neighbours: `aidd-domains:ai-features`, `aidd-team:ai-evals`, `aidd-team:threat-model`.

## Standards

| # | Standard | Edition | Checked | Source |
| --- | --- | --- | --- | --- |
| S1 | OWASP Top 10 for Agentic Applications (emerging) | 2026 | 2026-11-10 | <https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/> |
| S2 | MITRE ATLAS | ATLAS data v2026.09 | 2026-10-16 | <https://atlas.mitre.org/> |
| S3 | MCP and A2A, with the MCP security best practices (emerging) | 2026-07-28 revision | 2026-10-16 | <https://modelcontextprotocol.io/specification/2026-07-28> |
| S4 | Least privilege per tool and human approval for irreversible actions | — | 2026-10-16 | <https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/> |
| S5 | OpenTelemetry GenAI semantic conventions (emerging) | — | 2026-10-16 | <https://github.com/open-telemetry/semantic-conventions-genai> |
| S6 | Agent architecture patterns: routing, orchestrator-workers, evaluator-optimizer, and a plain workflow where an agent is not needed; context engineering for the window (emerging) | — | 2026-10-16 | <https://www.anthropic.com/engineering/building-effective-agents> |
| S7 | MAESTRO 7-layer threat modeling for agentic AI, alongside STRIDE for classic data flows (emerging) | — | 2026-10-16 | <https://agentic-threat-modeling.github.io/MAESTRO/> |
| S8 | OWASP Agent Control Standard and the GenAI Security Industry Framework Crosswalk, which maps 51 entries across 26 frameworks (emerging) | OWASP Agent Control Standard (ACS) | 2026-10-16 | <https://genai.owasp.org/resource/agent-control-standard-acs/> |
| S9 | OWASP MCP Security Cheat Sheet: tool definition pinning (emerging) | — | 2026-10-22 | <https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html> |
| S10 | Prompt injection resistance by design: plan-then-execute, the dual LLM, and CaMeL (emerging) | arXiv 2506.08837 (2025); CaMeL, arXiv 2503.18813 (2025) | 2026-10-22 | <https://arxiv.org/abs/2506.08837> |

### Open choices

The team decides these. aidd's default holds until a `standards` entry fills one (`aidd standard list`).

| Choice | Question | aidd's default | Options |
| --- | --- | --- | --- |
| `agent-framework` | Which framework runs the agent loop? | The framework the project already uses. Otherwise the model provider's own SDK, with the loop, its step cap, and its tools in the team's code. | the provider's SDK, Claude Agent SDK, OpenAI Agents SDK, LangGraph, Pydantic AI, Mastra, Microsoft Agent Framework |
| `mcp-server-framework` | Which library builds an MCP server? | The official MCP SDK for the server's language, because it follows each new version of the protocol first. FastMCP, a Python framework on top of the protocol, where the team wants its shorter server code. | the official MCP SDK, FastMCP |
| `trace-backend` | Where do the agent's traces go? | The tracing backend the team already runs, fed over OTLP with the OpenTelemetry GenAI conventions. | an OpenTelemetry collector and the team's tracing backend, Langfuse, MLflow, LangSmith, Arize Phoenix |
| `agent-to-agent` | Which library lets the agent call another team's or vendor's agent, or answer one, over A2A? | No A2A until a change needs an agent the team does not own. Then the official A2A SDK for the service's language, because it follows each new version of the protocol first. | the official A2A SDK, the agent framework's own A2A support, plain HTTP to one known agent |

## Checklist by loop step

| Step | Item | Standard |
| --- | --- | --- |
| Before the first edit (`aidd risk --paths`) | A new tool, MCP server, or permission is major: name the irreversible actions it can take. | S4 |
| Specify | Least privilege per tool: an allow-list of actions, scopes, and hosts; human approval for irreversible actions, showing the exact tool, arguments, and target (ASI09); a kill switch. | S4, S8, S1 |
| Specify | Trust boundaries drawn: what the agent reads is untrusted, what it may do is a tool (OWASP Agentic ASI01, ASI02). | S1, S7 |
| Specify | An agent that reads untrusted input and holds tools uses plan-then-execute, with the plan fixed before the input arrives, or a dual-LLM split, where a quarantined model with no tools reads it. | S10, S1 |
| Specify | Each agent acts under its own identity with short-lived, scoped delegated tokens, never a person's full token or a shared key (ASI03). An agent-to-agent call authenticates both ends and treats the reply as untrusted (ASI07). | S1, S3 |
| Implement | Sandbox tool execution; validate tool arguments against schemas; no secret in the agent's context; every tool call traced with the OpenTelemetry GenAI conventions. | S3, S5 |
| Implement | MCP tool pinning: hash each tool's reviewed definition (name, description, input and output schemas, annotations). A changed hash fails closed, so the tool stays off until a person reviews it. | S9, S3 |
| Implement | Agent memory records each entry's source, is scoped to one user or tenant, expires, and holds no secret. Untrusted text is never stored as an instruction (ASI06). | S1 |
| Review | Trace an injected instruction from each input to each tool and show it is blocked or waits for a human. | S2, S1 |
| Roll out | Tool-call error rate, unusual action volume, and cost are the observe signals; a spike rolls back. | S5 |

## Test commands

| Command | Proves | How | Standard |
| --- | --- | --- | --- |
| Tool-permission tests | every call outside the allow-list is denied | unit tests on the tool layer | S4 |
| MCP server security check | transport auth, origin validation, no token passthrough | the MCP security best-practices checklist, scripted where possible | S3 |
| Loop and cost guards | max steps, max tokens, and timeouts stop a runaway | unit tests | S6 |
| Trace coverage | every tool call emits a span | an OpenTelemetry test exporter in the tests | S5 |
| Tool definition pin | a changed tool name, description, or schema keeps the tool off until a person approves the new hash | a test that changes one field of a pinned definition and expects the call refused | S9 |
| Memory isolation test | one user's or tenant's memory never reaches another's session, and text from untrusted input is never replayed as an instruction | a test that writes memory as one user and reads as another, and one that stores injected text and checks the next plan | S1 |

- From `aidd-team:ai-evals`: Injection probes.

## Keep it current

Each entry is due after its `review_every_days` (else emerging 90 days, established 365) or by its `review_due`. An emerging one applies only when the change needs it, said in the Spec. One `aidd eval standards` lists as due is looked up in Specify, and a missing one is proposed to aidd's `schemas/industry-standards.json`.

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.