audit_security_headers
Audit HTTP security headers for a URL to detect missing HSTS, CSP, X-Frame-Options, and mixed content, returning per-header status and an overall security score.
Instructions
Audit HTTP security headers for a URL. Checks HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and detects mixed content (HTTP resources on HTTPS pages). Returns per-header status and an overall security score.
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": "audit_security_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The fully-qualified URL to audit. | |
| checkMixedContent | No | When true, scan the HTML for HTTP resources loaded on HTTPS pages. |