laravel-audit-security

laravel-audit-security is a skill for Claude Code, Codex from MrPunyapal/laravel-auditor. It costs 52 tokens per session (806 once invoked), scanned A, original, MIT.

A checklist for reviewing the security boundaries of a Laravel web application, a PHP framework-based website or service.

In plain words
What is it for?
It is for auditing authorization, mass assignment, validation, CSRF, cross-site scripting, injection, file and URL handling, and secret exposure.
Why use it?
It helps find evidence-based security problems around permissions, user input, private data, files, URLs, and application secrets.

Skill for Claude CodeCodex

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

Good fit It is for auditing authorization, mass assignment, validation, CSRF, cross-site scripting, injection, file and URL handling, and secret exposure.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrpunyapal/laravel-auditor/laravel-audit-security"><img src="https://agentmods.dev/badge/skills/mrpunyapal/laravel-auditor/laravel-audit-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 806 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.00806
Opus 5 $0.00026 $0.00403
Sonnet 5 $0.00010 $0.00161
Haiku 4.5 $0.00005 $0.00081

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

Security

Grade A, and why

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

resources/auditor/skills/laravel-audit-security/SKILL.md · 64 lines

How it starts

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

Laravel Security Audit

Audit the security boundaries of the Laravel application. Do not invent vulnerabilities merely because a pattern is uncommon. Require context and evidence.

List applicable rules first:

php artisan auditor:rules --domain=security --applicable

What to look for

  • Authorization gaps: routes/controllers that mutate or expose resources without a policy, gate, or middleware.
  • Insecure resource access: missing ownership checks on update/delete/show.
  • Missing policies/gates where the app has clear resource ownership.
  • Mass assignment risks: unguarded models or over-permissive $fillable combined with direct request input.
  • Unsafe validation assumptions: trusting required/client-side checks, missing server-side validation on critical fields.
  • Sensitive data exposure: secrets or personal data in responses, logs, exceptions, or dumps.
  • Unsafe configuration usage: APP_DEBUG assumptions, hardcoded credentials, env values echoed.
  • Dangerous file handling: unvalidated uploads, paths from user input, unsafe file reads.
  • Unsafe URL/redirect handling: open redirects from user-controlled targets.
  • Insecure authentication/authorization patterns: storing secrets in plaintext, weak session config, missing rate limits on auth.
  • Secrets accidentally committed or exposed where detectable (.env committed, keys in source).
  • Weak or missing CSRF protection: VerifyCsrfToken::except whitelists, removed/reordered CSRF middleware, forms or post endpoints missing the token.
  • Unescaped output / XSS risk: Blade {!! !!}, ->get(), ->toHtml() rendering user-controlled or stored data.
  • Raw SQL with user-controlled input: DB::raw, whereRaw, selectRaw, orderByRaw, or statement interpolating request input.
  • Known vulnerable dependencies. dependencies.composer_audit is on by default. Use it for AUD-DEP-001 when available is true. If available is false, read reason or run composer audit --format=json yourself — do not treat an empty payload as “no advisories”. Set laravel-auditor.context.composer_audit to false only when you need to skip the shell-out.
  • Queued jobs that serialize Eloquent models with hidden/sensitive attributes (AUD-QUE-002).

Read the full file on GitHub · 64 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. 12d ago First seen · 64 lines · 52 tokens per session scan A 4d6cce61db43

Subscribe to this mod's changes

laravel-audit-security is a skill published in the GitHub repository MrPunyapal/laravel-auditor (47 stars, last pushed 6d ago), licensed MIT. It adds 52 tokens to every session and 806 once invoked, about $0.0003 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-08-30.