← All lessons Reference

Cheat sheet

Agent security

From lesson 0020. The prompt is not the wall. The harness is.

  1. AllowTools the loop may run. Guard mutations.
  2. DistrustTicket, RAG, tool output: same tokens as the Guide.
  3. KeepSecrets in env. Never in the crate or the window.

Not

Simon Willison: assume untrusted text can subvert instructions; limit the tools those instructions can fire. Regression: untrusted ticket cannot mint a refund. Eval suites.