Security Headers Checker – Bulk HSTS, CSP & Cookie Audit avatar

Security Headers Checker – Bulk HSTS, CSP & Cookie Audit

Pricing

from $2.00 / 1,000 url checkeds

Go to Apify Store
Security Headers Checker – Bulk HSTS, CSP & Cookie Audit

Security Headers Checker – Bulk HSTS, CSP & Cookie Audit

Audit HTTP security headers of many URLs: HSTS, CSP (unsafe-inline/eval), X-Frame-Options, nosniff, Referrer- and Permissions-Policy, COOP/COEP/CORP, server leaks, cookie flags, HTTP→HTTPS redirect. Documented A+ to F grade with fixes.

Pricing

from $2.00 / 1,000 url checkeds

Rating

0.0

(0)

Developer

Adam Plänitz

Adam Plänitz

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Features

Limited permissions

Share

Check the HTTP security headers of hundreds of URLs in one run and get a grade from A+ to F – with a fully documented scoring, the exact missing headers and a fix for every issue. Covers HSTS, Content-Security-Policy (including unsafe-inline / unsafe-eval detection), X-Frame-Options / frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP / COEP / CORP, server information leaks, cookie flags and the HTTP → HTTPS redirect. Export as JSON, CSV or Excel, or connect to Google Sheets, Slack, Make, Zapier, n8n or webhooks.

What does it do?

For every URL the Actor sends a normal GET request (redirects are followed, the response body is not downloaded) and analyses the headers of the final page:

  • HSTS: present, max-age (in seconds and days), includeSubDomains, preload.
  • Content-Security-Policy: enforcing or report-only, directives, 'unsafe-inline' without nonce/hash, 'unsafe-eval', wildcard script sources (*, https:, data:), nonces/hashes, 'strict-dynamic', frame-ancestors, object-src 'none', base-uri, upgrade-insecure-requests. If several CSP headers are sent, the strictest one decides (as in browsers).
  • Clickjacking: X-Frame-Options (DENY / SAMEORIGIN) or CSP frame-ancestors.
  • X-Content-Type-Options, Referrer-Policy (effective value, unsafe values flagged), Permissions-Policy (deprecated Feature-Policy flagged), COOP / COEP / CORP, deprecated X-XSS-Protection.
  • Information leakage: version numbers in Server, X-Powered-By, X-AspNet-Version, X-AspNetMvc-Version, X-Generator.
  • Cookies: for every Set-Cookie on any hop: name only plus Secure, HttpOnly, SameSite. Cookie values are never stored.
  • HTTP → HTTPS: one extra request to the http:// version of the URL (same path) – does it redirect to HTTPS?
  • Certificate: whether the HTTPS certificate is valid (details: use the companion SSL Certificate Checker).

How the grade works (100 points)

AreaMaxRules
Strict-Transport-Security25max-age ≥ 1 year: 25 · ≥ 180 days: 20 · shorter: 10 · missing / max-age=0: 0
Content-Security-Policy25enforcing CSP present: 10 · scripts restricted without 'unsafe-inline' and without wildcard sources: +10 (+5 if only 'unsafe-eval' remains) · at least two of frame-ancestors, object-src 'none', base-uri: +5 · report-only CSP only: 5
Clickjacking protection15X-Frame-Options: DENY/SAMEORIGIN or CSP frame-ancestors (not *)
X-Content-Type-Options10nosniff
Referrer-Policy10safe value (no-referrer, same-origin, strict-origin, strict-origin-when-cross-origin, origin, origin-when-cross-origin): 10 · missing (browser default applies): 5 · unsafe-url / no-referrer-when-downgrade: 0
Permissions-Policy5present: 5 · only deprecated Feature-Policy: 2
HTTP → HTTPS redirect10redirects to HTTPS, or no plain-HTTP service at all: 10 · serves the page over HTTP: 0 (switched off in the input: 10)
Deductions−10software versions disclosed: −5 · cookies without Secure (or SameSite=None without Secure) on HTTPS: −5

Grades: A ≥ 85 · B ≥ 70 · C ≥ 55 · D ≥ 40 · F < 40. A+ needs ≥ 95 points and HSTS ≥ 1 year with includeSubDomains, an enforcing CSP that restricts scripts without 'unsafe-inline', 'unsafe-eval' or wildcards, a valid certificate and no critical or high issue. Caps: a page served over plain HTTP is always F (HSTS is ignored over HTTP); an invalid TLS certificate caps the grade at D. COOP/COEP/CORP and X-XSS-Protection are reported but not scored.

