Skip to content

CLI tool for scanning NuGet package dependancies for known vulnerabilities

License

Notifications You must be signed in to change notification settings

jamilgeor/PackScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Pack Scan

CLI tool for scanning NuGet package dependancies for known vulnerabilities.

Pack Scan makes use of the Sonatype OSS Index API (https://ossindex.net) to check your projects NuGet package dependancies which are known to have security vulnerabilities.

INSTALL

dotnet tool install -g packscan

NuGet package is available here:

https://www.nuget.org/packages/PackScan

SYNOPSIS

packscan [-af] [file|nuget]

DESCRIPTION

List all nuget package dependancies, and their vulnerability status, including information about the vulnerabilities.

The following options are available.

-f, --fileeither a .csproj or packages.config file containing nuget references.
-v, --verbosedisplay verbose output, including vulnerability description and references.

Exit status:

0if OK,
1if packages contain a vulnerability

Examples of use:
List all vulnerability statuses for packages in specified file.

packscan -f packages.config

List vulnerability status for specified package/version.

packscan LibGit2Sharp@0.2.0 -v

AUTHOR

Written by Jamil Geor

COPYRIGHT

Copyright © 2018 Jamil Geor. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

About

CLI tool for scanning NuGet package dependancies for known vulnerabilities

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages