PrepCity

Agentic AI security

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 14 pages · about 14 min

Agentic AI security

An agent with tools, memory and credentials turns a fooled model into a leak, a poisoned tool or a bill. See the lethal trifecta and why removing one leg stops it, a toxic flow through MCP tools stopped by a scoped token, a poisoned tool description caught by pinning and review, memory poisoning over two weeks, and a runaway loop capped by a budget.

What it is
Agentic AI security is keeping an AI agent, a model that uses tools, memory and credentials, from being turned against its user or owner.
What it is for
A model cannot reliably tell instructions from data, so anything it reads can steer what it does with the access it has.
Use it when
Whenever an agent can read untrusted content, reach private data, call tools, remember across sessions or spend money.
Not when
A chat model with no tools, no memory and no private data needs much less; start with guardrails-and-prompt-injection.

Words you’ll learn

  • AI agent
  • API
  • Language model
  • Prompt injection
  • Excessive agency
  • Unbounded consumption
  • Least agency
  • MITRE ATT&CK
  • URL
  • Lethal trifecta

Page by page