Skip to content

Agent, Tool & MCP Security

47 questions
0 of 47 done · 5 unlocked for you
DONEUNLOCKEDLOCKED

AI Agent & MCP Security Interview Questions

The lethal trifecta, excessive agency, tool authorization, scoped credentials for agents, human approval that holds, sandboxed code execution, memory poisoning, MCP's trust model and threats, multi-agent trust and cascading failures, and the agent design review.

Worked answers that start from a threat model, explain each control by mechanism, and include the follow-ups and scoring an interviewer uses.

You have 5 free answers unlocked here.Sign in free for 5 more · 37 are premium.
01–19Foundationsthe mechanisms and vocabulary an interviewer expects you to have0/19 done
20–36Core questionsthe questions this round asks most, answered in full0/17 done
37–47Field scenariosdesign rounds, incidents and judgment calls with the inputs left incomplete0/11 done
PRACTICE TESTStudied this track? Prove it: a timed Agent, Tool & MCP Security test.new items each time · every answer explained · easy level free with an accountStart →

The concepts behind Agent, Tool & MCP Security

The lessons these answers build on. Introductory ones are free; advanced ones need Premium.

Foundational
Agentic AI SecurityAgentic AI security protects systems in which a model proposes actions through tools. Untrusted inputs and model errors can influence those proposals, so the host and resource services must enforce the task's authority independently: which data can be read, which actions can run, what requires approval and when execution must stop.
Foundational
The Lethal TrifectaThe lethal trifecta, a term coined by Simon Willison in 2025, is the combination of three capabilities in one AI agent: access to private data, exposure to untrusted content, and the ability to communicate externally. With all three, an instruction hidden in untrusted content can make the agent read private data and send it out. Use the combination to trace a possible disclosure path, then remove unnecessary capabilities or enforce restrictions outside the model. A narrower token alone does not revoke an older, broader token.
Foundational
Excessive AgencyExcessive agency, LLM03 in the OWASP Top 10 for LLM Applications 2026 (LLM06 in 2025), is when an LLM-based system holds more functionality, permissions or autonomy than its task requires, so that a manipulated or mistaken model can cause outsized harm. The fix works on all three dimensions separately: narrow tools, least-privilege credentials scoped to the requesting user, and human or policy gates on consequential actions.
Foundational
MCP SecurityMCP connects an AI application to servers offering tools, resources and prompts. Review what the host puts into model context, what local processes can reach, and which identities and permissions govern remote calls. Metadata approval, transport authentication and authorization of a concrete operation are separate controls.
Core
Sign in
Tool Poisoning and Rug PullsA server can place unwanted instructions in the tool metadata a host exposes to its model. Changed definitions can invalidate an earlier review, and one tool description can influence calls to another server. Review definition revisions before use, confine implementations and authorize each consequential action independently; a matching metadata hash does not prove unchanged behavior.
Advanced
🔒 Premium
Human Approval That HoldsHuman approval adds a person’s decision to an action that policy already permits. Trusted presentation, an authenticated approver, immutable action details and execution-side enforcement connect that decision to its effect. Review volume and usability matter, but a click, signature or second device alone does not establish informed consent or prevent duplicate execution.
Advanced
🔒 Premium
Agent Memory Security: Poisoning, Provenance and ForgettingPersistent memory can carry false claims or instructions into later agent tasks when those records are retrieved. Secure the write, promotion and retrieval paths with authenticated scope, source lineage, versions and expiry. Treat recalled content as data, keep resource authorization independent, and distinguish immediate retrieval denial from removal of derivatives, backups and copies already delivered.
Advanced
🔒 Premium
Multi-Agent Systems and Agent-to-Agent TrustMulti-agent security depends on the boundaries between cooperating workers. Authenticate peers, establish the user or service-owned task grant, authorize each resource and recipient, and constrain aggregate work. Structured handoffs and provenance support these checks but do not establish truth or permission. A2A provides interoperability; issuers and applications still define the authority and lifecycle of each operation.
Unlock all 47 answers · $25

Every worked answer in all 17 topics, every lesson in every course, the full concept curriculum, the complete practice-test bank, and the downloadable security field guides.

6 months · One payment · No auto-renewal