laravel-security

Apply security controls to Laravel authentication, validation, CSRF, and secrets.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/contentbugvideoediting/cb-project-assistant --skill laravel-security-contentbugvideoediting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-security
Source: https://github.com/contentbugvideoediting/cb-project-assistant/tree/main/services/cb-s-claude/vendor/s-claude/skills-library/laravel-security
Command: npx skills add https://github.com/contentbugvideoediting/cb-project-assistant --skill laravel-security-contentbugvideoediting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.

Core Features & Use Cases

  • Enforces robust authentication and authorization checks across endpoints and services.
  • Harden input validation, mass assignment safety, secret management, CSRF protection, and rate limiting.
  • Supports secure deployment configurations and guidance for production hardening.

Quick Start

Apply these practices by reviewing your Laravel app's auth, validation, CSRF, and secrets handling and implementing the recommended settings.

Frequently Asked Questions about laravel-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure authentication and authorization flows in Laravel?

Secure Laravel authentication and authorization by enforcing robust authn/authz checks across endpoints and services, hardening input validation, and applying recommended settings during development to prevent unauthorized access.

What's the best way to prevent mass assignment and CSRF vulnerabilities in Laravel?

Prevent mass assignment and CSRF vulnerabilities in Laravel by implementing mass-assignment guards and CSRF protection, ensuring input validation and secure form handling are applied across all endpoints.

How do I configure encrypted secrets and secure environment settings for Laravel production?

Configure encrypted secrets and secure Laravel production environments by applying proper environment configuration and secrets management, ensuring sensitive data is protected during deployment and runtime.

Does this approach support rate limiting and secure file uploads in Laravel?

Yes, this approach supports rate limiting and secure file uploads in Laravel by applying best-practice security controls that harden input validation and restrict abusive endpoint requests during development.

When do I need to apply Laravel security best practices during development?

Apply Laravel security best practices during the development of new endpoints, forms, and authentication flows to proactively harden authn/authz, validation, and secrets management before production deployment.