Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 01 · Security · Think Like an Attacker · about 15 min to read

Play it as a journeyTutor comes with a plan

When the tool is the attacker: agent and MCP security

LLM and Agent Security
LLM and Agent Security · Open board

: the agent, the text it reads, and the gate before it acts. This lesson moves the attacker one step closer. The bad text no longer arrives in a web page the agent fetches. It arrives inside the tool the agent was told to trust.

Before you start. LLM & Agent Security showed that a model reads its job and the material it is handed as one run of words, so a buried order can pass for a real one (prompt injection). It also gave the lethal trifecta: something private, a stranger’s text, and a way to send data out. It ended on the gate, ordinary code that checks an action after the model has decided. Agents & Tool Use gave the loop: the model asks for a tool, the harness runs it, the result goes back to the model. Authorization & Identity gave the difference between asking and being allowed.

Lesson 28 of 39 in Security

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 17 September 2025: a package that was honest 15 times
  • The tool is not only code, it is also text the model reads
  • 1 April 2025: a tool that says “add” and means “steal”
  • Rug pull: the description that changes after you said yes
  • Shadowing: one server rewrites how another is used
  • Confused deputy: the tool that is honest and still does harm
  • How many servers do you trust?
  • The OWASP list this lesson sits on
  • One script, five runs
  • The confused deputy, run
  • Sandboxing in practice
  • Edge cases and trade-offs

Terms it explains: Model Context Protocol, MCP server, tool poisoning, rug pull, confused deputy, sandbox, Common mistakes.

Review Security