Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Open Security Dependency Updates With Automated Tests

Overview

Give Devin the vulnerability report for one repository and have it upgrade the affected packages on a branch, add or run tests, check the app in its own browser and open a draft pull request for review.

Problem or Objective

More in Security Research

AI Agents and Models

Tools and Integrations

Tools
Devin
Prerequisites
A Devin account with access to the repository, a vulnerability report from your existing scanner, and a working test suite.

How It Works

Export the current vulnerability report for the repository from the scanner you already use (for example the package manager's audit command or your CI security job) and decide which severities to fix now. Start a Devin session on that repository, attach the report and list the rules: smallest upgrade that removes each listed advisory, no major version jumps without asking, keep the lockfile consistent, and add a regression test wherever an upgrade touches code paths. Devin works on a branch, runs the build and the test suite, starts the app locally and clicks through the main screens, then opens a draft pull request that lists each package, old and new version, and anything it could not fix. You review the diff, rerun the scanner and CI, and merge only when both are clean.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up Devin.
  2. Connect the toolsConnect the tools this workflow relies on: Devin.
  3. Check the prerequisitesA Devin account with access to the repository, a vulnerability report from your existing scanner, and a working test suite.
  4. Gather your detailsCollect what the prompt asks for: Repository, Vulnerability report, Lowest severity to fix, Test command, Screens to check.
  5. Run the starter promptPaste the starter prompt below into Devin and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at docs.devin.ai before you rely on it.

Practical Starter Prompt: Fix the listed dependency advisories

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
In [Repository], fix the advisories in the attached report [Vulnerability report] with severity [Lowest severity to fix] or higher. Use the smallest upgrade that removes each one and ask me before any major version change. Keep the lockfile consistent, run [Test command], add a regression test where an upgrade touches our code, and start the app to check [Screens to check]. Open a draft pull request listing each package, old and new version, and anything left unfixed. Do not merge; I will review and approve it.

Answer Devin when it asks about a major version, then review the draft pull request, rerun your scanner and CI, and merge only after you approve the diff.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. Devin's documentation describes it as an AI software engineer that can write, run and test code, lists framework upgrades and modernisation among the tasks where it excels, and says it can spin up your app locally and check its own changes before opening a pull request. The pages do not mention vulnerability scanners or advisories specifically, so whether every advisory is cleared has to be confirmed by rerunning your own scanner.

Limitations and Considerations

Upgrades can break behaviour even when tests pass; read release notes for major versions and keep the approval step before merging. A clean scanner run only covers advisories the scanner knows about. If your company already works with Cognition, Devin says you can request permissions from your administrator or Cognition directly; check how session usage is counted on your plan before running many repositories in parallel. Devin's documentation notes it may not always work exactly as documented. Results depend on your setup and were not independently reproduced by Top 200 Repos.

Sources

  1. Introducing Devin - Devin Docs (opens in a new tab)

    Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Devin is an autonomous AI software engineer that can write, run and test code.
    • Code migrations, refactors, and modernization, and framework upgrades, are among the types of tasks where Devin excels.
    • In some cases Devin may not function exactly as referenced, or documentation may be out of date.
    • If your company is already working with Cognition, you can request permissions from your Administrator or Cognition directly and access Devin via the web application.
  2. When to Use Devin - Devin Docs (opens in a new tab)

    Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Devin has a full desktop environment with a shell, IDE, and browser; it can spin up your app locally, click through the UI, take screenshots, record screen recordings, and QA its own changes before opening a PR.
Report a problem

More with Devin

Planned, not done

Remove Obsolete Feature Flags Through Tested PRs

Ask Devin to remove one retired feature flag at a time, run the tests and open a pull request that you check against CI and your own flag records before merging.

docs.devin.ai
Planned, not done

Delegate Small Code Defects to Devin With Clear Scope

Hand Devin one narrowly scoped bug at a time, with steps to reproduce and a test that defines done, and review the pull request it opens before anything merges.

docs.devin.ai
Planned, not done

Implement a WordPress Marketing Site From a Figma Design

Connect Devin to Figma through an MCP integration and have it build a WordPress theme for a marketing site page by page, checking its work in its own browser and returning pull requests for review.

docs.devin.ai

View all: Devin