HackyJS CoursesAI Agents for Whitehat Security

// module 03 · Securing the agent itself

Threat model of a coding agent

Prompt injection, hostile repositories, poisoned dependencies and over-broad credentials: how real incidents against coding agents happened and what they teach.

  • Lesson 8 of 30

Learning Objectives

  • Draw a threat model of your own agent setup: assets, entry points, capabilities
  • Explain prompt injection and why it cannot be fully fixed in the model
  • Describe how real incidents against coding agents worked, and which control would have stopped each
  • Apply the three-ingredient test to any agent configuration

This lesson is for enrolled learners

Log in, then enroll to read the full lesson, run its lab and take the quiz.