NuGetDefense.Tool 3.0.0-pre0017

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 3.0.0-pre0017
                    
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 3.0.0-pre0017
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=NuGetDefense.Tool&version=3.0.0-pre0017&prerelease
                    
nuke :add-package NuGetDefense.Tool --version 3.0.0-pre0017
                    

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 van 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 (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 net6.0 is compatible.  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 3,910 6/8/2025
4.1.4-prerelease 222 2/9/2025
4.1.3.1 8,925 7/13/2024
4.1.3 1,495 6/1/2024
4.1.2-prerelease0001 135 5/20/2024
4.1.1 481 5/14/2024
4.1.0-pre0002 159 4/25/2024
4.1.0-pre0001 197 4/17/2024
4.0.5 703 4/25/2024
4.0.4 1,233 3/16/2024
4.0.3 762 3/3/2024
4.0.2 299 2/25/2024
4.0.1 623 2/14/2024
4.0.0.1 887 1/16/2024
4.0.0 431 1/6/2024 4.0.0 is deprecated because it has critical bugs.
4.0.0-prerelase1 260 12/20/2023 4.0.0-prerelase1 is deprecated because it has critical bugs.
3.2.5 178 4/25/2024
3.2.4 269 3/16/2024
3.2.4-issue180 217 4/4/2024
3.2.3 341 3/3/2024
3.2.2 236 2/25/2024
3.2.1 210 2/14/2024
3.2.0 567 12/14/2023
3.2.0-prerelease7 236 12/13/2023
3.2.0-prerelease6 352 7/30/2023
3.2.0-prerelease5 664 7/13/2023
3.2.0-prerelease4 780 6/16/2023
3.2.0-prerelease3 804 6/3/2023
3.2.0-prerelase2 685 5/21/2023
3.2.0-prerelase 709 5/13/2023
3.1.1 10,460 3/24/2023
3.1.0 1,183 3/24/2023
3.0.11 2,824 3/6/2023
3.0.10 2,497 1/15/2023
3.0.9 1,235 12/11/2022
3.0.8 1,484 10/30/2022
3.0.7 8,820 7/19/2022
3.0.5 1,919 7/7/2022
3.0.4 1,828 6/26/2022
3.0.3 1,289 6/22/2022
3.0.2 1,151 6/16/2022
3.0.1 4,024 2/27/2022
3.0.0 1,321 1/22/2022
3.0.0-pre0017 780 11/17/2021
2.1.2.1 15,305 4/2/2021
2.1.2 954 3/12/2021
2.1.1 1,775 3/6/2021
2.1.1-pre0001 689 3/5/2021
2.1.0 833 2/27/2021
2.1.0-pre0011 528 2/7/2021
2.1.0-pre0010 574 1/31/2021
2.1.0-pre0008 505 1/26/2021
2.0.2 1,012 11/25/2020
2.0.2-pre0002 666 11/21/2020
2.0.1 742 11/13/2020
1.0.18 2,044 3/12/2021
1.0.17.1 724 4/2/2021
1.0.17 730 3/6/2021
1.0.17-pre0001 659 3/5/2021
1.0.16 948 2/27/2021
1.0.15 6,271 11/25/2020
1.0.15-pre0001 831 11/21/2020
1.0.14 799 11/8/2020
1.0.11 894 9/25/2020
1.0.10 877 9/23/2020
1.0.9 613 9/21/2020