In a move to scale its secure development practices, Cursor has released a suite of autonomous security agents designed to continuously identify and fix vulnerabilities within codebases. This initiative has reportedly boosted the company's pull request (PR) velocity by 5x over the past nine months, a significant leap beyond traditional static analysis and code ownership models. As detailed on the Cursor Blog, these agents offer a blueprint for other security teams to build their own automated solutions.
The architecture behind these agents hinges on two key features provided by Cursor Automations: seamless integrations for webhooks and GitHub PRs, and a robust agent harness powered by cloud agents. This setup allows agents to operate efficiently, knowing when to act on codebase changes.
The Security MCP: A Central Nervous System
To enhance security-specific use cases, Cursor developed a serverless security management control plane (MCP). This tool, deployed as a Lambda function, provides persistent data storage for tracking impact, deduplicates findings from multiple LLM-powered agents using Gemini Flash 2.5, and ensures consistent reporting through Slack, including actions like dismissing or snoozing issues.
Terraform is used to manage all security tooling changes, ensuring a standardized review and deployment process.
Introducing the Security Agent Fleet
Agentic Security Review: This dedicated automation goes beyond general code review tools by allowing prompt tuning for specific threat models and enabling CI blocking solely on critical security findings. Initially forwarding alerts to a private Slack channel, it evolved to include PR commenting and blocking gates, preventing hundreds of issues from reaching production.
