HTTP Security Headers Grader
Pricing
$1.00 / 1,000 completed url assessments
HTTP Security Headers Grader
Audit HTTP response headers for authorized HTML URLs with versioned scores, redirect evidence and explicit coverage limits.
Pricing
$1.00 / 1,000 completed url assessments
Rating
0.0
(0)
Developer
AFK Digital
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Check an agency or MSP portfolio of authorized public HTML pages. Each input produces a dataset row with the final status, observed header values, redirect chain and the contribution of each scoring rule. Use the results to review header changes with site owners. A score measures the explicit controls recognized by this profile. It cannot certify security, demonstrate exploitability or replace a penetration test.
Start a run
Use {"urls":["https://example.com/"],"scoringProfile":"html-baseline","timeoutSeconds":10,"maxRedirects":3,"maxUrls":50}. Alternatively supply urlsFile with the public HTTPS address of a UTF-8 text file containing one URL per line. Clear the URLs field when using a file. Inputs, final URLs and redirects appear in storage. Supply URLs without sensitive query parameters.
Limits: up to 200 unique input strings per run, 2,000 raw entries, up to five redirects, 1–20 seconds per complete chain, one chain at a time. Duplicates are removed after trimming and the first maxUrls entries are processed. The file uses one additional chain with a 64 KiB body cap. Page GETs stop after response headers (32 KiB header cap). Only HTTP/HTTPS default ports and public IPv4 destinations are supported. Public DNS answers are validated and pinned separately on each hop. The client does not use proxies, cookies, browser execution, attack payloads or automatic retries.
HTML baseline 1.0.0
| Rule | Points | Condition |
|---|---|---|
| HSTS | 20 | HTTPS DNS hostname, recognized syntactically valid first STS field. Positive max-age below one year earns 10; at least one year earns 20. HTTP, IP literals, disabled or invalid policies earn zero. |
| Script CSP | 30 | At least one enforced policy restricts both script elements and attributes through their directives, script-src or default-src. Recognized lists are a lone 'none' or a list of 'self' and explicit HTTPS hosts. Nonce/hash-only lists may also include 'strict-dynamic'; nonce randomness and reuse require application review. Report-only is evidence only. |
| Framing | 20 | Explicit enforced frame-ancestors using the recognized source subset. Without that directive, consistent DENY or SAMEORIGIN XFO earns credit. default-src does not supply a framing fallback. |
| MIME sniffing | 10 | First option is nosniff. |
| Referrer | 10 | Last recognized explicit policy is no-referrer, same-origin, strict-origin or strict-origin-when-cross-origin. |
| Permissions | 10 | All three of camera, microphone and geolocation explicitly denied in a valid Structured Fields dictionary. One or two earns 5. |
The weights and thresholds are editorial choices. Scores favor explicit controls. Browser defaults, nonce/hash policies, interactions across complex policies, feature delegation and browser support need manual review. Some restrictive policies fall outside the recognized subset and earn zero. A full score does not assess script behavior, framing by a specific parent, MIME correctness, TLS quality or site-wide coverage. Deprecated X-XSS-Protection and HPKP carry no weight.
Only HTTP 200 HTML responses receive scores. Error responses, recognizable challenge headers, other media types and transport failures receive a null score. An unmarked 200 intermediary page can resemble the origin. Check evidence before comparing results. Header values are recorded as separate fields in wire order where available. Only the seven scoped header names are exported.
Dataset and billing
Inspect inputUrl, finalUrl, httpStatus, checkedAt, headersObserved, findings, score, scoreVersion, evidence and limitations. An empty header array means the field was absent in the observed response. A null score is never a zero score. Under pay-per-event pricing the sole custom event is url-assessment, one per completed scored URL, with no per-finding, redirect or retry fee. Unscored rows are diagnostic.
Workflow examples
- n8n: Schedule Trigger → HTTP Request (POST the Actor runs endpoint with JSON input and a stored Bearer credential) → poll the returned run ID until SUCCEEDED → GET the default dataset items → IF score is numeric and below 60 → create a review task.
- Make: Run an Actor with a client URL list → wait for success → Get Dataset Items → filter on numeric score and scoreVersion → upsert by inputUrl into a client worksheet.
- Clay: Use an HTTP API enrichment to start a batch run, then import its dataset JSON or CSV after completion. Match rows by inputUrl, retain checkedAt, and send null scores to a coverage-review column.
API routes: POST /v2/acts/afkdigital~http-security-headers-grader/runs, GET /v2/actor-runs/{runId}, GET /v2/datasets/{defaultDatasetId}/items?clean=true. Store tokens in connection credentials.
Rule references
RFC 6797, CSP Level 3, HTML framing processing, Fetch nosniff, Referrer Policy, Permissions Policy.