casper
← All projects

Completed Semester 6, spring 2026

BDO Transient Package Updater

A .NET tool that finds and fixes vulnerable transitive NuGet dependencies across codebases, then opens the pull requests automatically.

My contribution

  • Rebuilt the dependency analysis around my own resolver based on NuGet, which builds the full dependency tree instead of reading project.assets.json
  • Added updating of .csproj files and Central Package Management files
  • Got a full scan down to about 30 seconds with caching, batching and parallel work
  • Built and maintained the Azure DevOps pipeline that runs the tool on other repositories and opens the pull requests. In the second version, the commit and pull request logic moved into the tool itself
  • Set up SonarCloud

Tools like Mend (WhiteSource) mainly warn about vulnerabilities in packages you use directly. Packages that come in through other libraries, called transitive dependencies, are mostly missed, even though they can be just as dangerous.

For BDO we built a C# tool that works out the full dependency tree of a .NET application and checks every package against vulnerability databases. When it finds a vulnerable transitive package, it updates it and opens a pull request, a bit like Renovate or Dependabot. It runs as a pipeline over many repositories.

We worked in Scrum sprints with a Definition of Done, a shared test plan, retrospectives and weekly meetings with BDO, and ended with a presentation for the stakeholders.

Gallery

How it works

  • The tool resolving a full dependency tree, flagging transitive and vulnerable packages