What problem does it solve? Laravel applications are exposed to common vulnerabilities like SQL injection, XSS, CSRF, mass assignment, and insecure file uploads when developers skip framework-level protections. This Skill provides concrete, code-level guidance to harden Laravel apps against these threats. ## Core Features & Use Cases - Authentication & Authorization: Configure Sanctum token auth, password hashing rules, policies, gates, and route-level can middleware. - Input & Upload Safety: Enforce Form Request validation, mass-assignment guards, MIME/size checks on uploads, and private disk storage. - Attack Surface Hardening: Apply CSRF protection, rate limiters for login flows, security headers (CSP, HSTS, X-Frame-Options), CORS restrictions, signed URLs, and encrypted casts. - Use Case: When building a new API endpoint that accepts invoice uploads, use this Skill to add a Form Request with file validation, authorize via a policy, store to a non-public disk, and throttle the route. ## Quick Start Review my Laravel controller and routes for security issues and add the missing validation, authorization, and rate limiting.