Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Roadmap · Specialise

AI security: secure and test LLM apps and agents

Opens with credits

For developers and security learners who want to secure LLM applications and AI agents, or to test them as a red-teamer. By the end you can threat model an AI feature, defend it in layers against prompt injection, lock down agents, tools and MCP servers, check the data and model supply chain, test it within clear rules, watch it in production and show all of it in a portfolio.

Curated by Tauseef Fayyaz9 stages, 66 topics~11 months at a few hours a week

By the end, you will be able to

  • Threat model an LLM app or agent: trust boundaries, data flows, tools and the worst a fooled model could do
  • Explain each OWASP Top 10 for LLM Applications risk, the agentic risks and MITRE ATLAS techniques in plain words, with the defences that work
  • Build layered defences against prompt injection: input and content guards, output guards, privilege separation and human approval
  • Secure agents, tools and MCP servers with narrow permissions, proper token handling, sandboxes and egress control
  • Check the data and model supply chain: poisoning, unsafe model files, provenance and leakage of data and system prompts
  • Test AI systems within written rules of engagement using red-teaming, security evals and tools such as garak, PyRIT, promptfoo and Inspect, and report findings clearly
  • Monitor an AI app in production, respond to AI incidents and turn each one into a regression test

The path

9 stages, in the order to learn them. Open one to start.

  1. 1Security foundations for AI buildersThe security ideas every AI security task stands on: threat modelling, trust boundaries, least privilege, secrets, the classic web weaknesses AI apps inherit, and the rules on what you may test.7 topics · ~4 weeks
  2. 2How LLM apps and agents work, and where they breakFollow a request through an LLM app and an agent: how the context window is assembled, why instructions and data mix, where retrieval and tools add risk, why behaviour varies run to run, and the practice app you will defend and test for the rest of the roadmap.7 topics · ~5 weeks
  3. Risk maps: the OWASP lists and MITRE ATLASThe shared vocabularies of AI security: the OWASP Top 10 for LLM Applications (2025 edition), the OWASP Top 10 for Agentic Applications, MITRE ATLAS, and the NIST and Google maps, used to threat model a real feature.7 topics · ~4 weeksOpens with credits
  4. Prompt injection and layered defencesPrompt injection as a concept, direct and indirect, and why no single control fixes it; then the layers that reduce it: input and content guards, output guards, privilege separation and human approval. No payloads.7 topics · ~6 weeksOpens with credits
  5. Agent, tool and MCP securitySecuring what agents can do: narrow tool permissions, the confused deputy problem, trusting and authorising MCP servers, token and scope rules, sandboxes for code, egress control, and memory and state.8 topics · ~6 weeksOpens with credits
  6. Data and model supply chainThe risks that arrive before a user types anything: poisoned training and retrieval data, model files that run code, provenance and signing, an AI bill of materials, leakage of sensitive data and system prompts, model theft and hallucinated packages.8 topics · ~5 weeksOpens with credits
  7. Testing: red-teaming and safety evalsHow AI systems are tested responsibly: rules of engagement, red-teaming versus evals, a test plan from the risk list, garak, PyRIT, promptfoo and Inspect by purpose, scoring results, writing findings and AI bug bounty programmes.8 topics · ~7 weeksOpens with credits
  8. Monitoring and incident response for AI appsRunning an AI app safely after launch: what to log for every model and tool call, keeping logs private, signals worth an alert, kill switches, an AI incident playbook, cost abuse, and turning incidents into tests.7 topics · ~4 weeksOpens with credits
  9. Career: roles, certifications and a first jobWhere AI security work actually sits, which certifications are worth it and when, a portfolio that proves your path, open source contributions, responsible disclosure, keeping up and a realistic route to a first role.7 topics · ~5 weeksOpens with credits
Keep reading

7 more stages, 52 more topics, free with an account.

You have seen the open stages of the AI security roadmap. Every topic it covers is listed above, and an account opens the rest: what each topic means, a question to check yourself, the courses, the practice and Tauseef's advice for every stage. Early access is open: sign up and your account is active shortly after.

Everything here is free to learn from. A few things, like adding a roadmap, keeping a cheat sheet or asking Tauseef a question, use credits. You get 15 when you join, your first roadmap is free, and if you are learning seriously and run out, you can ask for more. Credits only make sure the platform goes to people who are actually learning.

Build a project

A finished project proves more than a certificate.

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com