Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    ASP.NET Core Config Security Audit

    by CashonlyTian

    1

    Scores 10 checks 0-100 with grade, risk and score-card PNG.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    ASP.NET Core Config Security Audit

    ASP.NET Core Config Security Audit

    Example session with this skill installed

    Run a security audit on the ASP.NET Core project located in ./src/PaymentGateway. Focus on secrets and transport security.

    • Read your context and instructions
    • Compiled the asp net core
    • Generated the document

    The security audit for

    PaymentGateway is complete. I scanned the configuration files, middleware setup, and project dependencies. The app currently has a critical risk profile due to hardcoded secrets and missing transport protections.

    Security Audit Results: PaymentGateway

    Score: 42/100 | Grade: F | Risk Level: CRITICAL

    CheckScoreStatus
    Secrets in Config0/15FAIL: Plaintext 'Sa' password and JWT Key found in appsettings.json
    Transport Security5/15FAIL: UseHttpsRedirection missing; HSTS not configured
    CORS Policy0/10FAIL: AllowAnyOrigin() enabled with AllowCredentials()
    Auth & Antiforgery10/10PASS: Authentication and Authorization middleware ordered correctly
    Framework Version0/10FAIL: Targeting net8.0 (End of Support)
    Config Hygiene2/5WARN: appsettings.Development.json included in project root

    Top 3 Required Fixes

    Remove Hardcoded Secrets: Move the DefaultConnection password and Jwt:Key to Environment Variables or Azure Key Vault.
    2. Enable Global HTTPS: Add app.UseHttpsRedirection() and app.UseHsts() in Program.cs.
    3. Upgrade Target Framework: Update the .csproj to target net10.0 to continue receiving security patches.

    The full visual scorecard has been generated at scan-2025-05-20.png and the technical breakdown is available in scan-report.md.

    Next steps

    • Review scan-report.md for the specific line numbers of the leaked secrets.
    • Apply the HTTPS middleware fixes in Program.cs.
    • Re-run the scan after updates to see the improved grade.

    scan-2025-05-20.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Audit an ASP.NET Core project's config BEFORE it ships — secrets in appsettings.json, no HTTPS redirection/HSTS, wildcard CORS, no antiforgery, ephemeral DataProtection keys, EOL net8.0/net9.0, floating NuGet versions, Idunno.AntiCsrf CVE. Scores 10 checks 0-100 with grade, risk and score-card PNG.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Scans local files only via static analysis. Does not execute code, perform network probes, or provide a full CVE database scan for all packages.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 2 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed2 days ago

    What's inside

    Frequently Asked Questions

    This skill performs static analysis on your project files (JSON, CS, and XML) to identify hardcoded secrets, insecure middleware ordering, EOL frameworks, and misconfigured CORS policies before you deploy to production.

    No, the audit is non-destructive. It performs a static analysis of your configuration and code files and generates a report with recommendations, allowing you to manually apply the fixes to your environment variables or Key Vault.

    It is compatible with any AI agent or platform that has access to your local file system, as it requires reading your directory structure to parse project and configuration files.

    The skill targets modern ASP.NET Core projects (including .NET 6, 7, 8, and 9) and scans common files like Program.cs, appsettings.json, *.csproj, and launchSettings.json.

    You receive the core audit logic for your AI agent, a 10-point scoring framework, and templates for the visual security scorecard (PNG) and the detailed Markdown remediation report.

    This skill focuses on static configuration and code analysis; it does not perform live network penetration testing, dynamic runtime analysis, or real-time NuGet CVE database lookups.

    New in LLM Ops