Security
ICT security: threat models, access, secrets, audit and response.
Writing
Free lessons
Glossary terms
- GuardrailsGuardrails are checks placed around a model: input filters, output validators, classifiers for unsafe content and rules that block certain actions. They reduce risk and catch common failures, but none is perfect against natural language. Treat them as one layer among several, never as the only defence.
- Least privilegeLeast privilege means giving a system only the permissions it needs for its task and nothing more. For agents it applies to each tool and credential: narrow scopes, separate read and write access, short-lived tokens. If a model is manipulated, the damage is limited to what its tools are allowed to do.
- Prompt injectionPrompt injection is an attack in which text the model reads, typed by a user or hidden in an email, web page or document, contains instructions that override the developer's intent. Indirect injection arrives through retrieved or tool-supplied content. It cannot be fully filtered out, so defences have to limit what a persuaded model can do.
- Red teamingRed teaming is adversarial testing: you attack your own system the way a malicious user would, to find failures before others do. For AI it means jailbreak and injection attempts, data-extraction probes and abuse of tools. Good findings become permanent regression cases in an automated suite that runs in CI.
More on Security, by email
New writing on Security goes out in the newsletter, with a note on why it is worth your time.