What is AI Security?
AI Security, told as a story about a chef who takes any order exactly as written — and the people trying to exploit that.
This kitchen takes any order exactly as written.A normal order and a smuggled one are treated just the same.
The chef trusts the words alone — not who actually wrote them.A human chef would get suspicious. This one doesn't.
AI Security means keeping this kitchen safe and trustworthy.The pantry, the tools, the recipes, the dish — every part can be targeted.
Attacks aim at four spots.The order ticket, the pantry, the knife drawer, the recipe book — each gets its own page next.
Blocking it once isn't the end.AI security means watching and defending again and again.
AI Security = keeping a chef who trusts any order exactly as written — by continuously watching and defending the pantry, the tools, the recipes, and the dish.
AI Security is the discipline of defending the attack surfaces unique to LLMs and AI agents — prompt-level manipulation, data/model supply chain, tool use, and attacks on the model itself (extraction, inversion). What makes it different from traditional security is that attacks and legitimate requests arrive through the same natural-language channel, making them far harder to tell apart.
When grown-ups say it
- AI Security
- Keeping this whole kitchen safe. There's also an intro page in the security world. → What is AI Security?
- Prompt Injection
- The note slipped in behind the order. The next page unpacks it. → the note slipped in behind the order
- Guardrail
- The tasting checkpoint. See it in more depth in the AI world. → What is a Guardrail?
- Tool Calling
- Taking a tool out of the knife drawer. The underlying AI concept. → What is Tool Calling?
- Supply Chain Attack
- Tainted ingredients already sitting in the pantry. The general concept in the security world. → What is a Supply Chain Attack?
- Red Team
- The inspector's surprise visit. This field has its own AI-specific red team. → the AI-specific inspector
- Hallucination
- Confidently answering even when unsure. The underlying AI concept. → What is a Hallucination?
- AI Governance
- The rules board on the wall. Covered in depth in the closing chapter. → the rules board on the wall