Safety, Security & Responsible AI·Question 61 of 70Quick-fire

What are the main security concerns specific to agents with real-world tool access?

Quick-fire answer from the Awesome Generative AI Guide (MIT)

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The big ones are indirect prompt injection from retrieved or tool content, over-broad tool permissions and privilege escalation, data exfiltration (the agent leaking sensitive data through a tool or its output), and unsafe or irreversible actions taken autonomously. The wider the agent's action surface (more tools, more MCP servers, more autonomy), the larger the risk. Mitigate with least-privilege tools, human-in-the-loop for high-stakes actions, strict input and output validation, and audit logging. Treat every external input as untrusted.

Full worked answer

The big ones are indirect prompt injection from retrieved or tool content, over-broad tool permissions and privilege escalation, data exfiltration (the agent leaking sensitive data through a tool or its output), and unsafe or irreversible actions taken autonomously. The wider the agent's action surface (more tools, more MCP servers, more autonomy), the larger the risk. Mitigate with least-privilege tools, human-in-the-loop for high-stakes actions, strict input and output validation, and audit logging. Treat every external input as untrusted.

Learn more: Securing agentic AI systems guide

What a good answer covers

  • The big ones are indirect prompt injection from retrieved or tool content, over-broad tool permissions…
  • The wider the agent's action surface (more tools, more MCP servers, more autonomy), the larger the risk
  • Mitigate with least-privilege tools, human-in-the-loop for high-stakes actions, strict input and output…
  • Treat every external input as untrusted

Key terms: Learn more

Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep