Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Laravel Config Security Audit

    by CashonlyTian

    1

    Use when a user wants to know whether a Laravel config is safe to run or ship.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Laravel Config Security Audit

    Laravel Config Security Audit

    Example session with this skill installed

    Run a security audit on my Laravel project located at ./my-web-app and use #2ecc71 for the accent color on the score-card.

    • Read your context and instructions
    • Compiled the laravel config security
    • Generated the document

    I have completed the security audit for

    my-web-app. The scan analyzed your configuration files, environment variables, and middleware settings without executing any code.

    The project received a Grade: C with a Risk Level: Moderate and a score of 70/100.

    Laravel Security Audit Report

    CheckStatusScore
    Debug ModeFAIL (APP_DEBUG=true in production)0/10
    Application KeyPASS (Securely set in .env)10/10
    Session SecurityPASS (HttpOnly/Secure enabled)10/10
    CORS PolicyFAIL (Wildcard origin with credentials)0/10
    Trusted ProxiesFAIL (Wildcard proxies allowed)0/10
    Config CredentialsPASS (No literals detected)10/10
    Mail EncryptionPASS (TLS enabled)10/10
    Debug ToolsPASS (Telescope/Debugbar disabled)10/10
    Sanctum StatefulPASS (Named domains only)10/10
    Version & ProtocolPASS (Laravel 10.x + HTTPS)10/10

    Top 3 Prioritized Fixes

    Disable Debug Mode: Set APP_DEBUG=false in your .env file and ensure config/app.php references the env variable.
    2.

    Restrict CORS Origins: Change allowed_origins in config/cors.php from ['*'] to specific trusted domains when supports_credentials is true.
    3.

    Configure Trusted Proxies: Edit app/Http/Middleware/TrustProxies.php to list specific IP addresses instead of using * for $proxies.

    Files Generated:

    • Report: scan-report.md
    • Score-card: scan-2023-11-15.png

    Next steps

    • Apply the top 3 fixes to resolve the 30-point deficit.
    • Re-run the scan to verify the new security score.
    • Review the full scan-report.md for specific line references of the findings.

    scan-2023-11-15.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 a project's Laravel config (config/.php, parsed as TEXT with regex — never imported or executed, no PHP is ever run) plus app/Http/Middleware/TrustProxies.php, .env and composer.json before the app ships — APP_DEBUG=true in production, a missing / placeholder / literal APP_KEY, insecure session cookies (Secure / HttpOnly / SameSite / encrypt off), CORS with supports_credentials and [''] origins, TrustProxies $proxies = '*' (any proxy can spoof X-Forwarded-For), literal database / Redis / mail passwords in config (always masked to **), mail with no encryption / log mailer in production / example.com sender, Telescope / Debugbar enabled or APP_ENV=local with APP_DEBUG=true, Sanctum stateful domains of '' or a public-suffix wildcard, and a laravel/framework version below 10.0.0 or unpinned, plus a cleartext APP_URL. Scores 10 checks 0-100 with a grade and risk level, and produces a shareable score-card image plus a prioritised fix report. Use when a user wants to know whether a Laravel config is safe to run or ship.

    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.

    Supports Laravel only. No live dependency CVE scanning or network testing. Skips files >2MB and vendor/node_modules folders. Requires local file access.

    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 a non-executive, regex-based scan of your .env and config files to identify hard-coded credentials, insecure debug modes, and loose middleware settings that often lead to data breaches. It provides a structured 0-100 security score and a prioritized fix list, which is more reliable and consistent than using generic AI prompts.

    The skill is optimized for Laravel versions 10.0 and newer. It analyzes standard project structures, including the config directory, composer.json, and environment files, to ensure compliance with modern Laravel security best practices.

    No, the agent uses a localized Python-based parser to read your configuration as text. It never executes your PHP code or initiates network requests, ensuring a safe, non-invasive audit of your project files.

    You will receive the AI agent skill, the localized Python scanning scripts, and templates for the security score-card and markdown report. These tools are designed to work within your AI agent's environment to produce professional-grade security audits.

    To maintain high performance and focus on your unique logic, the scanner automatically ignores the 'vendor' and 'node_modules' directories. It also skips any individual configuration files larger than 2 MB to ensure the audit remains fast and efficient.

    New in LLM Ops