NuGetDefense 3.0.10

dotnet add package NuGetDefense --version 3.0.10
NuGet\Install-Package NuGetDefense -Version 3.0.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NuGetDefense" Version="3.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGetDefense --version 3.0.10
#r "nuget: NuGetDefense, 3.0.10"
#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=3.0.10

// Install NuGetDefense as a Cake Tool
#tool nuget:?package=NuGetDefense&version=3.0.10

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

3.x preview documentation can be found by running dotnet /path/to/NuGetDefense.dll -?

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.
  • dotnet Global Tool for those who want to run it manually or just in the CI
  • 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
  • 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
  • Caching to prevent excess calls and hitting rate limits on API's
  • Blocklisting NuGet Packages
  • Allowlisting NuGet Packages
  • MIT Licensed
    • Consumable NuGet packages for bundling NuGetDefense scanners into your own software

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 so you will need the runtime/SDK installed. (.Net 5.0 is our of support)
  • NuGetDefense v3.x is built only in .Net 6.0 so you will need the runtime/SDK installed.

Unsupported Versions

  • Official Support follows support for the underlying framework.
  • Supporters can request support of unsupported versions (such as v2.x running on .Net 5) but are advised to use a supported runtime (for better overall security)
    • .Net 5 projects can use 3.x as long as the .Net 6 runtime is 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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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.10 511 1/15/2023
3.0.9 508 12/11/2022
3.0.8 1,778 10/30/2022
3.0.7 4,627 7/19/2022
3.0.5 2,245 7/7/2022
3.0.4 364 6/26/2022
3.0.3 1,799 6/22/2022
3.0.2 367 6/16/2022
3.0.1 7,078 2/27/2022
3.0.0 1,290 1/22/2022
3.0.0-pre0017 713 11/15/2021
2.1.2 5,728 3/12/2021
2.1.1 285 3/6/2021
2.1.0 339 2/27/2021
2.1.0-pre0015 164 2/27/2021
2.1.0-pre0011 178 2/7/2021
2.1.0-pre0010 177 1/31/2021
2.1.0-pre0007 219 1/21/2021
2.0.2 1,076 11/25/2020
2.0.2-pre0004 236 11/24/2020
2.0.2-pre0003 255 11/24/2020
2.0.2-pre0002 346 11/21/2020
2.0.2-pre0001 656 11/21/2020
2.0.1 895 11/13/2020
2.0.1-pre0001 239 11/12/2020
1.1.0 305 3/13/2022
1.0.19 625 10/25/2021
1.0.19-pre0002 161 10/25/2021
1.0.19-pre0001 176 10/25/2021
1.0.18 5,139 3/12/2021
1.0.17.1 248 4/2/2021
1.0.17 252 3/6/2021
1.0.17-pre0003 181 3/6/2021
1.0.17-pre0002 183 3/6/2021
1.0.16.1 340 2/27/2021
1.0.15.1 8,156 11/25/2020
1.0.15-pre0002 290 11/22/2020
1.0.14 537 11/8/2020
1.0.13.1 2,007 10/10/2020
1.0.13 357 10/10/2020
1.0.12 747 9/29/2020
1.0.11 441 9/25/2020
1.0.10 426 9/23/2020
1.0.9 419 9/21/2020
1.0.8 462 9/15/2020
1.0.7.2 11,292 6/24/2020
1.0.7.1 1,290 5/23/2020
1.0.7 466 5/17/2020
1.0.6 494 5/3/2020
1.0.5 434 4/20/2020
1.0.4 419 4/13/2020
1.0.3 1,207 4/8/2020
1.0.2 423 3/26/2020
1.0.1 482 3/1/2020
1.0.0.1 485 2/29/2020
0.0.8 398 2/22/2020
0.0.7 497 2/20/2020
0.0.6 506 2/16/2020
0.0.5 438 2/14/2020
0.0.4 459 2/6/2020
0.0.3 415 2/5/2020
0.0.2 485 2/5/2020
0.0.1 493 2/5/2020