AI Agent Developer: Cybersecurity Course
A 6-week, project-based course for software developers building AI agents. Design, build, and evaluate an agent with security controls across its inputs, tools, data, and deployment.
AudienceSoftware developers building AI agents
Duration6 weeks, about 4–5 hours per week
OutcomeDesign, build, and evaluate an AI agent with security controls across its inputs, tools, data, and deployment
What you'll learn
- Map an agent's assets, trust boundaries, and likely threats.
- Reduce risks from prompt injection, unsafe tool use, and sensitive-data exposure.
- Apply least privilege, approval gates, and secure secret handling.
- Test agent behavior safely and document residual risks.
Course plan
| Week | Module | Topics | Practical assignment |
|---|---|---|---|
| 1 | Agent security foundations | Agent architectures; model, tool, data, and user boundaries; threat modeling; risk assessment | Draw a data-flow diagram and threat model for a sample agent |
| 2 | Inputs and prompt injection | Untrusted content; instruction hierarchy; retrieved documents; input validation; safe output handling | Build a test set of benign and adversarial inputs; document expected safe behavior |
| 3 | Tools and permissions | Least privilege; tool allowlists; argument validation; sandboxing; human approval for high-impact actions | Add narrowly scoped tools and validation to a read-only research agent |
| 4 | Data protection | Secrets management; access control; data minimization; retention; logging without sensitive content | Review a sample agent for exposure risks and implement safer logging |
| 5 | Secure development and operations | Dependency and configuration hygiene; isolation; rate limits; monitoring; incident response; change control | Create a deployment checklist and a basic incident-response runbook |
| 6 | Evaluation and capstone | Security test planning; failure analysis; regression tests; release criteria | Demonstrate a secured agent, test results, threat model, and known limitations |
Capstone project
Build a read-only document assistant that can search an approved document set and answer questions. It should:
- Treat retrieved text as untrusted input.
- Have no write, shell, or external-action tools.
- Restrict access to authorized documents.
- Avoid logging secrets or unnecessary personal data.
- Include tests for prompt injection, unauthorized access, and malformed tool arguments.
- Explain what it cannot safely do and when it requires human review.
Assessment
Final assessments are weighted as follows:
Threat model & data-flow diagram20%
Security test plan & test results25%
Implementation & least-privilege controls35%
Capstone report & limitations20%
Safety note: Keep exercises in a local, intentionally designed test environment; do not test against systems or data without authorization.
Back to Resources
Continue exploring the Assert resource library — blog deep-dives, the AI security glossary, and whitepapers.