GenAI Security — The Comprehensive Guide
One document. Almost Everything. The full threat landscape (including model-initiated misbehavior — when the model itself does things it was never supposed to), 26 Mermaid diagrams, the enforceable development guideline, the 12-phase secure lifecycle, the critical risk statements for leadership, and the one-page quick reference. Provenance: OWASP LLM Top 10 (2025) verified against genai.owasp.org. The Anthropic Agentic Misalignment study (arXiv:2510.05179) and the OpenAI/Hugging Face eval-escape incident (July 2026 disclosure; WIRED/TechCrunch/Guardian coverage) were verified against primary reporting during authoring. Apollo Research scheming/sandbagging and Palisade shutdown-evasion findings are cited from established public research and are marked as such. Mermaid renders on GitHub/GitLab/Obsidian/VS Code or mermaid.live. ...