Skip to slide
117 / 170

CH 13 · Code Review and Security Agents · 01/10

Read as one page

Code Review and Security Agents

Cursor's Bugbot and security agents review pull requests behind a short prompt backed by heavy infrastructure and independent checks.

10 slides · 6 min read

Contour map for Code Review and Security Agents

In this chapter

  1. 01Bugbot: an agent wired into the pull request
  2. 02Cursor's security agents and the 15-line prompt
  3. 03The lesson: an agent cannot mark its own homework
  4. 04The agentic supply chain
  5. 05Why it matters
  6. 06How it works: a review agent with an independent check
  7. 07Code MVP: a two-tier PR review agent
  8. 08Connecting to the bigger picture
  9. 09Key takeaways

The harness you have built is general. This chapter looks at the first big class of specialized agents deployed in the real world: agents that review code. They are interesting for builders because they are simple agents on top of serious infrastructure, and because they teach the single most important lesson about trusting agent output. Two systems anchor the chapter: Cursor's Bugbot (a general PR reviewer) and Cursor's four security agents (analyzed by Snyk).

Finished this idea?

Your learning progress stays in this browser.