check_csrf_origin_guard
Probe POST requests with no Origin and with a foreign Origin to detect missing CSRF origin validation; 2xx/3xx responses show the request was processed without a guard.
Instructions
Probe whether a POST without Origin and with a foreign Origin are rejected (401/403/...). 2xx/3xx means the request was processed: missing CSRF guard. The probe sends empty POSTs only.
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": {
"url": "<url>"
},
"name": "check_csrf_origin_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |