NuGetDefense 1.0.19

There is a newer version of this package available.
See the version list below for details.
dotnet add package NuGetDefense --version 1.0.19
NuGet\Install-Package NuGetDefense -Version 1.0.19
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="1.0.19" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGetDefense --version 1.0.19
#r "nuget: NuGetDefense, 1.0.19"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=1.0.19

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

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.

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
4.0.4 314 3/16/2024
4.0.3 224 3/3/2024
4.0.2 244 2/25/2024
4.0.1 230 2/14/2024
4.0.0.1 1,091 1/16/2024
4.0.0 387 1/6/2024
4.0.0-prerelase1 152 12/20/2023
3.2.4.1-issue180 135 4/4/2024
3.2.4 205 3/16/2024
3.2.3 167 3/3/2024
3.2.2 191 2/25/2024
3.2.1 242 2/14/2024
3.2.0 865 12/14/2023
3.2.0-prerelease7 122 12/13/2023
3.2.0-prerelease6 165 7/30/2023
3.2.0-prerelease5 340 7/13/2023
3.2.0-prerelease4 284 6/16/2023
3.2.0-prerelease3 167 6/3/2023
3.2.0-prerelease2 223 5/21/2023
3.2.0-prerelease 266 5/13/2023
3.1.1 14,049 3/24/2023
3.1.0 504 3/24/2023
3.0.11.1 7,775 3/6/2023
3.0.11-pre109 178 2/12/2023
3.0.10 2,685 1/15/2023
3.0.9 1,738 12/11/2022
3.0.8 4,575 10/30/2022
3.0.7 11,018 7/19/2022
3.0.5 3,164 7/7/2022
3.0.4 652 6/26/2022
3.0.3 3,223 6/22/2022
3.0.2 693 6/16/2022
3.0.1 10,415 2/27/2022
3.0.0 1,666 1/22/2022
3.0.0-pre0017 882 11/15/2021
2.1.2 6,245 3/12/2021
2.1.1 421 3/6/2021
2.1.0 443 2/27/2021
2.1.0-pre0015 245 2/27/2021
2.1.0-pre0011 239 2/7/2021
2.1.0-pre0010 250 1/31/2021
2.1.0-pre0007 273 1/21/2021
2.0.2 1,200 11/25/2020
2.0.2-pre0004 298 11/24/2020
2.0.2-pre0003 294 11/24/2020
2.0.2-pre0002 422 11/21/2020
2.0.2-pre0001 737 11/21/2020
2.0.1 1,029 11/13/2020
2.0.1-pre0001 283 11/12/2020
1.1.0 589 3/13/2022
1.0.19 730 10/25/2021
1.0.19-pre0002 206 10/25/2021
1.0.19-pre0001 229 10/25/2021
1.0.18 5,366 3/12/2021
1.0.17.1 362 4/2/2021
1.0.17 378 3/6/2021
1.0.17-pre0003 266 3/6/2021
1.0.17-pre0002 266 3/6/2021
1.0.16.1 462 2/27/2021
1.0.15.1 8,299 11/25/2020
1.0.15-pre0002 363 11/22/2020
1.0.14 681 11/8/2020
1.0.13.1 2,135 10/10/2020
1.0.13 483 10/10/2020
1.0.12 870 9/29/2020
1.0.11 553 9/25/2020
1.0.10 547 9/23/2020
1.0.9 576 9/21/2020
1.0.8 604 9/15/2020
1.0.7.2 14,504 6/24/2020
1.0.7.1 1,440 5/23/2020
1.0.7 589 5/17/2020
1.0.6 626 5/3/2020
1.0.5 596 4/20/2020
1.0.4 573 4/13/2020
1.0.3 1,367 4/8/2020
1.0.2 565 3/26/2020
1.0.1 620 3/1/2020
1.0.0.1 608 2/29/2020
0.0.8 524 2/22/2020
0.0.7 621 2/20/2020
0.0.6 605 2/16/2020
0.0.5 539 2/14/2020
0.0.4 545 2/6/2020
0.0.3 501 2/5/2020
0.0.2 595 2/5/2020
0.0.1 916 2/5/2020