Saltar al contenido principal

Menú de comandos

Ve a una página o busca en el catálogo

Herramientas y scripts de IA

ASP.NET Config Check

Este anuncio se muestra en su idioma original (inglés).

Check an ASP.NET Core app before you deploy: connection string passwords, raw SQL built from strings, the developer exception page, open CORS with credentials, unsigned JWTs, missing HTTPS, insecure cookies, antiforgery off and debug in web.config.

$5.00

Qué recibes: 1 archivo · 26.01 KB · ZIP

Ver opciones de compra

Descripción del producto

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 (fix before shipping)

  • 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 (check before release)

  • 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.

Contents

One ZIP file with 14 files: SKILL.md, the scanner in scripts/ (3 Python files), references/rules.md (every rule with its reason and safer approach), and examples/ (8 example files plus report.md, the real scanner output on the risky example).

How to use: This is an agent skill: a folder with a SKILL.md file and Python scripts that an AI coding agent such as Claude Code, Cursor, or Codex CLI can run. Unzip it into your agent's skills folder (for Claude Code: ~/.claude/skills/), then ask your agent to check your project. The scripts also run on their own with Python 3.9 or newer, with nothing to install. They read your files only: no network access, and nothing is sent anywhere.

Qué recibes

1 archivo · 26.01 KB

  • aspnet-config-check-1.0.1.zipZIP · 26.01 KB

Incluido en Getly ProObtener Pro

LicenciaUso comercial permitido
Publicado9 nov 2026
Tamaño del archivo26.01 KB
Formato de archivoZIP
Versiónv1.0.1

Etiquetas

aspnetdotnetcsharpsecurityapiai agent skill
R
RR HH

Preguntas frecuentes

¿Tengo acceso al instante?

Sí. Es un producto digital: puedes descargarlo justo después del pago, directamente desde tu biblioteca.

¿Puedo usarlo en proyectos comerciales?

Sí. Se permite el uso comercial: úsalo en tu propio negocio y en cosas que vendas. No puedes revender ni redistribuir el archivo en sí.

¿Cuál es vuestra política de reembolso?

Puedes pedir un reembolso dentro de 30 días. Si algo no va bien, solicítalo desde tu pedido y el equipo de Getly lo revisa.

¿Qué formatos y tamaños de archivo recibiré?

Descargarás 1 archivo - ZIP - 26.01 KB en total.

¿Recibo actualizaciones gratis?

Sí: cuando el vendedor publica una versión nueva, puedes volver a descargar los archivos más recientes desde tu biblioteca sin coste extra. Mira el registro de cambios para ver las últimas actualizaciones.

Precio

$5.00