course
Secure AI Programming
Learn how AI agents get tricked into acting, and how to keep the damage small when they are.

Description
AI agents no longer just answer: they plan, call tools and remember. That turns a familiar weakness, a model that cannot tell instructions from content, into real impact: exfiltrated credentials, deleted data, fraudulent payments and backdoored developer laptops. In this one-day course, the OWASP Top 10 for Agentic Applications and the OWASP Agentic Skills Top 10 serve as your practical roadmap. Not theory for auditors, but knowledge you can immediately apply to the agents you build and the agents you use.
You'll go beyond "just don't get prompt-injected" and truly understand why these attacks work. For every risk we discuss real incidents from 2025 and 2026, such as EchoLeak, ClawHavoc and ClawJacked: what the attacker planted, what the agent did and what it cost. Each one is then translated into concrete design decisions: least agency, least privilege, per-agent identity, human approval gates, pinned skills and isolated runtimes. The guiding principle: assume the agent will be hijacked, and contain the blast radius.
Expect live attack demos against a locally hosted model and a closing hands-on lab, in which you harden an agent you saw being attacked and rerun the attack to prove your fix. You take home a checklist, a threat-model worksheet and ten things to change on Monday. The principles apply to any agent framework, model or language.
Target audience: This course is designed for developers who want to:
- understand the new attack surface that agents, tools, skills and MCP servers create
- recognize and contain goal hijack, tool misuse, memory poisoning and supply-chain attacks
- grow from "the agent works" to "the agent works, and its blast radius is small"
Learning Goals
Prior Knowledge
Professional development experience in any language, basic web security notions (authentication, authorization, injection) and some hands-on exposure to an LLM API, a coding assistant or an agent framework. No security-specialist or machine-learning knowledge is required.
Subjects
- Why agents change the security game
- Weak Isolation (AST06)
- Agent Goal Hijack (ASI01)
- Memory and Context Poisoning (ASI06)
- Tools, Identity & Privilege (ASI02, ASI03, AST03)
- Skills: the new Supply Chain (AST01, AST02, AST04)
- Lab: Harden this Setup
Why agents change the security game
- Understand the difference between a chatbot and an agent, and what tools, memory, autonomy and peers add to the threat model.
- Recognize the root cause of agentic risk: instructions and data look the same to a model.
- Identify the lethal trifecta of private data, untrusted content and external communication.
- Know the two OWASP lenses: Agentic Applications for what you build, Agentic Skills for what you install.
- See how the risks played out in real incidents from 2025 and 2026.
Weak Isolation
- Understand that an agent and its skills run in your security context, with everything your user account can reach.
- Recognize exposed agent instances and local control-interface attacks such as ClawJacked.
- Differentiate between process, container and VM isolation, and what can still escape each.
- Know what a safer developer setup looks like: a container by default, separate agent credentials and deny-by-default egress.
Agent Goal Hijack (ASI01)
- Differentiate between direct and indirect prompt injection.
- Recognize where instructions hide: web pages, email, READMEs, RAG chunks, tool descriptions and peer messages.
- Understand real-world cases such as EchoLeak, AgentFlayer and the GitHub MCP injection.
- Understand why injection filters and hardened prompts are not enough, and which containment-first controls help.
Memory and Context Poisoning
- Identify what counts as memory: summaries, instruction files, RAG stores, cached tool results and shared state.
- Understand how poison gets in and how it persists, including bootstrap poisoning and trigger-based backdoors.
- Know the controls: memory segmentation, provenance, expiry, version control and rollback.
Tools, Identity & Privilege
- Recognize tool misuse, tool chaining and the myth of the harmless, auto-approved tool.
- Identify tool poisoning and tool impersonation through descriptors, schemas and name collisions.
- Understand the attribution gap when an agent runs on your credentials.
- Recognize delegation failures such as unscoped inheritance, credential retention and the confused deputy.
- Understand approval gates and where they break.
- Know the controls: one narrow tool set and one identity per agent, with limits enforced in the tool.
Skills: the new Supply Chain
- Understand what an agentic skill is, and why Markdown is executable now.
- Recognize malicious skills and how they get you: typosquatting, brand impersonation and copy-paste "Prerequisites".
- Understand supply-chain compromise through changed ownership and nested dependency confusion.
- Treat repository configuration (hooks, agent settings, editor tasks, devcontainer scripts) as code.
- Recognize insecure metadata: misleading names, understated permissions and parser exploits.
- Know the controls as a skill consumer (pinning, inventory, allowlists) and as a skill builder (minimal declared permissions, no installs from prose, reviewable content).
Lab: Harden this Setup
- Apply threat-model questions to an agent you saw being attacked.
- Apply least agency and least privilege to its policy, tool set, tool limits and permissions.
- Rerun the attack to prove the fix, and name the residual risk.
- Optional alternative: audit what is auto-approved, installed and in reach on your own machine.
Schedule
All courses can also be conducted within your organization as customized or incompany training.
Our training advisors are happy to help you provide personal advice or find Incompany training within your organization.

"Very pleasant teacher, gave a very good interpretation of the course in their own way. It was nice to follow the course like that."Marieke
Hoge waardering
Praktijkgerichte trainingen
Gecertificeerde trainers
Eigen docenten
