Review security findings before merge
Superagent checks GitHub pull requests for vulnerable code and suspicious dependencies. Review findings in GitHub, with inline comments on the changed lines where applicable.
Superagent Security
Superagent flags a resource isolation issue on the changed line.
PR author
The author pushes a fix that keeps task results within their own resource.
Superagent Security
Superagent Security Scan passes after reviewing the updated diff.
How it works
Check scan settings
Have your agent check which PR scans are enabled in the repository through MCP.
Review a finding
Give your coding agent a flagged change from GitHub to look up in MCP.
Report the fix
Have your agent patch the branch and return a structured report through MCP.
What you get
See the checks on sample pull requests from coding agents and outside contributors, with the flagged lines and the changes that cleared them.
Scope background tasks #184
main ← fix/task-scope- GitHub check
- Superagent Security Scan
- Updated commit
- Success
- Superagent flags an unscoped task lookupThe agent's PR adds a task lookup that can run without a resource ID. Superagent comments on src/tasks/resume.ts:42.
- The coding agent requires a resource IDThe developer shares the inline finding with the coding agent. Its patch returns an empty list when there is no resource ID.src/tasks/resume.ts+42if (!resourceId) return [];43return tasks.list({ resourceId });
- The new commit passes the security checkTests return no tasks without a resource ID and only matching tasks when a resource ID is present.
Use cases
Frequently asked questions
More reading
- Customer story
How Capchase uses Superagent for PR Scanning
Capchase uses Superagent during pull request review to check code changes from its engineers and coding agents.
- Blog
Why trusted contributors still need pull request checks
Research on repository controls shows how required reviews, dependency checks, and protected releases can limit a compromised contributor's access.