laravel-security-audit

laravel-security-audit is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 30 tokens per session (1,017 once invoked), scanned A, a copy of laravel-security-audit, MIT.

A security review guide for Laravel, a PHP framework used to build web applications and APIs.

In plain words
What is it for?
Use it to check authentication, permissions, input handling, file uploads, API security, rate limits, exposed environment settings, and deployment security.
Why use it?
It helps find vulnerabilities and unsafe settings in application code before attackers can misuse them.

Skill for Claude CodeCodex

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

Good fit Use it to check authentication, permissions, input handling, file uploads, API security, rate limits, exposed environment settings, and deployment security.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/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 beel-collab/presets.dev --skill laravel-security-audit
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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/laravel-security-audit.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/laravel-security-audit)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/laravel-security-audit"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/laravel-security-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 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 89% copy Near-identical to another mod 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.00030 $0.01017
Opus 5 $0.00015 $0.00508
Sonnet 5 $0.00006 $0.00203
Haiku 4.5 $0.00003 $0.00102

Measured 4d ago against content hash 636c49f493e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d 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

This is a copy

89% identical to laravel-security-audit — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

claude/skills/security/laravel-security-audit/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 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 · 231 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. 4d ago First seen · 231 lines · 30 tokens per session scan A 636c49f493e9

Subscribe to this mod's changes

laravel-security-audit is a skill published in the GitHub repository beel-collab/presets.dev (2 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 1,017 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to laravel-security-audit, differing in 11 lines, and is treated as a copy.

Related

Other skills, from other repositories

bf-to-agents-sdk-typescript-migration

Assess and migrate JavaScript or TypeScript bots from BotBuilder/Bot Framework SDK to Microsoft 365 Agents SDK with AgentApplication. Use to produce a migration report and plan before editing code, map BotBuilder packages and APIs, identify unsupported features, and implement only the supported plan items selected by…

microsoft/Agents · 71 tokens

skill-creator-primer

You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill. Triggers include creating, editing, reviewing, or contributing to any part of an Agent Skill (description, frontmatter, body, references, scripts, trigger evals, conflicts, etc).

sammcj/agentic-coding · 74 tokens

llm-wiki

Use when building or maintaining a self-contained personal knowledge base (an LLM wiki) in plain markdown. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki health, auditing article claims against their sources, critiquing a wiki source's reasoning, superseding stale knowledge, 'add to…

sammcj/agentic-coding · 82 tokens

apply-mantel-styles

Provides guidelines for applying Mantel's brand styles to diagrams and frontend components. Use when asked to create visuals that need to align with Mantel's branding.

sammcj/agentic-coding · 37 tokens

swift-development

You MUST activate this skill when working on Swift projects.

sammcj/agentic-coding · 13 tokens

create-mcp-app

This skill should be used when the user asks to "create an MCP App", "add a UI to an MCP tool", "build an interactive MCP View", or needs guidance on MCP Apps SDK patterns, UI-resource registration, MCP App lifecycle, or host integration. Provides guidance for building MCP Apps with interactive UIs.

sammcj/agentic-coding · 69 tokens