NuGetDefense 0.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package NuGetDefense --version 0.0.4
                    
NuGet\Install-Package NuGetDefense -Version 0.0.4
                    
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="0.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NuGetDefense" Version="0.0.4" />
                    
Directory.Packages.props
<PackageReference Include="NuGetDefense" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NuGetDefense --version 0.0.4
                    
#r "nuget: NuGetDefense, 0.0.4"
                    
#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.
#:package NuGetDefense@0.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NuGetDefense&version=0.0.4
                    
Install as a Cake Addin
#tool nuget:?package=NuGetDefense&version=0.0.4
                    
Install as a Cake Tool

NuGetDefense

Join the chat at https://gitter.im/NuGetDefense/community

An MSBuildTask that checks for known vulnerabilities. Inspired by OWASP SafeNuGet. Example Error Messages

Why a new Project?

  1. SafeNuGet hasn't seen a new commit in years and isn't able to keep up with vulnerable packages.
  2. SafeNuGet doesn't have a license (at all).
  3. A pure MSBuild task should not use dependencies and cannot get the desired results without them.

Features

  • Uses OSS Index to check for Open Source Software culnerabilities.
  • MIT Licensed
  • Simple Installation/Configurationa simple NuGet Package is all you need.

Planned Features

Requirements

Currently NuGetDefense is built only in .Net Core 3.1 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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.

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 437 6/8/2025
4.1.4-prerelease 207 2/9/2025
4.1.3.1 2,185 7/13/2024
4.1.3 504 6/1/2024
4.1.2 498 5/22/2024
4.1.1 619 5/14/2024
4.1.0-pre0002 188 4/25/2024
4.1.0-pre0001 218 4/17/2024
4.0.5 4,744 4/25/2024
4.0.4 673 3/16/2024
4.0.3 519 3/3/2024
4.0.2 514 2/25/2024
4.0.1 538 2/14/2024
4.0.0.1 1,962 1/16/2024
4.0.0 678 1/6/2024 4.0.0 is deprecated because it has critical bugs.
4.0.0-prerelase1 243 12/20/2023 4.0.0-prerelase1 is deprecated because it has critical bugs.
3.2.5 876 4/25/2024
3.2.4.1-issue180 238 4/4/2024
3.2.4 1,207 3/16/2024
3.2.3 482 3/3/2024
3.2.2 488 2/25/2024
3.2.1 522 2/14/2024
3.2.0 1,891 12/14/2023
3.2.0-prerelease7 209 12/13/2023
3.2.0-prerelease6 298 7/30/2023
3.2.0-prerelease5 498 7/13/2023
3.2.0-prerelease4 514 6/16/2023
3.2.0-prerelease3 333 6/3/2023
3.2.0-prerelease2 428 5/21/2023
3.2.0-prerelease 436 5/13/2023
3.1.1 19,026 3/24/2023
3.1.0 702 3/24/2023 3.1.0 is deprecated because it has critical bugs.
3.0.11.1 16,745 3/6/2023
3.0.11-pre109 312 2/12/2023
3.0.10 2,994 1/15/2023
3.0.9 2,050 12/11/2022
3.0.8 5,485 10/30/2022
3.0.7 13,452 7/19/2022
3.0.5 3,315 7/7/2022
3.0.4 816 6/26/2022
3.0.3 3,377 6/22/2022
3.0.2 855 6/16/2022
3.0.1 12,996 2/27/2022
3.0.0 2,009 1/22/2022
3.0.0-pre0017 1,074 11/15/2021
2.1.2 6,771 3/12/2021
2.1.1 588 3/6/2021
2.1.0 611 2/27/2021
2.1.0-pre0015 402 2/27/2021
2.1.0-pre0011 375 2/7/2021
2.1.0-pre0010 417 1/31/2021
2.1.0-pre0007 439 1/21/2021
2.0.2 1,398 11/25/2020
2.0.2-pre0004 466 11/24/2020
2.0.2-pre0003 450 11/24/2020
2.0.2-pre0002 579 11/21/2020
2.0.2-pre0001 1,100 11/21/2020
2.0.1 1,213 11/13/2020
2.0.1-pre0001 436 11/12/2020
1.1.0 770 3/13/2022
1.0.19 888 10/25/2021
1.0.19-pre0002 338 10/25/2021
1.0.19-pre0001 382 10/25/2021
1.0.18 5,526 3/12/2021
1.0.17.1 527 4/2/2021
1.0.17 564 3/6/2021
1.0.17-pre0003 444 3/6/2021
1.0.17-pre0002 418 3/6/2021
1.0.16.1 641 2/27/2021
1.0.15.1 8,493 11/25/2020
1.0.15-pre0002 526 11/22/2020
1.0.14 866 11/8/2020
1.0.13.1 2,315 10/10/2020
1.0.13 657 10/10/2020
1.0.12 1,056 9/29/2020
1.0.11 727 9/25/2020
1.0.10 729 9/23/2020
1.0.9 748 9/21/2020
1.0.8 770 9/15/2020
1.0.7.2 15,946 6/24/2020
1.0.7.1 1,647 5/23/2020
1.0.7 783 5/17/2020
1.0.6 896 5/3/2020
1.0.5 773 4/20/2020
1.0.4 768 4/13/2020
1.0.3 1,548 4/8/2020
1.0.2 734 3/26/2020
1.0.1 795 3/1/2020
1.0.0.1 779 2/29/2020
0.0.8 694 2/22/2020
0.0.7 798 2/20/2020
0.0.6 774 2/16/2020
0.0.5 716 2/14/2020
0.0.4 710 2/6/2020
0.0.3 666 2/5/2020
0.0.2 753 2/5/2020
0.0.1 1,139 2/5/2020

First version: OSS Index used as initial source for vulnerabilities