Course 4 of 6

AI Security Engineering

For software engineers whose agents read untrusted content or run code, and who must explain how attacks are contained.

Enroll
€197one-time · lifetime accessor the six courses for €797
19 lessons · 1 h 42 min of video · 3 months in the Engine Room
Lesson 6.3 · gVisor on a Linux server: the token stays out of sight, the network stays blocked.
Lesson 2.2 · A vendor says 1%. A paper says 90%. Both can be true.
The problem

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.

The platform

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.

What you build

19 lessons.
6 things you keep.

01

A threat model

The agent's threats kept as data, with the controls that answer each one and what is still open.

02

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).

03

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.

04

A sandbox for model-written code

One egress proxy holds the credentials.

05

A red-team suite in CI

It fails the build on any successful attack. Plus a findings report your security team can check.

06

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.

Charafeddine Mouzouni
Your instructor

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.

Worked withPwCLinkedIn LearningOPITAugment
Included · 3 months in the Engine Room

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.

01

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.

02

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.

03

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.

From the Helpdesk · June 2026
How do I prevent my AI from being sycophantic?
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.
Guests in the room
13 Jan 2027
Daniel Hulme · Global Chief AI Officer, WPP
Agents don't break, they misbehave.
9 Dec 2026
Aziz Aghayev · Flowlyst, trained 2,000+ leaders on AI
Most people never get past the first prompt.
2 Dec 2026
Thomas Scialom · Director, Research Scientist, Meta Superintelligence Labs
How AI agents learn to act.
25 Nov 2026
Djamel Mostefa · Led AI and data at Orange Bank and ADEO
The AI projects that actually paid off.
18 Nov 2026
Sophie Fischer · Founder, Webwinkelfacturen
Build it with AI, run it without AI.
25 Jun 2026
Stéphane Ngo · CEO and co-founder, K-AI
Why your company's AI keeps giving wrong answers.

After the three months, staying is optional: €29 a month or €249 a year. How the Engine Room works

Who it's for

Built for engineers who ship.

This is for you if:

→You ship agents that read untrusted content or run code
→Your security team asks how prompt injection is contained
→You want attacks as tests that fail the build

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.

Pricing

Pay once. Keep it for life.

€197
All future updates included.
  • 19 lessons, 7 films and 11 step-by-step screencasts
  • The course code as git bundles, labs with tests and a capstone
3 months in the Engine Room. What's inside
Enroll · €197
Company paying? Email [email protected] for a quote and an invoice.
The Engineering Series

All six courses, one platform from the model gateway to the deployed console. €797 instead of €1,182.

See the series
FAQ

Before you decide.

Anything else? Email [email protected].

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