AI learning feed

AI / LLM Security — Beginner to Expert · modules

22 modules, theory + hands-on. Prompt injection, data poisoning, agent threat models, building your own AI, optimisation, and reverse-engineering trending products like Cursor & Perplexity.

27 results · Page 1/3
AI / LLM Security — Beginner to Expert Expert

Prompt Injection Defense Architecture: Beyond Input Filtering

Why input filtering cannot be the primary control Prompt injection is not a fixed signature; it is any natural-language text that redirects a model’s behaviour. The input space is unbounded and the adversary is adaptive: paraphrase, translate into another language, encode in base64, split across turns, hide in a modality the classifier does not read, […]

Jul 6, 2026 · 50 min
AI / LLM Security — Beginner to Expert Expert

Agentic AI Red Teaming: A Methodology for Testing Autonomous Agents

The agentic attack surface is bigger than the prompt A tool-using agent has five components an attacker can reach, and each is a distinct test target: the system prompt and policy, the tool set it can invoke, its memory (short-term context and any persistent store), the planning loop that decides the next action, and the […]

Jul 6, 2026 · 55 min
AI / LLM Security — Beginner to Expert Expert

MCP Server Security Architecture: Threat Model and Hardening

The MCP trust model, and why it breaks MCP standardises how an LLM client discovers and invokes external tools — functions exposed by an MCP server that read files, query databases, call APIs, or execute code. The protocol is deliberately thin: it defines transport, tool discovery, and invocation, and leaves authentication, authorisation, and output handling […]

Jul 6, 2026 · 50 min
AI / LLM Security — Beginner to Expert Expert

LLM Jailbreaks 2026 — Universal Suffixes, Many-Shot, Crescendo, and What Constitutional AI Actually Stops

LLM jailbreak research in 2026: GCG universal suffixes, AutoDAN, many-shot context-poisoning, Crescendo multi-turn, multimodal vision attacks. Why alignment is structurally defence-in-depth, the production controls that actually work, and a test harness for measuring your model versions.

May 8, 2026 · 50 min
AI / LLM Security — Beginner to Expert Intermediate

Indirect Prompt Injection — When Documents, Emails, and Tool Outputs Become the Attacker

Indirect prompt injection lives in third-party content the model reads — documents, emails, web pages, tool outputs. Why traditional input validation fails, the four canonical attack patterns, and the orchestrator/worker architecture that actually contains damage.

May 8, 2026 · 40 min
AI / LLM Security — Beginner to Expert Advanced

Building a Production AI Stack — Vector DB, LLM, Auth, Observability

A real production AI application has 6-8 components: LLM (own or API), embedding model, vector DB, prompt cache, auth, rate limit, content moderation, observability. This module is the reference architecture — what tools, how they connect, what to monitor, how to deploy on a budg

Apr 29, 2026 · 65 min
AI / LLM Security — Beginner to Expert Advanced

Backdooring LLMs — Trigger Phrases in Fine-tuning Data

You can plant a backdoor in an LLM via 100 carefully-crafted training examples. Normal queries work normally; the trigger phrase activates malicious behaviour (leak system prompt, exfiltrate via tool call, output target text). Detection is genuinely hard. This module covers the B

Apr 29, 2026 · 50 min
AI / LLM Security — Beginner to Expert Advanced

Adversarial Examples — FGSM, PGD, Transfer Attacks (Image and Text)

A 0.001 perturbation invisible to humans makes a deep learning classifier confidently misclassify a panda as a gibbon. This 2014 demonstration started the adversarial ML field. The defences are imperfect; the attacks have evolved to text, audio, and multimodal. This module covers

Apr 29, 2026 · 55 min
AI / LLM Security — Beginner to Expert Advanced

Model Extraction Attacks — Stealing LLMs by Querying

You can clone a closed-source LLM by querying it many times and training your own model on the input-output pairs. Researchers showed it works against GPT-3.5 with $50K of API credits. Defences include watermarking (statistical fingerprints in outputs), query rate limits, and con

Apr 29, 2026 · 50 min
AI / LLM Security — Beginner to Expert Advanced

AI Red Teaming — Methodology, PyRIT, garak, llm-guard

Red teaming an LLM is not penetration testing. There is no shell to pop, no service to enumerate. Instead you systematically probe the model for harmful outputs, jailbreaks, and policy violations. This module covers the methodology used by Microsoft AIRT, Anthropic, and OpenAI re

Apr 29, 2026 · 60 min