Skip to content

CLI extension to check your project for known vulnerabilities

License

Notifications You must be signed in to change notification settings

ISO-morphism/dotnet-retire

 
 

Repository files navigation

Build status

Build server Platform Status
AppVeyor Windows Build status
Travis Linux Build Status
Azure DevOps Linux Build Status

NuGet NuGet

dotnet-retire

A dotnet CLI extension to check your project for known vulnerabilities.

Install

$ dotnet tool install -g dotnet-retire

Usage

$ dotnet retire

Additional options:

Sample:

$ dotnet retire loglevel=debug

Sample output:

image

How does it work?

It fetches the packages listed in the corresponding packages repo in this GitHub organization (link), and checks your projects obj\project.assets.json or project.lock.json file for any match (direct, or transient).

Keeping the list of packages up to date will be done via updating that repo when announcements occur from Microsoft with additional json files with links to announcements from Microsofts security team.

Other projects with similar functionality:

Runs as part of the build (MSBuild target). Analyzes packages.config, does not handle transient dependencies.

Standalone .NET console app that analyzes a packages.config. Analyzes packages.config, does not handle transient dependencies.

About

CLI extension to check your project for known vulnerabilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 72.7%
  • PowerShell 14.8%
  • Shell 6.4%
  • Dockerfile 5.2%
  • Batchfile 0.9%