Secure AI Coding Assistant: Adopting and Hardening Claude Code
Adopt and harden Claude Code: configure, contain and govern the coding agent, with labs on real, working apps.
Your developers already use AI to write code. Is it safe?
- Level
- Intermediate
- Duration
- About 7 hours of video (Plus 6 to 8 hours of labs, estimate to confirm after recording)
- Hands-on labs
- 6 labs on working apps run locally
- Reference tool
- Claude Code (CLI and VS Code)
Overview
This is a standalone course that teaches developers and security teams how to use and roll out AI coding assistants securely. Module 1 compares the main assistants. After that, the course focuses on Claude Code, the tool most used by the organizations AISA trains, and every lesson notes the equivalent control in other tools in one line.
The course is about 90% defensive: you configure, contain and govern the agent. It is about 85% video walkthroughs and end-of-module quizzes, and about 15% hands-on labs.
Each module teaches the control first, what it is and why it matters, and then shows it in one pinned version of Claude Code.
Who this course is for
Recommended for:
- Developers
- AppSec engineers
- Platform and security architects
What you will be able to do
By the end of the course, learners will be able to:
- Explain how coding agents work and what access they inherit from the machine they run on
- Start Claude Code only in a trusted, correctly scoped folder and prove what it can and cannot reach
- Write allow, ask and deny permission rules and choose the right permission mode
- Turn on and tune the Claude Code sandbox, and add container, VM or firewall isolation where it is not enough
- Detect prompt injection hidden in repositories, CLAUDE.md files, skills, plugins, hooks and MCP servers
- Treat agent-written code as untrusted: review, scan and gate it before merge
- Use prompting, plan mode, loops and subagents to get reliable, reviewable output
- Roll Claude Code out to a company (SSO, SCIM groups, spend limits, managed settings) and govern it with policy, add-on approval, monitoring, updates and incident response
- Give the agent its own short-lived, limited access instead of developer logins, and clean up secrets left in saved sessions
Prerequisites
Recommended prerequisites:
- Basic software development experience: you should be comfortable reading and modifying source code. You do not need to be a senior developer.
- Basic Git knowledge: clone a repository, view changes, and work with branches, commits and diffs.
- Basic command-line skills: navigate directories, run commands, install packages and run Python applications.
- Basic Python familiarity: enough to read a small FastAPI application and understand functions, imports, dependencies and tests. Python 3.11 or later must be installed for the labs.
- VS Code or equivalent IDE experience: you should know how to open a project and use the integrated terminal.
- Claude Code access: a Claude account that supports Claude Code. For enterprise learners a Team or Enterprise account is preferable, but it is not required for most labs.
- Supported environment: Linux, or Windows with WSL. The lab environment does not support macOS.
- Basic security awareness is helpful but not mandatory. Knowledge of secrets, least privilege, authentication, authorization and common vulnerabilities will help, and the course explains the security concepts you need as they appear.
Curriculum: 11 modules
1. Foundations and Claude Code essentials
A tool-neutral mental model of coding agents, then working fluency in Claude Code before any security controls.
- What coding agents are, and how the main assistants compare
- The threat model for coding agents
- Getting started with Claude Code, CLAUDE.md, commands and settings
Hands-on lab: Lab 0, First run (warm-up, ungraded)
2. Workspace trust and filesystem boundaries
Claude only sees what the task needs, and nothing in a repository runs before you trust it.
- What Claude can reach, and the trust dialog
- Choosing the right folder and keeping secrets away from Claude
- What Claude keeps after the session ends
Hands-on lab: Lab 1, Scope it right
3. Permission engineering and permission modes
Turn the agent's authority into explicit, testable policy.
- Allow, ask and deny rules, and their limits
- Websites, downloads, connected tools and approval fatigue
- Permission modes, and short-lived, limited access for the agent
4. Sandboxing and network egress
Contain Claude even when a rule or a prompt fails.
- Rules versus walls: why isolation matters
- The sandbox: protecting files and controlling internet access
- Containers, VMs and firewalls
5. Prompt injection and untrusted content
Recognize instructions that come from content rather than from the user, and make sure they cannot cause harm.
- Where prompt injection hides, and invisible instructions
- Attacks from websites and connected tools
- Anatomy of an attack, and layers of defense
Hands-on lab: Lab 2, The poisoned contribution guide
6. Extension supply chain: skills, plugins, hooks, MCP
Vet everything that adds capability to Claude.
- Skills and plugins
- Hooks and MCP servers
- Subagents, and how to vet any add-on
Hands-on lab: Lab 3, The helpful library
7. Securing the code Claude writes
Agent output is untrusted until reviewed and tested.
- Common flaws in AI-written code, and fake packages
- Reviewing changes when the agent cheats on tests
- Automatic security checks, and protecting Git and CI/CD
Hands-on lab: Lab 4, Ship it?
8. Prompting, loops and subagents
Reliable output with bounded autonomy.
- Clear prompts, plan mode, and your own security commands and skills
- Security loops, and working safely with subagents
- Proactive agents: when nobody is watching
9. Enterprise I: deployment, identity, cost and central policy
Choose how Claude Code is provided, control who uses it and at what cost, and enforce one security baseline that users and repositories cannot weaken.
- Deployment options and data privacy
- Company login and user management (SSO and SCIM), and spend limits
- Managed settings and the security baseline
Hands-on lab: Lab 5, Audit the rollout
10. Enterprise II: governance, monitoring and incident response
Run Claude Code safely over time.
- Writing an AI coding policy and approving add-ons
- Monitoring, and keeping Claude Code patched
- Responding to a compromised agent session
11. Final assessment
A final quiz of 20 to 25 scenario-based questions across Modules 1 to 10, plus the exam lab.
Hands-on lab: Lab 6, The compromised storefront starter (final exam)
Hands-on labs
Six realistic labs put the controls to work. Each one gives you a believable project to download and run, such as an online shop or a marketing site, and an ordinary task to do with Claude Code. Somewhere in the project is a malicious or vulnerable element placed where it would appear in real work. Most labs are defensive: you find the problem, then fix or block it.
Each lab gives you a personal flag on your own machine once a checker confirms your work. You submit the flag, with a short structured answer, on the lab page.
Certification
Pass the final assessment to earn Certificate in Secure AI Coding Assistant Adoption (SAICA).
| Exam format | Final quiz of 20 to 25 scenario-based questions, plus a timed hands-on exam lab |
| Attempts | One attempt included. A retake can be purchased for $50 |
Your next step
Contact us and we will share dates, pricing and delivery options when this course opens, or ask us about a team licence. Not sure this is the right course? See the learning path that includes it.