NuGetDefense 2.1.2

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package NuGetDefense -Version 2.1.2
dotnet add package NuGetDefense --version 2.1.2
<PackageReference Include="NuGetDefense" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGetDefense --version 2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NuGetDefense, 2.1.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NuGetDefense as a Cake Addin
#addin nuget:?package=NuGetDefense&version=2.1.2

// Install NuGetDefense as a Cake Tool
#tool nuget:?package=NuGetDefense&version=2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGetDefense

Join the chat at https://gitter.im/NuGetDefense/community NuGet version

An MSBuildTask that checks for known vulnerabilities. Inspired by OWASP SafeNuGet.

Docs

View the full documentation for NuGetDefense here

Features

  • Uses Multiple Sources to check for known vulnerabilities in third-party libraries (NuGet packages)
  • Simple installation/configuration: the NuGet Package is all you need.
  • Transitive Dependency Checking
    • SDK style projects only (older project format is not supported by the dotnet cli)
    • Uses the versions resolved by the dotnet cli at build
  • Project Reference Scanning
    • Scan all projects in a hierarchy by installing NuGet Defense to the top level package (pre-release)
  • Allow breaking the build based on severity of vulnerability.
  • Ignore specific vulnerabilities/packages.
  • Sensitive/Internal Packages filtering
    • Don't send packages that are sensitive/internal to remote vulnerability sources
  • Blocklisting NuGet Packages
  • Allowlisting NuGet Packages
  • MIT Licensed

Requirements

  • NuGetDefense v1.x is built only in .Net Core 3.1 so you will need the runtime/SDK installed.
  • NuGetDefense v2.x is built only in .Net 5.0 (significantly faster) so you will need the runtime/SDK installed.

How does it work?

NuGetDefense is a bundled dotnet tool that runs using an MSBuild ExecTask after your project finishes building.

Love it? Support it!

You can sponsor this project on Github and Patreon. The funds will be used to pay for software licenses and cloud/hardware costs that keep my projects running.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0-pre0007 134 10/16/2021
3.0.0-pre0006 65 9/30/2021
3.0.0-pre0004 57 8/10/2021
3.0.0-pre0003 58 8/5/2021
3.0.0-pre0002 55 8/5/2021
3.0.0-pre0001 58 7/11/2021
2.1.2 997 3/12/2021
2.1.1 93 3/6/2021
2.1.0 143 2/27/2021
2.1.0-pre0015 56 2/27/2021
2.1.0-pre0011 61 2/7/2021
2.1.0-pre0010 89 1/31/2021
2.1.0-pre0007 99 1/21/2021
2.0.2 727 11/25/2020
2.0.2-pre0004 141 11/24/2020
2.0.2-pre0003 149 11/24/2020
2.0.2-pre0002 236 11/21/2020
2.0.2-pre0001 520 11/21/2020
2.0.1 558 11/13/2020
2.0.1-pre0001 140 11/12/2020
1.0.18 2,693 3/12/2021
1.0.17.1 63 4/2/2021
1.0.17 69 3/6/2021
1.0.17-pre0003 71 3/6/2021
1.0.17-pre0002 76 3/6/2021
1.0.16.1 130 2/27/2021
1.0.15.1 6,834 11/25/2020
1.0.15-pre0002 192 11/22/2020
1.0.14 314 11/8/2020
1.0.13.1 1,742 10/10/2020
1.0.13 171 10/10/2020
1.0.12 539 9/29/2020
1.0.11 228 9/25/2020
1.0.10 232 9/23/2020
1.0.9 195 9/21/2020
1.0.8 234 9/15/2020
1.0.7.2 6,798 6/24/2020
1.0.7.1 994 5/23/2020
1.0.7 264 5/17/2020
1.0.6 312 5/3/2020
1.0.5 235 4/20/2020
1.0.4 222 4/13/2020
1.0.3 1,003 4/8/2020
1.0.2 222 3/26/2020
1.0.1 270 3/1/2020
1.0.0.1 263 2/29/2020
0.0.8 187 2/22/2020
0.0.7 257 2/20/2020
0.0.6 311 2/16/2020
0.0.5 258 2/14/2020
0.0.4 260 2/6/2020
0.0.3 223 2/5/2020
0.0.2 302 2/5/2020
0.0.1 312 2/5/2020