laravel-security-review

laravel-security-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 41 tokens per session (1,015 once invoked), scanned A, original, MIT.

A security review for Laravel applications, a PHP web framework. It checks authorization policies, validated form requests, database writes, and mass assignment risks.

In plain words
What is it for?
Use it for Laravel controllers, form requests, policies, Eloquent writes, and background jobs.
Why use it?
It helps prevent users from accessing or changing data they should not control, and flags unsafe database or request handling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it for Laravel controllers, form requests, policies, Eloquent writes, and background jobs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/laravel-security-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add beel-collab/presets.dev --skill laravel-security-review
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for laravel-security-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/laravel-security-review/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/laravel-security-review)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/laravel-security-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/laravel-security-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for laravel-security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/laravel-security-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/laravel-security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,015 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.01015
Opus 5.5 $0.00016 $0.00406
Sonnet 5.5 $0.00008 $0.00203
Haiku 4.5 $0.00004 $0.00102

Measured 20d ago against content hash cd350ee6981d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

laravel-security-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

antigravity/laravel/laravel-security-review/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Laravel Security Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/laravel-security-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

Laravel Security Review

Shared skill laravel-security-review for Laravel. Codex and Antigravity CLI both read .agents/skills/laravel-security-review/SKILL.md. Install this one file. Codex calls it with $laravel-security-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a Laravel controller, Form Request, policy, Eloquent write, or job.

When to leave it

Stop for PHP that is not Laravel. Do not upgrade Laravel or migrate production.

What to check

  • Injection: DB::raw, whereRaw, and selectRaw with concatenated user input. Bindings are the safe form.
  • XSS: {!! !!} on user text.
  • CSRF: a web route that disables PreventRequestForgery. ValidateCsrfToken and VerifyCsrfToken are deprecated aliases. Do not generate them.
  • Secrets: a key in .env that was committed, or a token written to the log.
  • IDOR: a route-model binding or find($id) that never calls a policy.
  • SSRF: Http::get($request->input('url')) with no allow-list.
  • Mass assignment: $request->all() into create or update, or a model $guarded = [] on a public write.
  • Uploads: storeAs with the client filename and no mime or size rule.

Steps

  1. Read the Laravel and PHP constraints in composer.json. An incompatible package is a high finding.
  2. For each write, confirm a policy or gate and a Form Request. $request->all() passed to the model is a high finding.
  3. Review list queries for missing eager loads.
  4. Review jobs for a second-run story. A non-idempotent charge or email is a high finding.
  5. Confirm CSRF and auth middleware still apply.
  6. Run the project's test command only if the user asked. Otherwise write not run.

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago First seen · 97 lines · 41 tokens per session scan A cd350ee6981d

Subscribe to this mod's changes

laravel-security-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 10d ago), licensed MIT. It adds 41 tokens to every session and 1,015 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

laravel-security-review compared with skills from other repositories

laravel-security-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
laravel-security-reviewbeel-collab/presets.devSkill310d agoMITA41Claude Code, Codex
laravel-architectAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA31Claude Code, Codex
Laravel Eloquent N+1 and Query Efficiency Reviews977043/river-reviewSkill8yesterdayMITA48Claude Code
laravel-app-specialistfindscripter/everything-skillsSkill13yesterdaynoneA122Claude Code
laravel-novaAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA23Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex