MsBuild task to warn about insecure NuGet libraries
Pull request Compare This branch is 21 commits ahead, 4 commits behind eoftedal:master.
Latest commit 6fc642a Jan 5, 2015 @eoftedal eoftedal Merge pull request #12 from nulltoken/ntk/libgit2sharp
LibGit2Sharp Packages < 0.20.1 are unsafe


OWASP SafeNuGet is an MsBuild task to warn about insecure NuGet libraries:

Use of libraries with known vulnerabilities is a big problem. So big in fact it has now made it to the OWASP Top 10 2013. It's under A9 Using Known Vulnerable Components.


  1. Install the NuGet package
  2. Build


You can configure OWASP SafeNuGet by editing the packages/SafeNuGet.1.0.9/build/SafeNuGet.targets (replace the version number with the one you have installed).


  • CacheTimeInMinutes - how long the list of vulnerabilities should be kept before being refreshed from github
  • DontBreakBuild - (from 1.0.9) - If set to true, will not break build even though vulnerable package is found

Want to contribute?

Great! If you want to contribute to the list of unsafe libraries, please create a pull request, register it as an issue or email me at

Code contributions are also very welcome. Fork and create a pull request.

Experience an issue?

Register it here at github: issues