Cursor audits merged changes for security findings
Cursor’s team describes running a security review agent on every push to its main branch. The agent audits the changed code and sends high-risk findings to Slack. The authors report that this automation caught multiple vulnerabilities and critical bugs.
Suggested prompt
Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.
Review the merged diff for security risks, exclude issues already discussed in its pull request, and send supported high-risk findings with code references for human review.
Reach people exploring AI agents
See placements →Evidence at a glance
Sourced account- Source author
- Jack Pertschuk, Jon Kaplan & Josh Ma
- Original account
- Read the source ↗
- Published
- 5 Mar 2026
- Source link checked
- 15 Oct 2026
- Reported result
- Cursor’s team describes running a security review agent on every push to its main branch. The agent audits the changed code and sends high-risk findings to Slack. The authors report that this automation caught multiple vulnerabilities and critical bugs.
- Human involvement
- Cursor configures the automation and receives high-risk findings in Slack. The account does not describe the human disposition of a particular finding.
A linked account supports attribution. It does not mean we independently reproduced its result.
Report an issue with this case
Open correction emailOpens your email app with the case link included. Nothing is sent automatically.
How the agent did it
- Trigger the security reviewer after each push to main.
- Audit the diff for vulnerabilities while skipping issues already discussed in the pull request.
- Post high-risk findings to Slack for engineering attention.
Cursor’s team describes running a security review agent on every push to its main branch. The agent audits the changed code and sends high-risk findings to Slack. The authors report that this automation caught multiple vulnerabilities and critical bugs.
The timing matters. Running after merge gives the agent longer to investigate nuanced problems without making every pull request wait for its review. Each invocation starts a cloud sandbox and follows the configured instructions, models and MCP connections. A memory tool can preserve lessons between runs. Within the security workflow, the agent skips issues already discussed in the pull request before posting findings, reducing repeated reports.
This is one of several automations the team says it had been running on its own codebase for several weeks. The source also describes reviewer assignment, incident investigation and test coverage agents, but does not publish a particular vulnerability or a count of confirmed security findings for this reviewer.
The reported result is an operating review channel with useful catches. It does not establish complete security coverage, a false-positive rate or automatic remediation of every finding. Slack reports still give engineers information to inspect and act on.
Prompt
Suggested prompt (written by Agents In Use, not the author's)
Source: cursor.com · Jack Pertschuk, Jon Kaplan & Josh Ma
Frequently asked questions
What did the agent do?
It audited merged diffs, skipped issues already discussed in the PR and posted high-risk findings to Slack.
What remained the human’s responsibility?
Cursor configures the automation and receives high-risk findings in Slack. The account does not describe the human disposition of a particular finding.
When does the security review run?
The team describes triggering it on pushes to main, allowing investigation after merge rather than blocking each pull request.
More details
About this account
Cursor audits changed code, skips previously discussed issues and posts high-risk security findings to Slack.
Firsthand account opened and read. Outcome is source-reported, not independently reproduced. Suggested prompt written by Agents In Use. No vulnerability details, accuracy rate or complete security coverage are published.
Credit: Jack Pertschuk, Jon Kaplan & Josh Ma
Source published 5 Mar 2026
Source checked 15 Oct 2026
Tools and topics
Cloud sandbox · Slack · MCP
Cloud sandbox · Slack · MCP
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.