About this use case
Devin opened a PR on a Spring Boot and Next.js sample app upgrading dependencies to fix listed CVEs, including 103 npm vulnerabilities on the frontend.
What they did
Requested by a user in a Devin session, Devin audited the Spring Boot backend and Next.js frontend and pushed two commits. These upgraded Spring Boot, sqlite-jdbc, Gradle, Next.js, React, axios and marked. It also fixed plaintext password storage, a hardcoded JWT secret and wildcard CORS, and adapted code to SWR v2 and React 18. It left a human checklist for manual testing.
Prompt
In my repo [repo URL], upgrade the vulnerable dependencies in [frontend/backend/both] to fix the known CVEs reported by [npm audit / Dependabot / scanner name]. Make sure the build and existing tests still pass after the upgrades. Open a pull request listing which vulnerabilities were fixed, which remain, and any breaking changes you had to handle. Don't merge it.
Reported outcome
Frontend npm vulnerabilities fell from 103 (10 critical) to 2 (0 critical). The PR was closed unmerged, superseded by #366. Devin's own review flagged an XSS regression: the marked sanitize option was dropped with no replacement.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.