NuGetDefense.Lib
3.0.0-pre0001
This is a prerelease version of NuGetDefense.Lib.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package NuGetDefense.Lib --version 3.0.0-pre0001
NuGet\Install-Package NuGetDefense.Lib -Version 3.0.0-pre0001
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.Lib" Version="3.0.0-pre0001" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGetDefense.Lib --version 3.0.0-pre0001
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NuGetDefense.Lib, 3.0.0-pre0001"
#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.Lib as a Cake Addin #addin nuget:?package=NuGetDefense.Lib&version=3.0.0-pre0001&prerelease // Install NuGetDefense.Lib as a Cake Tool #tool nuget:?package=NuGetDefense.Lib&version=3.0.0-pre0001&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NuGetDefense.Lib provides the functionality of the NuGetDefense Global Tool for programmatic usage.
Docs
View the full documentation for NuGetDefense here
Features
- Uses Multiple Sources to check for known vulnerabilities in third-party libraries (NuGet packages)
- OSS Index (Caching Coming Soon!)
- National Vulnerability Database (Optionally Self-Updating)
- Google's Open Source Vulnerabilities Database (Coming Soon!)
- 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.
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- ByteDev.DotNet (>= 7.1.0)
- NuGet.Versioning (>= 5.10.0)
- NuGetDefense.Core (>= 2.0.2)
- NuGetDefense.NVD (>= 2.0.5)
- NuGetDefense.OSSIndex (>= 2.0.2)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.File (>= 5.0.0)
- System.CommandLine (>= 2.0.0-beta1.21308.1)
- System.Text.Json (>= 5.0.2)
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.3.1 | 97 | 7/13/2024 |
4.1.3 | 97 | 6/1/2024 |
4.1.2 | 80 | 5/22/2024 |
4.1.0 | 74 | 5/14/2024 |
4.1.0-pre0002 | 83 | 4/25/2024 |
4.1.0-pre0001 | 105 | 4/17/2024 |
4.0.5 | 152 | 4/25/2024 |
4.0.4 | 120 | 3/16/2024 |
4.0.3 | 126 | 3/3/2024 |
4.0.2 | 127 | 2/25/2024 |
4.0.1 | 146 | 2/14/2024 |
4.0.0-prerelase1 | 169 | 12/20/2023 |
3.2.5 | 112 | 4/25/2024 |
3.2.4 | 119 | 3/16/2024 |
3.2.3 | 131 | 3/3/2024 |
3.2.2 | 118 | 2/25/2024 |
3.2.1 | 103 | 2/14/2024 |
3.2.0 | 225 | 12/14/2023 |
3.2.0-prerelease7 | 122 | 12/13/2023 |
3.2.0-prerelease6 | 165 | 7/30/2023 |
3.2.0-prerelease4 | 128 | 6/16/2023 |
3.2.0-prerelease2 | 156 | 6/3/2023 |
3.2.0-prerelease | 149 | 5/13/2023 |
3.1.1 | 267 | 3/24/2023 |
3.1.0 | 198 | 3/24/2023 |
3.0.11.1 | 249 | 3/6/2023 |
3.0.11 | 227 | 3/5/2023 |
3.0.10 | 308 | 1/15/2023 |
3.0.9 | 302 | 12/11/2022 |
3.0.8 | 562 | 10/30/2022 |
3.0.7 | 432 | 7/19/2022 |
3.0.5 | 447 | 7/7/2022 |
3.0.4 | 447 | 6/26/2022 |
3.0.3 | 130 | 6/22/2022 |
3.0.2 | 116 | 6/16/2022 |
3.0.1 | 147 | 2/27/2022 |
3.0.0 | 143 | 1/22/2022 |
3.0.0-pre0017 | 157 | 11/17/2021 |
3.0.0-pre0012 | 233 | 11/6/2021 |
3.0.0-pre0011 | 146 | 11/1/2021 |
3.0.0-pre0007 | 245 | 10/16/2021 |
3.0.0-pre0006 | 139 | 9/30/2021 |
3.0.0-pre0004 | 149 | 8/10/2021 |
3.0.0-pre0002 | 142 | 8/5/2021 |
3.0.0-pre0001 | 217 | 7/30/2021 |