Introduction to LLM
This page provides an easy-to-understand guide on LLMs (Large Language Models) from basics to applications for AI enthusiasts.
Chapter 6 — Retrieval-Augmented Generation Risks
Sixth post of the LLM Primer VII walkthrough. Trust boundaries in RAG, malicious document injection, PoisonedRAG and BadRAG, and monitoring retrieval flows for the attacker's fingerprints.
2026-05-15Chapter 5 — Input Validation and Output Filtering
Fifth post of the LLM Primer VII walkthrough. Input sanitization, structured guardrails (NeMo, Llama Guard 3, Lakera, Bedrock), and red teaming with Garak, PyRIT, and promptfoo.
2026-05-14Chapter 4 — Prompt Injection and Jailbreaks
Fourth post of the LLM Primer VII walkthrough. Prompt injection as a structural consequence, the jailbreak taxonomy (DAN, grandma, Zou et al. suffixes, Crescendo, Skeleton Key), and the four-layer mitigation matrix.
2026-05-13Chapter 6 — RAG Threat Models and Vulnerabilities
Sixth post of the LLM Primer III walkthrough. The expanded attack surface of retrieval — corpus poisoning, adversarial chunks, indirect prompt injection, embedding inversion, and the confused-deputy problem in agentic RAG. Concrete attacks, each demonstrated, each reproducible.
2026-03-23