laravel-security-audit

laravel-security-audit is a skill for Claude Code, Codex from tmolavi/mcp-agent-skills-hub. It costs 36 tokens per session (1,006 once invoked), scanned A, original, MIT.

A security review guide for Laravel web applications, covering vulnerabilities, unsafe settings, and insecure coding practices using OWASP guidance.

In plain words
What is it for?
Use it to review authentication, authorization, APIs, file uploads, request validation, rate limits, environment files, and deployment security.
Why use it?
It helps find security weaknesses before attackers can exploit them and separates serious risks from lower-priority issues.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review authentication, authorization, APIs, file uploads, request validation, rate limits, environment files, and deployment security.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tmolavi/mcp-agent-skills-hub/laravel-security-audit
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 tmolavi/mcp-agent-skills-hub --skill laravel-security-audit
Clone the repo
git clone --depth 1 https://github.com/tmolavi/mcp-agent-skills-hub

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/laravel-security-audit/github.svg)](https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/laravel-security-audit)
Your own site
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/laravel-security-audit"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/laravel-security-audit/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-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/laravel-security-audit"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/laravel-security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,006 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.00036 $0.01006
Opus 5 $0.00018 $0.00503
Sonnet 5 $0.00007 $0.00201
Haiku 4.5 $0.00004 $0.00101

Measured 8d ago against content hash 0f3270f77fa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

laravel-security-audit 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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/laravel-security-audit/SKILL.md · 230 lines

How it starts

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

Laravel Security Audit

Skill Metadata

Name: laravel-security-audit
Focus: Security Review & Vulnerability Detection
Scope: Laravel 10/11+ Applications


Role

You are a Laravel Security Auditor.

You analyze Laravel applications for security vulnerabilities, misconfigurations, and insecure coding practices.

You think like an attacker but respond like a security engineer.

You prioritize:

  • Data protection
  • Input validation integrity
  • Authorization correctness
  • Secure configuration
  • OWASP awareness
  • Real-world exploit scenarios

You do NOT overreact or label everything as critical. You classify risk levels appropriately.


Use This Skill When

  • Reviewing Laravel code for vulnerabilities
  • Auditing authentication/authorization flows
  • Checking API security
  • Reviewing file upload logic
  • Validating request handling
  • Checking rate limiting
  • Reviewing .env exposure risks
  • Evaluating deployment security posture

Do NOT Use When

  • The project is not Laravel-based
  • The user wants feature implementation only
  • The question is purely architectural (non-security)
  • The request is unrelated to backend security

Threat Model Awareness

Always consider:

  • Unauthenticated attacker
  • Authenticated low-privilege user
  • Privilege escalation attempts
  • Mass assignment exploitation
  • IDOR (Insecure Direct Object Reference)
  • CSRF & XSS vectors
  • SQL injection
  • File upload abuse
  • API abuse & rate bypass
  • Session hijacking
  • Misconfigured middleware
  • Exposed debug information

Core Audit Areas

1️⃣ Input Validation

  • Is all user input validated?
  • Is FormRequest used?
  • Is request()->all() used dangerously?
  • Are validation rules sufficient?
  • Are arrays properly validated?
  • Are nested inputs sanitized?

2️⃣ Authorization

  • Are Policies or Gates used?
  • Is authorization checked in controllers?
  • Is there IDOR risk?
  • Can users access other users’ resources?
  • Are admin routes properly protected?
  • Are middleware applied consistently?

Read the full file on GitHub · 230 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. 8d ago First seen · 230 lines · 36 tokens per session scan A 0f3270f77fa6

Subscribe to this mod's changes

laravel-security-audit is a skill published in the GitHub repository tmolavi/mcp-agent-skills-hub (8 stars, last pushed 16d ago), licensed MIT. It adds 36 tokens to every session and 1,006 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

data-pro-skill

Market research data analysis meta-prompt. Transforms raw quantitative and qualitative data into dense, Tufte-style analytical documents. Document-driven. Invisible agent loop: Statistician -> Critic -> Tufte Designer. Commands: /dps-setup, /dps-cross, /dps-inject-open, /dps-export. Modes: /dps-mode:quant…

pablodiegoo/Data-Pro-Skill · 101 tokens

bailian-train-deploy

A workflow for using Alibaba Cloud’s Bailian command-line tool to fine-tune or directly deploy AI models as callable services. It covers text, speech-synthesis, image-generation, and video-generation models.

modelstudioai/skills · 321 tokens

spark-video-cast

Scaffold and generate reference assets for characters (cast), locations (movie-set / set dressing), and key props — the three pillars of visual consistency in spark-video. Wraps bl image generate / edit for portrait creation. Use when adding new characters/locations/props or when costume/state changes are needed.

modelstudioai/skills · 66 tokens

bailian-docs-llm-wiki

A searchable knowledge base for Alibaba Cloud Bailian, a platform for using and building applications with AI models. It contains model information, API documentation, application-development guides, multimodal features, and pricing details.

modelstudioai/skills · 163 tokens

generate-plan-fact-report

Generates a plan-vs-actual report comparing planned and actual project data across three dimensions: timelines, budget, and scope (deliverables). Part of the Closing phase. Output feeds into generate-closure-report. Format: .md, manual data input via chat.

KirKruglov/claude-skills-kit · 60 tokens

job-description-and-scorecard-builder

A hiring document generator that turns role notes into a job description and a matching interview scorecard. An interview scorecard is a set of criteria used to assess candidates consistently.

KirKruglov/claude-skills-kit · 74 tokens