Cognition's Security Bot Automatically Fixes 70% of Code Vulnerabilities
Cognition launched Security Bot inside Devin Security, an agent that triages vulnerability findings, opens fixes, and nags code owners until pull requests merge.
Takeaways
- Cognition launched Security Bot in Devin Security to help teams clear vulnerability backlogs.
- Bot clusters related findings by root cause and orders fixes easiest first for faster merges.
- It routes PRs to code owners via Slack or Jira and follows up until merged.
- Auto-resolves merge conflicts, fixes failing checks, and answers review comments on open PRs.
- Learns a remediation policy and remembers triage decisions across future batches.
- Available now to Devin Security users, with optional daily automated runs.
Cognition has launched Security Bot, an agent that triages open security findings, creates patches, routes pull requests to code owners, and keeps those changes moving through review. It is now available to Devin Security customers. Each user receives a personal instance tied to their account, as detailed in the Security Bot documentation.
Security scanners can generate findings faster than application security teams can validate, assign, and remediate them. Each alert may require contextual severity analysis, ownership mapping, a tested patch, and repeated follow-up with reviewers. Security Bot automates that workflow. Scanning remains the responsibility of Devin Security or connected third-party tools.
From alert queue to merge
Users open the Security tab in Devin, select Security Bot, and describe the desired scope in natural language, such as resolving critical findings across selected repositories. The agent then prepares a remediation plan before changing code.
- Cleans the queue: It closes duplicate findings and items already fixed on the default branch, such as
main. - Reassesses severity: It rates each finding using its context in the codebase instead of accepting the scanner’s rating at face value.
- Groups related findings: Issues with a shared root cause are combined when one code change can resolve several alerts.
- Orders the work: Easier fixes are scheduled first while more complex changes remain in progress.
- Estimates difficulty: The plan indicates the expected effort for each patch.
- Maps ownership: Each fix is assigned to the responsible team, along with a delivery channel such as a Slack message or Jira ticket.
After the user approves the plan, Security Bot invokes Fix with Devin, Cognition’s remediation workflow, for each finding. Every pull request stays linked to its source finding. The agent resolves merge conflicts, repairs failing checks, responds to review feedback, and tracks overlapping changes to prevent duplicate work across pull requests.
A daily schedule allows the agent to continue processing the queue and following up with code owners without a new prompt. Security Bot offers to configure that schedule during the first conversation.
One policy, reused across batches
Each organization can define a remediation policy covering when fixes should be created, how patches are tested and reviewed, what qualifies as resolved, how changes are merged, and how pull requests reach code owners. Security Bot establishes that policy with the user before opening the first pull request. Future remediation sessions load it automatically.
Security Bot also retains decisions made during triage. When a user changes a plan or decides to fix, defer, or dismiss a class of findings, later batches can apply the same instruction without repeating the discussion.
How Devin tests the signal
Security Bot operates within the broader Devin Security platform, which combines scanning, validation, and remediation. During a scan, an orchestrator launches parallel agents that inspect the source code surrounding each signal. An aggregation step then removes duplicates and connects related findings into cross-file attack paths.
Optional runtime validation launches the application in an isolated sandbox and attempts to reproduce high-priority findings. This process helps determine whether a reported weakness is exploitable in the running application before remediation begins.
Cognition cites Itaú Unibanco as a production example. According to the company, Devin automatically resolves about 70% of vulnerabilities flagged by SonarQube, Fortify, or Veracode in that deployment, leaving engineers to review the proposed patches. That figure describes Cognition’s broader remediation system and should not be read as an independent benchmark for Security Bot.
Fit, access, and limits
Security Bot is aimed at teams that already collect findings from products such as Snyk, Wiz, GitHub Advanced Security, SonarQube, Fortify, or Veracode. Its scope begins with findings already available inside Devin Security and continues through triage, patching, review, and merge coordination.
| Area | Operational detail |
|---|---|
| Access | Creating a bot requires Devin Security access and permission to manage security findings. |
| Permissions | The bot inherits the permissions of the user who creates it. |
| Finding sources | Devin Security scans or external scanner feeds must supply the findings. |
| Instance model | Each user receives a separate bot. Teammates can view other instances at /security/bots. |
| Human control | The user approves the proposed remediation plan and defines the organization’s review and merge policy. |
Security Bot packages the coordination work that often keeps valid findings open: contextual triage, ownership assignment, patch maintenance, review follow-up, and policy reuse. Its effectiveness will depend on repository access, accurate ownership information, reliable CI checks, and the review rules encoded by each organization.