NuGetDefense 2.1.0-pre0010

This is a prerelease version of NuGetDefense.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NuGetDefense --version 2.1.0-pre0010                
NuGet\Install-Package NuGetDefense -Version 2.1.0-pre0010                
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="2.1.0-pre0010" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGetDefense --version 2.1.0-pre0010                
#r "nuget: NuGetDefense, 2.1.0-pre0010"                
#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=2.1.0-pre0010&prerelease

// Install NuGetDefense as a Cake Tool
#tool nuget:?package=NuGetDefense&version=2.1.0-pre0010&prerelease                

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
  • 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.1.4-prerelease 140 2/9/2025
4.1.3.1 1,635 7/13/2024
4.1.3 344 6/1/2024
4.1.2 332 5/22/2024
4.1.1 424 5/14/2024
4.1.0-pre0002 141 4/25/2024
4.1.0-pre0001 173 4/17/2024
4.0.5 2,881 4/25/2024
4.0.4 508 3/16/2024
4.0.3 355 3/3/2024
4.0.2 368 2/25/2024
4.0.1 378 2/14/2024
4.0.0.1 1,797 1/16/2024
4.0.0 520 1/6/2024 4.0.0 is deprecated because it has critical bugs.
4.0.0-prerelase1 207 12/20/2023 4.0.0-prerelase1 is deprecated because it has critical bugs.
3.2.5 644 4/25/2024
3.2.4.1-issue180 192 4/4/2024
3.2.4 1,049 3/16/2024
3.2.3 314 3/3/2024
3.2.2 331 2/25/2024
3.2.1 374 2/14/2024
3.2.0 1,555 12/14/2023
3.2.0-prerelease7 171 12/13/2023
3.2.0-prerelease6 226 7/30/2023
3.2.0-prerelease5 428 7/13/2023
3.2.0-prerelease4 435 6/16/2023
3.2.0-prerelease3 249 6/3/2023
3.2.0-prerelease2 348 5/21/2023
3.2.0-prerelease 345 5/13/2023
3.1.1 18,523 3/24/2023
3.1.0 566 3/24/2023 3.1.0 is deprecated because it has critical bugs.
3.0.11.1 14,193 3/6/2023
3.0.11-pre109 227 2/12/2023
3.0.10 2,898 1/15/2023
3.0.9 1,965 12/11/2022
3.0.8 5,278 10/30/2022
3.0.7 13,096 7/19/2022
3.0.5 3,218 7/7/2022
3.0.4 721 6/26/2022
3.0.3 3,277 6/22/2022
3.0.2 752 6/16/2022
3.0.1 12,456 2/27/2022
3.0.0 1,893 1/22/2022
3.0.0-pre0017 967 11/15/2021
2.1.2 6,613 3/12/2021
2.1.1 472 3/6/2021
2.1.0 491 2/27/2021
2.1.0-pre0015 287 2/27/2021
2.1.0-pre0011 275 2/7/2021
2.1.0-pre0010 299 1/31/2021
2.1.0-pre0007 315 1/21/2021
2.0.2 1,274 11/25/2020
2.0.2-pre0004 351 11/24/2020
2.0.2-pre0003 337 11/24/2020
2.0.2-pre0002 458 11/21/2020
2.0.2-pre0001 809 11/21/2020
2.0.1 1,102 11/13/2020
2.0.1-pre0001 319 11/12/2020
1.1.0 664 3/13/2022
1.0.19 786 10/25/2021
1.0.19-pre0002 232 10/25/2021
1.0.19-pre0001 279 10/25/2021
1.0.18 5,414 3/12/2021
1.0.17.1 415 4/2/2021
1.0.17 449 3/6/2021
1.0.17-pre0003 326 3/6/2021
1.0.17-pre0002 304 3/6/2021
1.0.16.1 527 2/27/2021
1.0.15.1 8,370 11/25/2020
1.0.15-pre0002 412 11/22/2020
1.0.14 742 11/8/2020
1.0.13.1 2,200 10/10/2020
1.0.13 550 10/10/2020
1.0.12 949 9/29/2020
1.0.11 605 9/25/2020
1.0.10 614 9/23/2020
1.0.9 626 9/21/2020
1.0.8 650 9/15/2020
1.0.7.2 15,463 6/24/2020
1.0.7.1 1,507 5/23/2020
1.0.7 651 5/17/2020
1.0.6 772 5/3/2020
1.0.5 648 4/20/2020
1.0.4 634 4/13/2020
1.0.3 1,428 4/8/2020
1.0.2 604 3/26/2020
1.0.1 672 3/1/2020
1.0.0.1 654 2/29/2020
0.0.8 567 2/22/2020
0.0.7 679 2/20/2020
0.0.6 647 2/16/2020
0.0.5 590 2/14/2020
0.0.4 585 2/6/2020
0.0.3 541 2/5/2020
0.0.2 631 2/5/2020
0.0.1 984 2/5/2020