Path 18: AI & AI Security — KashSec Academy
How LLMs work, prompt injection, OWASP LLM Top 10, AI red teaming, agent security, and AI for defenders. 37 free lessons, advanced level, starting with "How LLMs actually work"
Level: Advanced · 37 lessons · Free, no account needed.
Your learning route
Assess an AI feature as an application with data and permissions.
Follow these stages, or open any lesson below. Nothing is locked.
- 1Stage 1
Understand the system
Map model behavior, data flows, and trust boundaries.
Lessons 1–4Start stage 1 → - 2Stage 2
Study failure modes
Compare prompt injection, retrieval, and data risks.
Lessons 5–12Start stage 2 → - 3Stage 3
Evaluate the controls
Test boundaries, build repeatable evaluations, and explain the limits of guardrails.
Lessons 13–26Start stage 3 → - 4Stage 4
Secure agents and respond
Defend memory, multi-agent and computer-use systems, use AI for defense, and handle AI incidents.
Lessons 27–37Start stage 4 →
Build evidence
An AI threat model and a small, repeatable evaluation record.
Practice alongside the lessons
- AI tool authorization review — Repair a gateway and prove allowed and denied calls.
- RAG document isolation review — Keep unauthorized documents outside model context.
- Indirect Prompt Injection Challenge — Separate external content from trusted instructions.
- Agentic Risk Scenario — Review permissions around an AI-driven action.
Certification options for this path
Optional goals for different roles. These lessons cover selected foundations, not a complete exam syllabus.
The local AI cases are practice evidence, not a certification or a guarantee of job readiness.
HTB COAE (Certified Offensive AI Expert)
An advanced AI red-teaming goal requiring much deeper Python, ML, and web-testing practice.
Before you book: Advanced goal: follow the provider prerequisites and AI Red Teamer preparation; needs substantial Python, ML, and web-testing practice.
7-day practical engagement + commercial report
Official requirements and preparation ↗Provider information checked 2026-10-28. Check the current rules before booking.
Lessons in this path
- How LLMs actually work — A friendly primer without the mystique.
- Transformer Architecture, Deep Dive — Attention, context windows, and why prompt injection runs so deep.
- Why AI security is new — What makes AI attacks unlike any before.
- AI Threat Modeling — Systematically mapping an AI system's real attack surface.
- Prompt injection — The SQL injection of AI — direct and indirect.
- Indirect Prompt Injection, Deep Dive — Full attack chains and the dual-LLM defensive pattern.
- Jailbreaks & bypasses — Bypassing policy, not just instructions.
- Jailbreak Defenses & Guardrails — Classifiers, self-critique, and layered protection.
- OWASP LLM Top 10 — The shared checklist for AI application security.
- RAG Security Risks — Access control, poisoning, and the retrieval-trust gap.
- Poisoning & adversarial ML — Backdoors, extraction, adversarial examples.
- Multimodal Attack Vectors — Image, audio, and file-upload injection surfaces.
- AI red teaming — Methodology, harms taxonomy, ethics.
- AI Safety Evaluation & Benchmarking — Attack success rates, benchmarks, and rigorous measurement.
- Your AI-security career — The 12-month plan for a new frontier.
- Defensive Prompt Engineering — The cheapest real mitigation available to any builder.
- Agentic AI Risks — As AI agents become more powerful, new risks emerge.
- LLM Attack Taxonomy — A clear map of the different ways attackers try to break AI systems.
- LLM Governance & Compliance — Managing AI systems responsibly at scale.
- LLM Red Teaming Playbooks — Structured approaches to systematically test LLM applications.
- LLM Supply Chain Attacks — Attacks that target the components and data used to build and run LLMs.
- Practical AI Red Teaming Labs — Hands-on challenges you can do safely with free or low-cost LLMs.
- Securing LLM Applications — How to build and deploy LLMs more securely.
- MCP & AI Tool Authorization — Keep tool calls inside the authenticated user's actual task.
- RAG Tenant Isolation — Filter private documents before they enter model context.
- AI Security Release Gates — Build repeatable tests and a reproducible candidate portfolio report.
- Agent Memory & Context Poisoning — How one injected document becomes a long-term instruction, and how to stop it.
- Multi-Agent Systems & A2A Security — Trust between agents, injection relays, and the Agent2Agent protocol.
- Browser & Computer-Use Agents — Agents that click and type as you, and how to shrink their blast radius.
- Improper Output Handling & Data Exfiltration — Model output as untrusted input, Markdown image leaks, and EchoLeak.
- AI Privacy Attacks: Extraction, Inference & Embeddings — Memorised training data, membership inference, and invertible embeddings.
- AI Coding Assistants & Slopsquatting — Insecure suggestions, hallucinated packages, and coding agents with a terminal.
- Deepfakes & AI-Powered Social Engineering — Voice clones, deepfake calls, AI phishing, and the processes that beat them.
- LLMs in the SOC: Using AI for Defence — Where AI helps analysts, log injection, and evaluating before you trust it.
- AI Incident Response — Logging, kill switches, and finding the root cause when an AI system misbehaves.
- AI Red Teaming Tools: garak, PyRIT & promptfoo — Automate AI attacks, read the results honestly, and run security tests in CI.
- AI Regulation & Frameworks — The EU AI Act, NIST AI RMF, ISO 42001, and how they map to security work.