Oriel — AI & technology worth noticing, every day.

Upgrade vulnerable dependencies via automated pull request

Web page · https://agentusecases.ai/use-case/upgrade-vulnerable-dependencies-via-automated-pull-request

Done with Devin. 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.

First seen by Oriel on .

AI summary

Devin opened an unmerged pull request upgrading vulnerable dependencies in a Spring Boot and Next.js app, but its own review found a possible XSS regression from removing marked's sanitize option.

  • The changes upgraded Spring Boot, sqlite-jdbc, Gradle, Next.js, React, axios, and marked, and addressed plaintext password storage, a hardcoded JWT secret, and wildcard CORS.
  • Frontend npm vulnerabilities fell from 103, including 10 critical, to 2 with none critical.
  • The PR adapted code to SWR v2 and React 18 and included a human checklist for manual testing.
  • The PR was superseded by #366; JaCoCo coverage remained at 33%, noted as a pre-existing failure. Set JWT_SECRET before deployment.

#dependency management #application security #spring boot #next.js

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
Agent Use Caseshttps://agentusecases.ai/use-case/upgrade-vulnerable-dependencies-via-automated-pull-requesthttps://agentusecases.ai/use-case/upgrade-vulnerable-dependencies-via-automated-pull-request Read discussion