Who is it for?

  • Web agencies and developers: check all client sites after a launch or a server change.
  • Security and compliance teams: a quick, repeatable baseline across many web properties (e.g. as evidence for ISO 27001, TISAX or customer questionnaires – as a technical indicator, not a certification).
  • Monitoring: schedule a weekly run and alert on grade drops.

Input

FieldDefaultDescription
URLs or domains–https://example.com/login, example.com (checked as https://example.com/, falls back to http:// if HTTPS is unavailable). Duplicates are removed.
Check HTTP → HTTPS redirectonOne extra request per URL.
Maximum redirects10Headers of the final page are analysed.
User-AgentActor UAOptional custom User-Agent.
Parallel checks101–50.
Timeout per request15 sConnection resets are retried.

Output example (shortened)

{
"input": "https://github.com",
"url": "https://github.com/",
"finalUrl": "https://github.com/",
"statusCode": 200,
"grade": "A+",
"score": 95,
"topIssues": "none",
"issueCount": 2,
"https": true,
"certificateValid": true,
"httpToHttps": true,
"missingHeaders": ["Permissions-Policy"],
"hsts": { "present": true, "maxAge": 31536000, "maxAgeDays": 365, "includeSubDomains": true, "preload": true },
"csp": { "present": true, "unsafeInline": false, "unsafeEval": false, "wildcardScriptSources": [], "usesNonceOrHash": true, "frameAncestors": "'none'", "objectSrcNone": true, "baseUri": "'self'", "value": "default-src 'none'; base-uri 'self'; …" },
"xFrameOptions": "deny",
"xContentTypeOptions": "nosniff",
"referrerPolicy": "strict-origin-when-cross-origin",
"crossOriginOpenerPolicy": null,
"xXssProtection": "0",
"server": "github.com",
"informationLeaks": [],
"cookies": [
{ "name": "_gh_sess", "secure": true, "httpOnly": true, "sameSite": "Lax" },
{ "name": "_octo", "secure": true, "httpOnly": false, "sameSite": "Lax" }
],
"issues": [
{ "severity": "low", "header": "Permissions-Policy", "code": "permissions_policy_missing", "message": "No Permissions-Policy header.", "recommendation": "Disable unused browser features, e.g. \"Permissions-Policy: camera=(), microphone=(), geolocation=()\"." },
{ "severity": "low", "header": "Set-Cookie", "code": "cookie_not_httponly", "message": "Cookies readable by JavaScript (no HttpOnly): _octo.", "recommendation": "Set HttpOnly on session and authentication cookies." }
],
"scoreBreakdown": { "hsts": 25, "csp": 25, "clickjacking": 15, "contentTypeOptions": 10, "referrerPolicy": 10, "permissionsPolicy": 0, "httpsRedirect": 10, "deductions": 0 },
"responseTimeMs": 97,
"error": null
}

The Overview table shows URL, grade, score, critical/high issues, missing headers, HTTPS, certificate, HTTP→HTTPS, status, final URL, server and cookie count.

Pricing and speed

See the Pricing tab. You pay per checked URL; rows for URLs that cannot be reached at all (DNS error, timeout, connection refused, invalid input) are free. Duplicates are removed before checking.

A check needs one request per redirect hop plus one for the HTTP → HTTPS test, typically 0.2–1 second; hosts that do not answer wait for the timeout. In a cloud test with the default 10 parallel checks, the Tranco top 1,000 domains (about 30 % of them infrastructure domains without a reachable website) took 4.5 minutes. For large lists, raise Parallel checks or lower the timeout. The Actor runs with 256 MB memory. You can set a maximum cost per run – the Actor stops cleanly when it is reached.

Privacy and responsible use

  • Passive check: normal page requests like a browser visit, without downloading the body. No port scanning, no vulnerability probing, no form submissions, no login attempts.
  • Please check only sites you own or are allowed to assess. The result is a technical indicator of the response headers, not a security certification or penetration test.
  • No personal data: only cookie names and flags are stored, never cookie values. Private, loopback and internal addresses are refused.

Limits

  • Some sites answer automated clients with a bot-protection or error page (e.g. status 403) whose headers can differ from the real page – check statusCode. You can set a custom User-Agent.
  • Only response headers are evaluated; CSP set via <meta> tags is not analysed.
  • HTTP/1.1 is used; sites that send different headers over HTTP/2 or HTTP/3 are rare but possible.

Questions or feature requests? Please open an issue in the Issues tab.