More screenshots
Works with the AI Agents you already use
ASP.NET Config Check
A Password= in appsettings.json, one FromSqlRaw($"...
$5
ASP.NET Config Check
Example session with this skill installed
Check this project with aspnet-config-check.
- Read your context and instructions
- Compiled the asp net config
$ python3 scripts/check_aspnet.py examples/risky
BLOCK Shop.Api/Controllers/ProductsController.cs:10 N02 SQL_INJECTION
var products = _db.Products.FromSqlRaw($"SELECT * FROM Products WHERE Name LIKE '%{name}%'").ToList();
Why: SQL text is built with $"...{value}", + or string.Format and run with FromSqlRaw, ExecuteSqlRaw, SqlCommand or Dapper. Anyone who controls the value can change the query.
Safer: Use parameters: FromSql($"... {value}") or FromSqlRaw("... {0}", value) in EF Core, @Name parameters with Dapper, and SqlParameter with SqlCommand.
BLOCK Shop.Api/Program.cs:5 N04 CORS_ANY_ORIGIN_WITH_CREDENTIALS
BLOCK Shop.Api/Program.cs:11 N05 JWT_SIGNATURE_NOT_CHECKED
BLOCK Shop.Api/Program.cs:18 N03 DETAILED_ERRORS_IN_PRODUCTION
BLOCK Shop.Api/appsettings.json:3 N01 SECRET_IN_CONFIG
BLOCK Shop.Api/appsettings.json:6 N01 SECRET_IN_CONFIG
BLOCK Shop.Legacy/Web.config:4 N03 DETAILED_ERRORS_IN_PRODUCTION
REVIEW Shop.Api/Controllers/ProductsController.cs:2 N16 ANTIFORGERY_OFF
REVIEW Shop.Api/Controllers/ProductsController.cs:16 N13 TLS_VALIDATION_OFF
REVIEW Shop.Api/Program.cs N11 HTTPS_NOT_ENFORCED
REVIEW Shop.Api/Program.cs:4 N14 SENSITIVE_DATA_LOGGING
REVIEW Shop.Api/Program.cs:8 N12 JWT_CHECKS_OFF
REVIEW Shop.Api/Program.cs:12 N12 JWT_CHECKS_OFF
REVIEW Shop.Api/Program.cs:15 N15 INSECURE_COOKIE
REVIEW Shop.Legacy/Web.config:3 N17 DEBUG_COMPILATION
(Each finding also has Why and Safer lines, as in the first one.)
Verdict: BLOCK. Checked 4 files, 4 with ASP.NET content.
This is a static check of file text. NOT FLAGGED is not a guarantee.
Connects securely to your tools. The creator never sees your data.
About this skill
A Password= in appsettings.json, one FromSqlRaw($"... {id}") or ValidateLifetime = false is enough to lose your database or let anyone sign in. This skill finds those and nine other ASP.NET mistakes before you deploy, and tells you how to fix each one.
Your agent runs a scanner on your .NET project: appsettings*.json, web.config, Program.cs, Startup.cs and the rest of your C# code. It skips comments, understands C# strings (including verbatim and interpolated ones), follows SQL built in a variable to the call that runs it, and knows when code sits inside an IsDevelopment() check. It knows the safe patterns: FromSqlInterpolated, parameters, user secrets and placeholders. It never runs dotnet. It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach. Secrets are never printed.
What it checks
BLOCK
- N01: a password in a connection string, or a secret-named setting with a literal value
- N02: SQL built with interpolation, + or string.Format and run with FromSqlRaw, ExecuteSqlRaw, SqlCommand and similar
- N03: the developer exception page outside development, or customErrors Off
- N04: CORS that allows any origin together with credentials
- N05: JWT validation that accepts unsigned tokens
REVIEW
- N11: no HTTPS redirection and no HSTS in the pipeline
- N12: lifetime, issuer, audience or signing key checks turned off
- N13: certificate validation callbacks that accept anything
- N14: EnableSensitiveDataLogging outside development
- N15: cookies without Secure or HttpOnly
- N16: antiforgery turned off
- N17: debug compilation or tracing on in web.config
What's included
- The scanner (Python 3.9+, standard library only)
- A rules guide with the reason and safer approach for each rule
- A risky and a safe example ASP.NET Core project, and the real report the scanner produces on the risky one
Limits It reads code and config as text, not as a C# compiler: values are followed within one file. Environment variables, Azure Key Vault, user secrets and NuGet packages are not checked. NOT FLAGGED is not a guarantee.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Static check of C#, JSON and XML text. Values are followed within one file only; settings from environment variables or Key Vault are not seen. NOT FLAGGED is not a guarantee.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
Runs one local Python script in the terminal. It reads your project's files, writes nothing, and makes no network calls. The example project includes clearly fake, inert passwords (not-a-real-...) for the scanner to find. It is never run.