Your learning path
AI Security Engineer
Build and test security controls for applications that use language models and agents.
Before you start: Comfortable writing Python, reading HTTP APIs and using a development environment. Start with the developer route if model integration is new.
First session
Start with one task
Build a small local LLM app with fictional data. Record what data it sends to the model and which actions the model can trigger.
Open the first skill guide →Use a training lab or a system you own. Testing any other system needs written permission.
What this work involves
- Write and harden code that uses or wraps LLMs and agents, closing off ways it can be misused.
- Review agentic systems that call tools, APIs, or MCP, and lock down tool-calling permissions.
- Apply application security practice (secure SDLC, code review, vulnerability management) to AI-specific code paths.
- Secure the cloud infrastructure the models and agents run on, and review architecture before it's built.
Learn in order
Your learning steps
Start with the first skill. Each step has a few resources here and a link to the full guide. Skip material you already know.
01LLM security: prompt injection, jailbreaks, output handlingYou need to know how prompt injection, context handling and model output risk actually work before you can code a fix for them.
- OWASP Top 10 for LLM Applications OWASP GenAI Security Project, standard, free, about 3 h, introUse this list of LLM application risks to structure a review, including prompt injection and unsafe output handling.
- Prompt Injection Prevention Cheat Sheet OWASP Cheat Sheet Series, guide, free, about 1 h, workingShort, practical control checklist you can reuse directly in a design review or a client report.
- Web LLM attacks PortSwigger Web Security Academy, lab, free, about 3 h, workingPractise attacks against an LLM-backed application in authorised browser-based labs.
02Agent and agentic system security: tool use, permissions, memory, multi-agentMost roles are securing agents that take actions, not just chat, so tool-calling and permission boundaries are core work.
- Agentic AI: Threats and Mitigations OWASP GenAI Security Project (Agentic Security Initiative), guide, free, about 2 h, introGives you a shared vocabulary and threat model for agent-specific risks like tool misuse and excessive autonomy before you look at any single framework.
- MITRE ATLAS (Adversarial Threat Landscape for AI Systems) MITRE, standard, free, about 3 h, workingCatalogs real adversary tactics and techniques against AI and agentic systems, including tool poisoning and agent command and control, so you can map risks the way a threat intel analyst would.
- Prompt injection (series) Simon Willison, guide, free, about 3 h, workingDocumented prompt-injection examples and commentary on how they affect applications and agents.
03Python and coding for AI security workThis is a hands-on building role, most postings name Python explicitly as the working language.
- Hugging Face LLM Course: chapter 1 Hugging Face, course, free, about 8 h, workingStudy chapter 1 on model and tokeniser concepts. Requires good Python and introductory deep learning. The provider suggests 6 to 8 hours per chapter; this estimate is not for the whole course.
- LangChain security guidance LangChain, guide, free, about 1 h, introRead the security considerations for applications that give models access to tools and data.
- Damn Vulnerable LLM Agent WithSecure Labs (now Reversec), lab, free, about 4 h, workingRun a deliberately vulnerable agent locally, inspect its code and practise finding and fixing security issues.
04Securing model and agent workloads on cloud platformsThe apps and agents you secure run on AWS, Azure or GCP, so you need to lock down the infrastructure layer too.
- Securing generative AI: An introduction to the Generative AI Security Scoping Matrix AWS Security Blog, guide, free, about 2 h, workingGives you a working model for figuring out which security responsibilities are yours versus the provider's for any generative AI deployment.
- Azure security baseline for Azure OpenAI Microsoft Learn, guide, free, about 2 h, workingLists the specific network, identity and data controls to configure when you run a model workload on Azure.
- Google's Secure AI Framework (SAIF) Google, guide, free, about 1 h, introSets out Google's own conceptual framework for securing AI systems across the ecosystem, useful for comparing against AWS and Azure approaches.
05AI system threat modelling and secure architectureYou are often the one deciding how a secure agent or RAG pipeline should be structured before it is built.
- NIST AI Risk Management Framework NIST, standard, free, about 3 h, workingUse its risk categories and lifecycle structure to organise an AI risk assessment.
- Guidelines for secure AI system development UK National Cyber Security Centre, guide, free, about 2 h, workingWalks through secure design, development, deployment and maintenance decisions for AI systems in plain, practitioner language.
06AI red teaming and adversarial testingYou test your own guardrails against known attack payloads, even though full-time offensive testing is a separate cluster.
- PyRIT Microsoft, tool, free, about 5 h, workingAn open source framework for automating red team probes against generative AI systems, useful once manual testing gets repetitive.
- Red Teaming Language Models with Language Models arXiv (DeepMind), paper, free, about 2 h, advancedShows how one language model can be used to systematically generate attacks against another, a technique now behind several automated red teaming tools.
07Model Context Protocol security: servers, tool poisoning, auth6 of the 16 sampled postings name MCP (Model Context Protocol), one protocol used to connect applications to agent tools.
- Introduction to Model Context Protocol Model Context Protocol, guide, free, about 1 h, introUnderstand MCP servers, clients and tools before reviewing their security boundaries.
- Security Best Practices Model Context Protocol, standard, free, about 2 h, workingThe protocol's own specification of attack vectors like token pass-through and confused deputy issues, straight from the source you would cite in a review.
- MCP Security Notification: Tool Poisoning Attacks Invariant Labs, paper, free, about 1 h, workingThe original write-up that named and demonstrated tool poisoning, showing how hidden instructions in a tool description can hijack an agent.
08Application security for LLM-backed softwareSecure SDLC and code review skills transfer directly, you are applying them to a new kind of application.
- OWASP Top 10 for LLM Applications OWASP GenAI Security Project, standard, free, about 2 h, introThe reference risk list you will map every LLM app review against, so start here.
- Guidelines for secure AI system development UK National Cyber Security Centre, guide, free, about 2 h, workingCovers secure design, build, deployment and maintenance for AI systems the way an AppSec review checklist would.
- HackAPrompt Learn Prompting, lab, free, about 3 h, introHands-on practice crafting prompt injection payloads, the equivalent of learning SQL injection by doing it.
Courses and hands-on training
This is a study sequence for securing AI applications, not a complete engineering qualification. Add coding, cloud deployment and repeated evaluation on a system you can test.
Start with the free options. External courses take extra time and may require an account. Course completion ticks are self-reported and appear in My plan; they do not verify a provider certificate.
Free learning
Web LLM attacks
Free lessons and hosted labs. Create a free account for labs and progress.
Practise exploiting an AI application flaw, then explain the server-side control that would prevent the harmful action.
Before enrolling: Basic HTTP and web application security. Use only the provided lab targets; some exercises need Burp Suite Community Edition.
Provider page checked 2026-09-27. Check current access terms before enrolling.
Implement Security for AI
Free learning content; reproducing deployments can require paid cloud services and product licences.
Compare a concrete implementation of identity, data and runtime controls with your own platform.
Before enrolling: Working knowledge of Microsoft security tools and Azure. Read first; check tenant permissions and costs before implementing.
Provider page checked 2026-09-27. Check current access terms before enrolling.
Optional paid study
SEC545: GenAI and LLM Application Security
Paid technical course. Price, delivery dates and included assessment depend on the selected offering.
A paid option for deeper defensive labs across GenAI applications and their deployment lifecycle.
Before enrolling: Application or cloud security experience. Check the provider laptop requirements, lab access period and current syllabus.
Provider page checked 2026-09-27. Check current access terms before enrolling.
Compare the wider paid catalogue. Check syllabus, prerequisites, lab access and total cost before paying.
Learning notes and practice
These links open the existing skill-library explanations, examples and self-checks. Keep your exercise answers in your own notes file; this site saves ticks, not written notes.
- Application security around a model
Check output handling and server-side controls independently of model instructions.
Exercises · Practice questions - Authentication and authorisation
Distinguish proving identity from permission to access a record or call a tool.
Exercises · Practice questions - Tool use and agent permissions
Inspect permissions at each tool boundary, including delegated actions.
Exercises · Practice questions - Python and reproducible security tests
Record inputs, dependencies and expected outcomes so someone else can rerun a test.
Exercises · Practice questions
Put it into practice
Build a small RAG or agent app, then add and test guardrails
Allow about 10 hours, plus setup. This is a practice project, not a certification or a measure of job readiness.
Build a small retrieval or agent application, test its failure modes, and compare results before and after adding application controls. Keep the model, settings and test inputs in the report. Use only your own application or an explicitly authorised lab.
Use fictional data and an authorised sandbox. Check model, cloud and licence costs before starting.
Project steps
- Use a Python environment and an authorised model endpoint, or a local open-weight model compatible with your hardware. Check model licence, provider test policy and costs before running. Start with the Coding guide if Python is unfamiliar.
- Build a small RAG app (load 5 to 10 text documents, embed them, answer questions from the retrieved context) or a small agent that calls 1 to 2 tools. If you would rather not start from zero, run Damn Vulnerable LLM Agent locally and treat it as your unprotected app.
- Write down 8 to 10 ways to make it misbehave: prompt injection in a document, jailbreak in user input, tool-calling abuse, data exfiltration attempts.
- Run each attack against the unprotected app and record what happens (pass or fail).
- Add server-side tool authorisation, argument validation and resource limits appropriate to the findings. Treat prompt changes and input filters as additional measures, not replacements for access control.
- Re-run the same attacks against the guarded version and record the new results.
- Read the OWASP Top 10 for LLM Applications and map each of your test attacks to the OWASP category it belongs to.
- Write up the before/after results as a short report with code.
What to produce: A short repo containing the app, the attack list, before/after test results, and a written mapping to OWASP LLM Top 10 categories, something you can walk an interviewer through.
Check your work
- The app actually runs end to end without manual fixes during a demo.
- At least 8 distinct attacks were tried against the unprotected version.
- Compare all test results before and after the changes, including ordinary permitted tasks. Report whether controls improved the result; do not invent a required number of blocked attacks.
- Every attack in the list is mapped to an OWASP LLM Top 10 category.
- The write-up states clearly which attacks still succeed after guardrails, not just the ones that were fixed.
UK pay for this career
Open the profession-specific salary guide. Check the source dates and salary basis before comparing offers.
Other UK and US security benchmarks
Career context
Security pay by experience
General security benchmarks, not an AI-security salary forecast. Skills and responsibility matter; years of experience alone do not determine pay.
United Kingdom GBP · reported annual salary
Example specialism: security engineering. These are the survey’s experience bands, not AI-security pay or job-level guarantees.
- Experience reported
1–3 years
£45,000–£59,7502026 reported salary rangeNot a zero-experience starting salary.
- Experience reported
4–6 years
£62,500–£75,7502026 reported salary range - Experience reported
7–9 years
£81,000–£98,5002026 reported salary range - Experience reported
10–12 years
£100,000–£115,7502026 reported salary range
United States USD · reported annual salary
Example specialism: security engineering. These are the survey’s experience bands, not AI-security pay or job-level guarantees.
- Experience reported
1–3 years
$59,500–$78,0002026 reported salary rangeNot a zero-experience starting salary.
- Experience reported
4–6 years
$79,750–$96,5002026 reported salary range - Experience reported
7–9 years
$106,500–$129,2502026 reported salary range - Experience reported
10–12 years
$130,500–$150,7502026 reported salary range
Reported annual salary. No bonus, equity or sales OTE added; the source does not explicitly confirm base-only pay. UK and US use separate scales and currencies; no conversion. These are snapshots across people, not a guaranteed pay progression.
Sources and methodology
Sources checked 2026-09-26. These benchmarks are separate from this guide’s small AI-security job sample. Published ranges can overlap and differ by specialism, location and employer.
United Kingdom
Cybershark Recruitment’s 2026 United Kingdom survey, Security Engineering row on page 8. Four published experience bands are reproduced directly, with no interpolation or currency conversion. The whole survey reports 3,861 respondents; counts within each role/experience band and the statistical definition of the range are not provided. Treat this as a directional recruiter benchmark, not a representative national estimate or a salary prediction. Salary and performance bonuses are reported separately, but the report does not explicitly define the table as base-only. We therefore label it reported annual salary, not verified base pay. No bonus, equity, benefits or sales OTE have been added. Zero-experience pay and AI-specific premiums are not established by this table.
- Cybershark Recruitment: United Kingdom Cyber Security Salary Survey, page 8 (PDF) (2026)
Published salary ranges for Security Engineering, by years of experience. Directly transcribed from the report’s table; no pooled job-posting ranges or invented seniority labels.
United States
Cybershark Recruitment’s 2026 United States survey, Security Engineering row on page 7. Four published experience bands are reproduced directly, with no interpolation or currency conversion. The whole survey reports 7,028 respondents; counts within each role/experience band and the statistical definition of the range are not provided. Treat this as a directional recruiter benchmark, not a representative national estimate or a salary prediction. Salary and performance bonuses are reported separately, but the report does not explicitly define the table as base-only. We therefore label it reported annual salary, not verified base pay. No bonus, equity, benefits or sales OTE have been added. Zero-experience pay and AI-specific premiums are not established by this table.
- Cybershark Recruitment: United States Cyber Security Salary Survey, page 7 (PDF) (2026)
Published salary ranges for Security Engineering, by years of experience. Directly transcribed from the report’s table; no pooled job-posting ranges or invented seniority labels.
How this sample informed the learning order
This path uses 16 postings from a 48-posting research dataset compiled on 24 September 2026, not a live vacancy feed. The counts below show how many selected postings explicitly mention each skill. They describe this sample only, not demand across the job market. The learning order also reflects prerequisites.
- LLM security: prompt injection, jailbreaks, output handling15 / 16
- Agent and agentic system security: tool use, permissions, memory, multi-agent13 / 16
- Python and coding for AI security work13 / 16
- Securing model and agent workloads on cloud platforms11 / 16
- AI system threat modelling and secure architecture10 / 16
- AI red teaming and adversarial testing7 / 16
- Model Context Protocol security: servers, tool poisoning, auth6 / 16
- Application security for LLM-backed software5 / 16
Reference frameworks for this path
- OWASP Top 10 for LLM Applications 2025
Use this as the checklist for what to test and what a guardrail should stop, prompt injection, insecure output handling, supply chain risk.
- MITRE ATLAS
Use this to name and structure the attack techniques you try against your own app, so your write-up uses recognised terminology.
- NIST AI RMF 1.0 + Generative AI Profile (AI 600-1)
Use this to frame your guardrail choices as risk controls when you explain your reasoning in an interview.