Did you know that similar to ‘NPM audit’ you can scan your .NET Core dependencies for vulnerabilities?
Starting from the .NET 5.0.2 SDK, you can scan and list any known vulnerabilities in your dependencies with the dotnet list package --vulnerable command:
By default you only see vulnerabilities within your top-level packages. If you are interested in seeing vulnerabilities within your transitive packages, you can use the --include-transitive parameter:
Safe coding!