Laravel Security Audit, Ranked Report With Fixes

    1

    Your coding agent audits an existing Laravel codebase and hands you a report ranked from critical to low, with the file, the line and the fix for every finding.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Laravel Security Audit, Ranked Report With Fixes

    Example session with this skill installed

    Audit our Laravel app for security before we hand it to the client next week.

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

    Summary (example run). Laravel 11.31, 64 routes, 41 behind auth. Report written to SECURITY-AUDIT.md.

    CriticalHighMediumLow
    1232

    Fix today

    **C1.** `PATCH /profile` passes `$request->all()` to `update()`, and `is_admin` is in `$fillable` on `User`. Any user can make themselves admin. `app/Http/Controllers/ProfileController.php:38`
    -
    

    H1. InvoiceController@show and @destroy use route model binding with no policy. A user can read or delete another user's invoice by changing the id. app/Http/Controllers/InvoiceController.php:22

    • H2. {!! $post->body !!} renders user content unescaped. resources/views/posts/show.blade.php:14

    Fix for C1

    $request->user()->update($request->validated());
    

    Remove is_admin from $fillable.

    Test

    $this->actingAs($user)->patch('/profile', ['is_admin' => 1]);
    expect($user->fresh()->is_admin)->toBeFalsy();
    

    Checked, nothing found: raw SQL, CSRF exclusions, committed secrets.
    Not checked: server headers, firewall, real prod .env.

    Next steps
    Fix C1, H1 and H2 first, one finding per commit, each with its test. Say the word and I start with C1.

    laravel-security-audit-ranked-report-wit.pdf

    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

    You took over a Laravel app, or you're about to launch or hand it to a client. You want to know where the holes are before someone else finds them. Generic scanners flag hundreds of lines, and most of them are fine.

    This skill gives your agent a checklist built for Laravel, and rules that cut the false alarms.

    What it does

    • Maps the app first: Laravel version, public routes, routes behind auth, routes that take an id or a model binding.
    • Runs the checks in order: production config, committed secrets, mass assignment, missing policies (IDOR), raw SQL, unescaped Blade and v-html, CSRF exclusions, file uploads, rate limiting, composer audit.
    • Confirms each lead by reading the full path: route, middleware, controller, request, model, view. A grep hit is a lead, not a finding.
    • Knows what is safe in Laravel: bound queries, {{ }}, a FormRequest that returns true when the controller authorizes.

    What you get A SECURITY-AUDIT.md file: counts per severity, the top 3 to fix today, each finding with file and line, proof, fix and the test that proves it's fixed. Plus a list of what came back clean and what was not checked.

    What it doesn't do It changes nothing until you accept the report. It doesn't check your server, firewall or real prod .env unless you give it access. Those land under "Not checked".

    Requires working PHP/Artisan environment. Runtime-specific exploits like SSRF may require manual follow-up verification.

    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 any payment.

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

    Requires

    Laravel 10+ app
    PHP 8.1+
    Git

    Permissions

    Terminal / Shell
    Write Files
    Read Files

    File Scopes

    app/**/*.php
    routes/**/*.php
    config/*.php
    resources/views/**/*.blade.php
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    Not during the audit. It reads first and only fixes when you ask, critical first, one finding per commit with a regression test.

    Every finding must point to a file and line it actually opened, and it knows which Laravel patterns are safe by default.

    Only what it can read. Server headers, firewall, backups and the real prod `.env` are listed under "Not checked" unless you give it access.

    New in APIs & Backend