security_audit
Audit Laravel 13 and Livewire 4.2 code to identify security vulnerabilities: XSS, SQL injection, mass assignment, auth gaps, CSRF, rate limiting, and Livewire-specific risks.
Instructions
Audit Livewire 4.2.1/Laravel 13.2 code for security vulnerabilities including XSS, SQL injection, mass assignment, missing auth, CSRF, rate limiting, and Livewire-specific issues.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>",
"fileType": "<fileType>"
},
"name": "security_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to audit | |
| fileType | Yes |