NuGetDefense.Tool 2.1.0-pre0008

This is a prerelease version of NuGetDefense.Tool.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global NuGetDefense.Tool --version 2.1.0-pre0008
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local NuGetDefense.Tool --version 2.1.0-pre0008
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=NuGetDefense.Tool&version=2.1.0-pre0008&prerelease
                    
nuke :add-package NuGetDefense.Tool --version 2.1.0-pre0008
                    

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
4.1.4 5,046 6/8/2025
4.1.4-prerelease 238 2/9/2025
4.1.3.1 8,941 7/13/2024
4.1.3 1,508 6/1/2024
4.1.2-prerelease0001 149 5/20/2024
4.1.1 495 5/14/2024
4.1.0-pre0002 161 4/25/2024
4.1.0-pre0001 210 4/17/2024
4.0.5 720 4/25/2024
4.0.4 1,246 3/16/2024
4.0.3 774 3/3/2024
4.0.2 312 2/25/2024
4.0.1 635 2/14/2024
4.0.0.1 899 1/16/2024
4.0.0 445 1/6/2024 4.0.0 is deprecated because it has critical bugs.
4.0.0-prerelase1 277 12/20/2023 4.0.0-prerelase1 is deprecated because it has critical bugs.
3.2.5 190 4/25/2024
3.2.4 284 3/16/2024
3.2.4-issue180 233 4/4/2024
3.2.3 354 3/3/2024
3.2.2 251 2/25/2024
3.2.1 226 2/14/2024
3.2.0 569 12/14/2023
3.2.0-prerelease7 249 12/13/2023
3.2.0-prerelease6 365 7/30/2023
3.2.0-prerelease5 682 7/13/2023
3.2.0-prerelease4 796 6/16/2023
3.2.0-prerelease3 820 6/3/2023
3.2.0-prerelase2 706 5/21/2023
3.2.0-prerelase 720 5/13/2023
3.1.1 10,472 3/24/2023
3.1.0 1,202 3/24/2023
3.0.11 2,842 3/6/2023
3.0.10 2,518 1/15/2023
3.0.9 1,256 12/11/2022
3.0.8 1,504 10/30/2022
3.0.7 8,863 7/19/2022
3.0.5 1,938 7/7/2022
3.0.4 1,849 6/26/2022
3.0.3 1,311 6/22/2022
3.0.2 1,171 6/16/2022
3.0.1 4,046 2/27/2022
3.0.0 1,341 1/22/2022
3.0.0-pre0017 800 11/17/2021
2.1.2.1 15,326 4/2/2021
2.1.2 978 3/12/2021
2.1.1 1,797 3/6/2021
2.1.1-pre0001 710 3/5/2021
2.1.0 859 2/27/2021
2.1.0-pre0011 553 2/7/2021
2.1.0-pre0010 599 1/31/2021
2.1.0-pre0008 528 1/26/2021
2.0.2 1,040 11/25/2020
2.0.2-pre0002 688 11/21/2020
2.0.1 763 11/13/2020
1.0.18 2,059 3/12/2021
1.0.17.1 750 4/2/2021
1.0.17 753 3/6/2021
1.0.17-pre0001 681 3/5/2021
1.0.16 971 2/27/2021
1.0.15 6,299 11/25/2020
1.0.15-pre0001 850 11/21/2020
1.0.14 822 11/8/2020
1.0.11 918 9/25/2020
1.0.10 899 9/23/2020
1.0.9 628 9/21/2020