Security Header Inspection
inspect_security_headersInspect security-related HTTP response headers for an unfamiliar public URL before an agent trusts or recommends it. It identifies missing or weak HSTS, CSP, framing, referrer, permissions, and cross-origin headers. It reports observable configuration only and does not prove that a site is secure or vulnerability-free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL or bare domain to inspect. Bare domains are normalized to https:// automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Normalized URL that was fetched. | |
| error | No | Validation or network error when the request could not be completed. | |
| https | Yes | True when the normalized URL used https. | |
| score | No | Heuristic security-header score based on how many tracked headers were present. | |
| status | No | HTTP status code returned by the endpoint. | |
| headers | No | Tracked response headers and their raw values when present. | |
| summary | Yes | Short human-readable explanation of the verdict. | |
| verdict | Yes | Header preflight verdict based on reachability, HTTPS, and tracked header presence. | |
| evidence | Yes | Structured header observations used to produce the verdict. | |
| inputUrl | No | Original user input when normalization changed it. | |
| next_step | Yes | Agent-readable follow-up for sources that should be checked repeatedly. | |
| accessible | Yes | True when the endpoint returned an HTTP response. | |
| presentCount | No | Number of tracked security headers that were present. | |
| missingRecommended | No | Tracked headers that were not present on the response. | |
| recommended_action | Yes | Suggested next step; not a security guarantee. |