Attacks on AI – Cheat Sheet
Scope: conceptual overview (workflow, basic attack classes, how they work, defenses). No weaponized payloads. Verified against web sources (Oct 2026): OWASP Top 10 for LLM Applications 2025 (list names/order), MITRE ATLAS (exists, ATT&CK-style, ~16 tactics; technique counts differ between sources/versions, so check atlas.mitre.org for the current number). Marked [memory] = recalled from general knowledge, not checked against a source in this session.
1. Two worlds: classic ML vs. LLM apps
| Classic ML (classifiers, vision, fraud) | LLM / GenAI apps (chatbot, RAG, agents) | |
|---|---|---|
| Typical targets | Model weights, training data, decision boundary | Prompt, context, tools, retrieval data, output handling |
| Typical attacks | Evasion, poisoning, extraction, inference | Prompt injection, jailbreak, leakage, excessive agency |
| Core weakness | Model learns statistical patterns, not intent | Instructions and data share one channel (natural language) |
Key idea: an LLM cannot reliably separate instructions from data. This is the root cause of most LLM attacks.