GuardTool.Tool
0.1.0
dotnet tool install --global GuardTool.Tool --version 0.1.0
dotnet new tool-manifest
dotnet tool install --local GuardTool.Tool --version 0.1.0
#tool dotnet:?package=GuardTool.Tool&version=0.1.0
nuke :add-package GuardTool.Tool --version 0.1.0
π‘ GuardTool
ASP.NET Production & Security Scanner Catch production-breaking misconfigurations before they ship.
GuardTool is a developer-first CLI tool and dashboard that analyzes ASP.NET Core projects for real-world production and security risks β not just code smells.
Unlike generic static analyzers, GuardTool focuses on misconfiguration, middleware order, security hardening, and deployment risks.
π Why GuardTool?
Your ASP.NET project compiles. Your tests pass.
But is it production-safe?
GuardTool detects:
π Hardcoded secrets
π Dangerous CORS configurations
π JWT validation
π« Missing HTTPS redirection
π Swagger exposed in production
β Missing rate limiting
𧨠EF Core raw SQL risks
π§± Middleware ordering problems
π¦ Missing production configs
π Debug logging in production
and many more...
β¨ Features π Production-First Rules
Focused on real ASP.NET production misconfiguration risks.
π Risk Scoring
Each scan generates:
Grade (AβF)
Score (0β100)
Severity breakdown
Status summary
π Multiple Output Formats
JSON
HTML
SARIF (CI/CD integration)
π Dashboard
Interactive web dashboard:
View historical reports
Download latest HTML / JSON / SARIF
Export ZIP bundles
Risk overview
π¦ CI/CD Ready
Fail builds automatically:
--fail-on=critical --fail-on=high π§ Baseline Support
Track only new critical issues over time.
π¦ Installation Install as a .NET Tool dotnet tool install GuardTool.Tool --add-source <path-to-nupkg>
Or update:
dotnet tool update GuardTool.Tool --add-source <path-to-nupkg> π§ͺ Usage π Scan a project guardtool scan --root . With HTML + SARIF guardtool scan --root . --html --sarif Fail build if critical found guardtool scan --root . --fail-on=critical Custom output directory guardtool scan --root . --out reports --html --sarif π Open Dashboard guardtool dashboard --root .
Optional:
guardtool dashboard --root . --out reports --port 5180
Dashboard will:
Launch local web server
Open browser automatically
Display reports
π Report Structure
By default reports are stored in:
<root>/.guardtool/reports/
Each scan generates:
yyyyMMdd_HHmmss_report.json yyyyMMdd_HHmmss_report.html yyyyMMdd_HHmmss_report.sarif.json π§± Project Architecture GuardTool.Core β Rules engine, scanning logic GuardTool.Cli β .NET tool entry point GuardTool.Dashboard β Razor Pages dashboard π Example CI Integration GitHub Actions
- name: Run GuardTool run: guardtool scan --root . --fail-on=critical π Command Reference scan guardtool scan <rootPath> | --root <rootPath> [--out <dir>] [--only-new-critical] [--html] [--sarif] [--fail-on=critical|high|none] baseline guardtool baseline <rootPath> [--include-high] dashboard guardtool dashboard <rootPath> | --root <rootPath> [--out <dir>] [--port=5180] π’ Community Edition
The current version includes:
Core production readiness rules
Security misconfiguration checks
Basic dashboard
JSON / HTML / SARIF export
Baseline tracking
π΅ Pro Edition (Planned)
Advanced JWT validation analysis
Deep EF Core query inspection
Secret entropy scanning
Dependency vulnerability scanning
Historical trend analytics
Team dashboard
PR comment bot
Slack / Teams alerts
Policy configuration files
π― Roadmap
Pro licensing system
SaaS dashboard option
GitHub App integration
Azure DevOps extension
Plugin rule system
Custom rule authoring SDK
π‘ Philosophy
GuardTool is built on one principle:
βProduction-ready by default.β
We believe backend security and production safety should be:
Lightweight
Developer-first
CI-friendly
Focused on real risks
π License
MIT (Community Edition)
π€ Contributing
PRs are welcome.
If you'd like to:
Add new rules
Improve false-positive detection
Enhance dashboard UI
Improve performance
Open an issue first to discuss.
π Future Vision
GuardTool aims to become:
The production-readiness standard for ASP.NET applications.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 86 | 2/24/2026 |