laravel-patterns
Pass
Audited by Gen Agent Trust Hub on Apr 11, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a development guide for Laravel applications. It promotes secure coding practices, including:
- Input Validation: Recommends using
FormRequestclasses with explicit rules (exists,integer,required) to sanitize user input. - Access Control: Emphasizes enforcing authorization and using middleware like
auth:sanctumto protect routes. - Data Integrity: Suggests using
scopedBindings()in routing to ensure that nested resources belong to their parents, preventing common ID-guessing or cross-tenant access vulnerabilities. - Secret Management: Correct recommends keeping sensitive configuration in
.envfiles rather than hardcoding them in the codebase. - [SAFE]: No obfuscation, remote code execution, or data exfiltration patterns were detected in the provided markdown or code snippets.
Audit Metadata