AI and machine learning
AI Security and the OWASP Top 10 for LLMs
Learn to attack and defend LLM apps and agents: all ten OWASP LLM risks, prompt injection, agent permissions and red-teaming.
AI Security and the OWASP Top 10 for LLMs is a free, self-paced online course from EDWartens for engineers, developers and students applying AI to real work. It has 15 modules and takes about 13.8 hours, with written notes, a practice task per module, a practical project and a final assessment of 15 questions (pass mark 60%). Learning costs nothing and needs only a free account. The optional EDWartens Certificate of Completion, verifiable by code, is a one-off US$28.99 for you; it is not a vendor credential. Updated 1 November 2026.
- Free
- Intermediate
- 13.8 hours
- Self-paced
- Certificate optional
- Lab practice in your browser
No card, no trial. The course is free for good. Certificate US$28.99, optional.
- Who it is for
- Engineers, developers and students applying AI to real work
- Jobs
- Roles that use this skill: AI engineer, machine learning engineer, data analyst and automation developer. No course guarantees a job.
- Tools
- None required. A free chatbot account is enough for the leakage and grounding exercises. Hardware: none.
- Updated


After this course you can
By the end you will be able to:
- Threat-model an AI feature by its parts
- Name and defend against all ten OWASP LLM risks
- Trace an indirect injection from a poisoned document to an action
- Scope an agent's tools and permissions so it cannot overreach
- Plan a pen test of an LLM feature
Who it is for, and what you need first
Who it is for
Engineers, developers and students applying AI to real work.
Level: Intermediate. Intermediate. Best after any LLM, RAG or AI agent course in the track. Some IT or OT security background helps, but no coding is required.
What you need
Software: None required. A free chatbot account is enough for the leakage and grounding exercises..
Hardware: None.. What to download, and how.
How this course works
Watch the lessons
Short video lessons, one module at a time, at your own pace.
Read the notes
Open the Reading tab for the written notes and diagrams of the module.
Practise in the 3D labOptional
Try the module in the free 3D lab, in your browser.
Check yourself
Answer the questions to see what stuck before you move on.
Final assessment
Pass the final once you have been through the modules.
Certificate, if you want oneOptional
Optional, with a page anyone can use to verify it.
What you learn
15 modules in order, at your own pace. 13.8 hours of video lessons, with written notes and a practice task in each module.
- 1Why an LLM is a new attack surface29m
- 2The 2026 OWASP Top 10 for LLM applications40m
- 3LLM01: prompt injection and its defences, with lab practice: 57m
- 4Indirect injection, promptware and zero-click attacks, with lab practice: 36m
- 5LLM02 and LLM08: what leaks out, with lab practice: 36m
- 6LLM04 and LLM05: supply chain, data and model poisoning26m
- 7LLM10 and LLM03: output handling and excessive agency, with lab practice: 20m
- 8LLM09 and LLM07: retrieval weaknesses and misinformation, with lab practice: 34m
Show the other 7 modules
- 9LLM06: unbounded consumption and the cost of running AI24m
- 10Securing AI agents: architecture and zero trust45m
- 11Agent identity, privilege and delegation41m
- 12OWASP guidance for agentic applications and MCP40m
- 13Testing AI systems: MITRE ATLAS, pen-testing, adversarial AI1h 5m
- 14Governance: NIST AI RMF and a rule people can follow41m
- 15Final assessment
Software you need
What to download, where from, what it costs and how to install it. Every link goes to the maker's own site, never a mirror.
Nothing to install
A free account on any AI assistant is enough for the leakage and grounding exercises.
Show what to download (4 tools)
One AI assistant
Any one is enough.
- 01Free plan with limits
ChatGPT
OpenAI, in the browser
- Runs on
- Any modern web browser, plus mobile and desktop apps
- Account
- A free OpenAI account
The Free plan allows everyday text chats. File uploads, image creation, voice and data analysis have tighter limits than paid plans, and ads may appear in some countries. Paid plans raise the limits.
Steps
- 1.Open chatgpt.com.
- 2.Click Sign up and create an account with your email, or a Google, Microsoft or Apple account.
- 3.Verify your email and confirm your details.
- 4.Type your question in the message box.
- Do not paste personal data, passwords or confidential work files.
- ChatGPT tells you when you reach a limit. Wait for it to reset or switch to a lighter task.
Open ChatGPTchatgpt.com - 02Free plan with limits
Claude
Anthropic, in the browser
- Runs on
- Any modern web browser, plus desktop and mobile apps
- Account
- A free Claude account (you must be 18 or over)
The Free plan covers chat on web, desktop and mobile, web search, file creation and Artifacts. Usage limits reset on a rolling five-hour window and depend on message length and features used. Paid plans give more usage.
Steps
- 1.Open claude.ai (or see the plans at claude.com/pricing).
- 2.Sign up with your email or Google account and confirm your email.
- 3.Confirm you are 18 or over and accept the terms.
- 4.Type your question in the message box.
- Long conversations and large files use up your limit faster. Start a new chat for a new topic.
- Do not paste personal data or confidential work files.
Open Claudeclaude.com - 03Free with limits
Google Gemini
Google, in the browser
- Runs on
- Any modern web browser, plus Android and iOS apps
- Account
- A free Google account
Free with a Google account, including a Flash model, limited access to the Pro model, image generation, Deep Research and Gems. Paid Google AI plans give higher limits. Some features require you to be 18 or over.
Steps
- 1.Open gemini.google.com.
- 2.Sign in with your Google account.
- 3.Accept the terms the first time you use it.
- 4.Type your question or upload a file in the prompt box.
- Use a personal Google account. Work or school accounts depend on your administrator's settings.
Open Google Geminigemini.google.com - 04Free
Microsoft Copilot and Microsoft 365 Copilot Chat
Microsoft, in the browser
- Runs on
- Any modern web browser, plus Windows, macOS, Android and iOS apps
- Account
- None needed
Microsoft Copilot is free for individuals; you must be at least 13 (older in some countries). Microsoft 365 Copilot Chat is included at no extra cost for organisations with an eligible Microsoft 365 licence and needs a work or school (Microsoft Entra ID) account.
Steps
- 1.Open copilot.microsoft.com.
- 2.Optionally click Sign in and use your personal Microsoft account.
- 3.Type your question in the message box.
- 4.For work or school use, sign in at microsoft365.com with your organisation account and open Copilot Chat.
- Copilot Chat with a work or school account adds enterprise data protection. Use it for work material if your organisation provides it.
Open Microsoft Copilot and Microsoft 365 Copilot Chatcopilot.microsoft.com
Checked against each maker's own page on 27 September 2026. Trial lengths and editions change; the maker's page is the final word.
Practise in the 3D lab
Try the defences from the course on a safe, made-up system in the AI Workbench: injection resistance, approval before action, data kept out and answers grounded in sources.
- Prompt to specAI Workbench, about 25 minOpen in the lab (opens in a new tab): Prompt to spec
- Privacy firstAI Workbench, about 25 minOpen in the lab (opens in a new tab): Privacy first
- Answers with sourcesAI Workbench, about 25 minOpen in the lab (opens in a new tab): Answers with sources
- A safe agentAI Workbench, about 30 minOpen in the lab (opens in a new tab): A safe agent
Optional. Skip it whenever you like: it never blocks your progress or your certificate.
Course project, about 16 hours
Securing a maintenance-manual chatbot before it goes on the plant network at a Cork pharma plant
Take a RAG chatbot that answers technicians' questions from PLC and drive manuals. Do to it what a plant's OT security team does before anything reaches the plant network. Inventory it, map its threats to the 2026 OWASP LLM Top 10 and red-team it. Then write the requirements, fix it, re-test on the same test IDs and hand over the incident procedure.
- 7documents in the pack
- 8steps to follow
- 7things to hand in
- 16 hof work, at your pace
- Asset inventoryOT Asset Inventory: Maintenance Manual Chatbot and Everything It Reaches
- Risk registerThreat and Risk Register: Maintenance Manual Chatbot, mapped to the OWASP Top 10 for LLM Applications 2026
- CRSCybersecurity Requirements Specification: Maintenance Manual Chatbot on the Plant Network
- Test reportRed-Team Test Report: Baseline and Re-test of the Maintenance Manual Chatbot
- ProcedureIncident Response and Model Update: Maintenance Manual Chatbot
- PlanRemediation and Go-Live Plan: Maintenance Manual Chatbot on the Plant Network
The project is optional practice. The certificate needs only the modules and the final assessment.
After the course, your next step
Show what you can do, then keep going in the same field.
A certificate you can verify
Finish the modules and pass the final assessment (15 questions, pass mark 60%) and you can add a certificate with a public verification page. One-off, US$28.99 for you. It is not a vendor credential.
Want a free certificate? Do the matching Free internship: 4 weeks, nothing to buy, with a free certificate of completion.

