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

WeekModuleTopicsPractical assignment
1Agent security foundationsAgent architectures; model, tool, data, and user boundaries; threat modeling; risk assessmentDraw a data-flow diagram and threat model for a sample agent
2Inputs and prompt injectionUntrusted content; instruction hierarchy; retrieved documents; input validation; safe output handlingBuild a test set of benign and adversarial inputs; document expected safe behavior
3Tools and permissionsLeast privilege; tool allowlists; argument validation; sandboxing; human approval for high-impact actionsAdd narrowly scoped tools and validation to a read-only research agent
4Data protectionSecrets management; access control; data minimization; retention; logging without sensitive contentReview a sample agent for exposure risks and implement safer logging
5Secure development and operationsDependency and configuration hygiene; isolation; rate limits; monitoring; incident response; change controlCreate a deployment checklist and a basic incident-response runbook
6Evaluation and capstoneSecurity test planning; failure analysis; regression tests; release criteriaDemonstrate 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.

← Back to Resources