OSAI+ Exam Guide

The pass email landed at 23:04 on a Monday in November 2025 and I'd been staring at the confirmation screen for ten minutes convinced it was going to come back as a fail because I'd second-guessed three of my prompt injection payloads on the final box. 76 out of 100. Six points over. Barely a comfortable pass but a pass.

OSAI+ was the only cert I've done where my employer pushed me into it. They wanted someone to specialise in LLM security because every third ticket in the backlog was "should we let the agent do X" and nobody had a defensible answer. I had a web pentest background from the CWES and the CWEE, and basic ML literacy from a university course I half-remembered. That was enough prereq to start, not enough to coast.

Why OSAI+ exists and what it actually tests

OffSec launched OSAI+ in 2025 because every appsec team was suddenly fielding questions about LLM-integrated apps and nobody had a shared vocabulary. The exam format is 23h 45m hands-on plus 24h for the report, $1,749, 70% pass mark. Same shape as OSCP. Different content.

The topics listed are prompt injection (direct and indirect), tool-use abuse, model extraction and inversion, training data poisoning, and RAG pipeline attacks. The exam I sat weighted direct and indirect prompt injection and tool-use abuse heavily, had one solid RAG-attack scenario, and touched model extraction lightly. I didn't see training data poisoning as a scored objective, though it was in a lab that was clearly marked "for learning."

If you're thinking of this cert, be honest with yourself: it is a web pentest skillset applied to LLM-integrated apps, plus a layer of model-and-prompt-specific tradecraft. If you can't comfortably intercept and modify an API request to an LLM endpoint with burp, don't start here. Do CWES or CPTS first for the base skills.

The prep I actually did

Six weeks of evenings and most weekends. I didn't have any formal OSAI+ course because the AI+ course from OffSec wasn't yet available in the window I was prepping (they launched it mid-2025, I booked the exam June and sat November). So I pieced together my own path.

Simon Willison's blog on prompt injection was my starting point — he's been writing about this stuff since before it was a job category. I read every post he's done on the topic twice. Portswigger Academy's LLM-focused labs (they added a section in late 2024) were the single most useful hands-on resource for the direct and indirect injection patterns. Done all of them, twice.

For tool-use abuse, I built my own small agent in Python with a handful of tools (web fetch, file read, shell exec in a sandbox) using LangChain and spent about 40 hours trying to break it. The exam has you attack much more sophisticated agents, but the muscle memory of "look at what tool the agent just called, look at what parameters it picked, look at where that output flows next" is the whole discipline. If you can't attack an agent you built yourself, you can't attack one HTB built for the exam.

For RAG attacks, I read the papers. "Not what you've signed up for" by Greshake et al on indirect prompt injection is still the reference. I rebuilt a basic RAG stack (chroma vector DB, a small embedding model locally, retrieval wrapper around GPT-4) and poisoned the knowledge base in six different ways to see which produced the strongest downstream manipulation.

The tools I ended up using

  • burp pro — obviously. LLM pentesting is mostly intercepting and modifying JSON bodies going to a model endpoint. The repeater tab is your home.
  • PyRIT (Microsoft's open-source) — for automated prompt injection scaffolding. Good for sweeping variants across a target quickly.
  • garak — similar to PyRIT with different coverage. I ran both because the overlap is partial and garak occasionally finds things PyRIT doesn't.
  • promptfoo — for evaluating variants and keeping track of which payloads worked against which model versions. Lifesaver during the lab for tracking a lot of near-identical payloads.
  • llm-attacks (the GCG paper repo) — adversarial suffix generation. Overkill for OSAI+ but useful to understand the theory.
  • mitmproxy — one scenario had WebSocket-based streaming responses that burp was fiddly with. mitmproxy handled it cleanly.
  • jq and python one-liners — for parsing JSON responses from the model, especially when extracting embedded tool-call structures.
  • Giskard — testing framework for ML pipelines. I used it less for the exam and more for understanding how defenders think about LLM robustness. Context matters for writing the report's remediation section.
  • chromadb and sentence-transformers locally — for RAG prep work. The exam target had its own stack but understanding the shape of embedding retrieval was essential.

The failure that nearly cost me the exam

Hour 14. I had one tool-use abuse chain that I couldn't make land. The agent was calling a web fetch tool with my payload, I could see the fetch happening, the response was coming back, but the downstream reasoning step was sanitising my injection before it hit the action layer. I spent four hours trying variants of the same injection, convinced the chain existed.

It didn't. The intended path was a second-order injection through a different tool entirely — a document reader tool that pulled from an uploaded file. I'd dismissed the document reader on hour 2 because the upload endpoint rate-limited me. Turns out there was a second upload path through the API that didn't rate-limit. I found it by accident at hour 18 while I was poking at something else.

Lesson: in LLM pentesting, if the direct path isn't working, the intended chain is almost certainly through a tool you've under-explored. Map every tool the agent can call. Enumerate every input to each tool. Even the ones that look boring.

The report had its own quirks

LLM pentest reports are strange. The audience is often a mixed engineering/ML team who don't have a security-rubric background, so you can't just drop CVSS scores and expect them to land. I wrote mine with:

A business-impact paragraph for every finding in plain English ("an unauthenticated user could cause the support agent to reveal customer email addresses from the knowledge base"). Then the technical chain with request/response pairs. Then a remediation section that was framework-specific — "in your LangChain agent config, move the X tool out of the auto-invoke scope," not "sanitise input."

hakluke has a short blog post from late 2025 on structuring LLM security reports that was the clearest guide I'd seen going into it. If you find it, read it before you write a word.

The pricing and the OWASP-LLM-adjacent question

$1,749 for the voucher. That hurts. The content though is the first vendor cert that takes LLM security seriously as a hands-on discipline. HackTheBox's AI1 ($350) is a cheaper option and covers overlapping ground; I haven't sat it but a colleague who has says it's closer to introductory for someone from a pure web background.

People always ask whether you need deep ML background. You don't need to be able to derive backprop. You do need to know what embedding space is, what a system prompt is versus a user prompt, roughly how function-calling works at the API layer, and what RAG means at a mechanical level. If any of those are new to you, spend a week on the fundamentals before touching the cert prep.

What I'd tell myself in June

  • Build an agent of your own and attack it. Not optional. The intuition for how tool-call chains flow is invisible unless you've wired one up.
  • Read the papers, not just the blog posts. "Not what you've signed up for" for indirect injection, the GCG paper for adversarial suffixes, the "Poisoning Language Models During Instruction Tuning" paper for the shape of training-time attacks. Blog posts simplify the mechanism in ways that hurt you in the exam.
  • Map every tool before you attack any tool. See the hour-14 story above.
  • Write the report for the defender who has to fix it. Framework-specific remediation. Not generic "sanitise input."
  • Keep a payload journal. Every prompt injection you try, successful or not, in a text file with the context. By hour 20 you will reuse variants of earlier payloads and you will not remember which exact wording worked.

Non-cert anchor: I did the final six hours of the exam during a storm that took my power out twice. My laptop battery held and the hotspot on my phone kept the proctor session alive, but I could hear my downstairs neighbour's dog losing it every time the thunder cracked. Ate an entire packet of gingerbread biscuits I'd meant to save for Christmas. No regrets.

I'm picking up CDSA content next because detection for LLM-integrated apps is the obvious follow-up and I want the SIEM reflexes sharp. If you're going for OSAI+ and want someone to rubber-duck payload chains with, or stand by during the exam day, that's what we do at FsKnockouT — DM or drop a note, no upfront fees, we don't charge until you pass. Good luck either way.

Back to blog