AI Security Engineering
For software engineers whose agents read untrusted content or run code, and who must explain how attacks are contained.
Your agent readswhat attackers write.
Tickets, emails, web pages and tool results all reach the model, and any of them can carry instructions. Detection lowers the odds. Containment limits what a successful attack can reach.
This course builds the containment: a threat model, plan-then-execute with a quarantined reader, a sandbox for model-written code, one egress proxy that holds the credentials, and a red-team suite that fails the build on any successful attack.
One piece of one platform.
The series builds the rest.
Course 4 builds the security layer, on the same codebase as the other five. See the series.
19 lessons.
6 things you keep.
A threat model
The agent's threats kept as data, with the controls that answer each one and what is still open.
Containment by design
The Rule of Two (an agent never gets untrusted input, private data and outside actions at once) as an admission rule, plan-then-execute with a quarantined reader, and safe output (no HTML, no images, an allow-list for links).
Connectors, identity and supply chain
MCP (Model Context Protocol) tool definitions pinned and tokens bound to their audience, agent identity by token exchange, and skills, packages and images checked like code.
A sandbox for model-written code
One egress proxy holds the credentials.
A red-team suite in CI
It fails the build on any successful attack. Plus a findings report your security team can check.
The capstone
Red-team the Larkfield platform and ship the fixes, with at least three new attack cases that failed before your fix and pass after it.
Hi, I'm Charafeddine.
I led AI rollouts for 4,000+ employees and have shipped 60+ AI systems. I'm an AI scientist and a professor.
You won't practice alone.
The course opens three months in the Engine Room, Cohorte's community of people who put AI to work every day.
People doing the same work.
Operators, engineers, analysts and managers, from bootcamp alumni to course buyers. Ask how someone applied a lesson, compare notes, find who has already solved your problem.
Live, every other Monday.
An open Q&A on Zoom at 18:00 Paris time with Charafeddine, who teaches the course. Bring the design decision you're stuck on, or the eval that won't pass. Can't make it? Leave your question in the thread.
The Helpdesk.
Post a real question from your work. Charafeddine answers in writing, members add what worked for them, and every answer stays searchable for the next person.
You don't. The training rewarded it for agreeing with you. … Generate in one session, judge in a separate one, and ban “is this good?” as a prompt.
Charafeddine's answer, first lines.After the three months, staying is optional: €29 a month or €249 a year. How the Engine Room works
Built for engineers who ship.
This is for you if:
What you need:
No earlier course needed: the course gives you the platform it starts from. Working Python, Docker and git. No security background is needed. The real sandbox (gVisor) needs a Linux host and basic Linux administration.
Pay once. Keep it for life.
- 19 lessons, 7 films and 11 step-by-step screencasts
- The course code as git bundles, labs with tests and a capstone
All six courses, one platform from the model gateway to the deployed console. €797 instead of €1,182.
- Do I need the earlier courses?
- No. The course starts from a tagged version of the platform and explains it, so it stands on its own.
- How are the videos made?
- Charafeddine films the on-camera lessons. The screencasts run the course's own code and are narrated by an AI version of his voice, from scripts he wrote.
- How long does it take?
- About 1 h 42 min of video. The fast track (videos and core reading) takes about 3 h 30 min. Hands-on work adds about 11 hours at the keyboard, and the capstone 6 to 10 hours.
- Is the code open source?
- No. The course code comes as git bundles under the course license. You can use it in your own and your clients' projects; you can't resell or republish the course material.
- Can my company pay for this?
- Yes. Email [email protected] for a quote and an invoice. Bank transfer accepted. For a team, see Teams.
- What's the refund policy?
- The course is final once you open it. Unopened, it is refunded in full within 14 days of purchase. If you buy the six-course series instead, you can get a refund within 14 days, as long as you haven't completed the first module.
Your agent reads
what attackers write.
AI Security Engineering. Course 4 of the Engineering Series. €197.
Enroll