- Home
- Skills
- APIs & Backend
- Laravel Security Audit, Ranked Report With Fixes
Laravel Security Audit, Ranked Report With Fixes
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
Works with the AI Agents you already use
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.
| Critical | High | Medium | Low |
|---|---|---|---|
| 1 | 2 | 3 | 2 |
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
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".
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Requires working PHP/Artisan environment. Runtime-specific exploits like SSRF may require manual follow-up verification.
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 3 days ago
- Software
- Laravel 10+ appPHP 8.1+
Git
Permissions
File Scopes