dotnet tool install --global GuardTool.Toolguardtool scan --root .GuardTool is a .NET CLI and local dashboard that scans ASP.NET Core projects for production and security misconfigurations. Run it locally or in a build pipeline.
What’s inside
Look for issues such as dangerous CORS settings, missing HTTPS redirection, exposed Swagger and middleware ordering problems.
Review severity and risk scoring, with JSON, HTML and SARIF output for different workflows.
Set a severity threshold to fail a build when critical or high-severity findings are detected.
Browse historical reports, download results and use baselines to track new critical findings.
Start here
Install the global tool, then run a scan from your project directory.
Read the setup guidedotnet tool install --global GuardTool.Toolguardtool scan --root .Good to know
The published package targets .NET 8.0. Install a compatible .NET SDK and check the NuGet listing for the current framework requirements.
The published README identifies the Community Edition as MIT licensed. See the license information linked from NuGet for the applicable terms.
No. GuardTool checks a defined set of configuration and production risks. Use its findings alongside code review, testing and your other security checks.
The NuGet README lists a Pro Edition and other integrations as planned. This page describes the published Community Edition, not those roadmap features.
A scan covers a defined set of checks. Review findings in context; a clean result is not a guarantee of production readiness or security.