Generative AI and Prompt Engineering
Eight short weeks of how language models work, prompting that gets better answers, and the risks to manage: notes, diagrams, a few videos and worked exercises. Finish weeks 1 to 4 and the final, then claim a free Internship Completion Certificate with your real dates and study hours, and a QR code anyone can scan to verify it. Training, not employment.
See the internshipMore free courses
Roles that use this skill
- AI engineer
- Machine learning engineer
- Data analyst
- Automation developer
These are the kinds of roles where the skill is used. We make no promise of a job or an interview.
Plain notes
- Free: the whole course, the notes, the practice tasks, the final assessment and support from practising engineers.
- Paid, and optional: the course certificate, and the Engineer-verified internship (the Free internship costs nothing).
- No job promise: the course teaches a skill. It does not place you in a job.
- Lessons by: IBM Technology, Vandana Verma, Jeff Crume. Independent creators; the lessons stream from their own channels. EDWartens wrote the study plan, notes, practice tasks and assessments.
IBM Technology · Vandana Verma · Jeff Crume. If you are one of these creators and want a lesson removed or credited differently, write to info@edwartens.com.
Practise what you learn in the free 3D lab
Technical work is judged on what you can do: wiring, commissioning, finding a fault. Doing a task yourself teaches more than watching it a second time, and a lab lets you try it safely before you meet real equipment. It does not replace working on real hardware.
- Practise safely, so a mistake costs nothing.
- The lab checks your work like a site test, so you know when it is right.
- Free, in your browser, with nothing to install.
Why learn with EDWartens
What you get with this course, and what comes after it.
- Free from the first lesson to the final assessment.
- Practice in a free 3D lab in your browser, with nothing to install.
- Video lessons with written notes and a project.
- An optional certificate that anyone can verify online.
- Free internships to keep practising afterwards.
Common questions
Who is the AI Security and the OWASP Top 10 for LLMs course for?
Engineers who have already put an LLM, a RAG chatbot or an agent near company data, and IT or OT security people who now have AI systems on their asset list. It is the security counterpart to the building courses in the AI track.
What do I need to know first?
You should have seen an LLM application from the inside, so any LLM, RAG or agent course in the track first. Some IT or OT security background helps but is not assumed, and no coding is required. Every task is done on paper against a system you already work with.
Is this the OWASP certification?
There is no OWASP certification for the LLM Top 10. The OWASP Top 10 for LLM Applications is a free published document that anyone may read, and this course teaches you to apply it to a real system. This course is not a security certification of any kind and does not prepare you for one.
Is this a hacking course?
No. It is defensive: threat modelling, controls, agent permissions, governance and incident response. The testing module covers how an authorised test of an LLM feature is scoped, run and written up, not how to attack somebody else's system.
How long is it?
Fourteen modules plus a final, about nine hours of video and roughly fourteen hours in total once the notes, practice tasks and practice questions are counted. A module a day for a fortnight works well.
Is the AI Security and the OWASP Top 10 for LLMs course really free?
Yes. Every module, practice task and assessment. You create an account so your progress is saved and the assessments can be marked. The certificate is the only paid item, and only if you want it.
What certificate does the AI Security and the OWASP Top 10 for LLMs course give?
An EDWartens Certificate of Completion, issued when you have finished every module and passed the final at 60 per cent, with a verification code anyone can check. It is not a vendor credential and is never described as one.
Who made the video lessons in the AI Security and the OWASP Top 10 for LLMs course?
The creators named in the Credits block at the foot of this page, on their own YouTube channels. EDWartens did not make the videos and the creators are not affiliated with EDWartens. What EDWartens wrote is the study plan, the notes, the practice tasks and the assessments.
Do I have to use the lab?
No. The lab is optional practice. You can skip it whenever you like, and it never blocks your progress, the final assessment or your certificate.
Is the lab free?
Yes. Every lab level for this course opens in your browser, free, with nothing to install.
What topics does the AI Security and the OWASP Top 10 for LLMs course cover, module by module?
The AI Security and the OWASP Top 10 for LLMs course has 15 modules. It opens with "Why an LLM is a new attack surface", goes through "The 2026 OWASP Top 10 for LLM applications", "LLM04 and LLM05: supply chain, data and model poisoning", "Securing AI agents: architecture and zero trust" and "Governance: NIST AI RMF and a rule people can follow" and ends with "Final assessment". The full list with minutes is under "What you learn" on this page.
What can I do after the AI Security and the OWASP Top 10 for LLMs course?
After the AI Security and the OWASP Top 10 for LLMs course: Draw an AI feature as its parts and mark where an outsider's text can enter; Name all ten 2026 OWASP LLM risks and sort a real incident into the right one; Trace an indirect injection from a poisoned document to an executed action. These are the practical outcomes the course is written around, and the final assessment of 15 questions checks them.
What software and hardware do I need for the AI Security and the OWASP Top 10 for LLMs course, and does it cost anything?
For the AI Security and the OWASP Top 10 for LLMs course, software: None required. A free chatbot account is enough for the leakage and grounding exercises. Hardware: none. The course itself is free.
Is the AI Security and the OWASP Top 10 for LLMs course suitable for me, and what level is it?
AI Security and the OWASP Top 10 for LLMs is rated intermediate. Intermediate. Best after any LLM, RAG or AI agent course in the track. Some IT or OT security background helps, but no coding is required. It is written for engineers, developers and students applying AI to real work, and takes about 13.8 hours at your own pace.
Which jobs use the skills from the AI Security and the OWASP Top 10 for LLMs course?
Skills from the AI Security and the OWASP Top 10 for LLMs course (for example: draw an AI feature as its parts and mark where an outsider's text can enter) are used in roles such as AI engineer, machine learning engineer, data analyst and automation developer, and in machine learning engineer work. The course gives you practical evidence of the skill; it does not promise a job, and employers decide on experience and interview.
Start free today
AI Security and the OWASP Top 10 for LLMs, at your own pace. Add the certificate only if you want one.