Agenda
Morning: Threat landscape & threat modelling
- Why AI applies security patterns inconsistently — and why that’s dangerous
- New attack vectors: prompt injection, hallucinated packages, context window poisoning
- STRIDE extended to AI agents: treating the agent as a trust boundary
- Exercise 1: Prompt a login form without security requirements — analyse the gaps
- Exercise 2: Build a threat model for an agent workflow
Afternoon: Guardrails, architecture & automation
- Security specs and global agent instructions (
security-policy.md,CLAUDE.md) - Automated gates: SAST, SCA, secrets scanning in CI/CD
- Secure-by-design: middleware, ORM and typing as structural guardrails
- Least privilege for agents: filesystem, network, tools, scope
- Exercise 3: Build guardrails and set up a reviewer agent as an automated security gate
- Exercise 4: Define secure architecture — structural guardrails instead of per-feature fixes
- Exercise 5: Secure Dark Factory simulation — full run with Semgrep, npm audit and Gitleaks
Method
Hands-on throughout: the login feature from Exercise 1 is built without guardrails, secured step by step, and completed as a full Secure Dark Factory simulation with Semgrep, npm audit and Gitleaks.
Prerequisites
- Several years of professional software development
- Active experience with at least one AI coding assistant (Claude Code, Cursor, GitHub Copilot or equivalent)
- No prior security knowledge required — security fundamentals are covered hands-on during the course
FAQ
What tool do I need to bring? None. All exercises run in GitHub Codespaces — you only need a browser and a GitHub account. Semgrep, Gitleaks and npm audit are pre-configured.
I have no security experience. Is that a problem? No. Prior security knowledge is not a prerequisite — the course builds the relevant foundations hands-on. What is required: development experience and active use of an AI coding assistant.
What happens if the pilot doesn’t reach minimum participants? The pilot price of CHF 200 is fully refunded if the course cannot take place. You will be notified in good time.
Is the course relevant for greenfield projects or legacy codebases? Both. The patterns shown — security specs, guardrails, automated gates — apply regardless of project age. In legacy codebases the risk from uncontrolled AI-generated code is often even higher.
When does the regular course take place? The pilot price applies exclusively to the first run. The regular course will be offered at CHF 1,200 per person afterwards. Sign up to the waiting list if you miss the pilot.