{"uid":"cap_v5hjomG9GuEjo18nVONcc","slug":"nightshift-labs-security-headers-checker-0a2ab46b","name":"Nightshift Labs Security Headers Checker","description":"Website security-headers audit: follows redirects (SSRF-guarded) and grades the final page A–F on HSTS, Content-Security-Policy (script-src unsafe-inline/eval/wildcards), clickjacking protection, nosniff, Referrer-Policy, Permissions-Policy, COOP, version-leaking Server/X-Powered-By headers and cookie Secure/HttpOnly/SameSite flags. Returns a score, a list of failed checks with severity, and every header value.","url":"https://nightshift-x402.nightshift-labs.workers.dev/v1/web/security-headers?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"http(s) URL of a public site"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://github.com","grade":"B","https":true,"score":84,"failed":["LOW: permissions-policy — missing","MEDIUM: set-cookie _octo — cookie missing HttpOnly"],"status":200,"finalUrl":"https://github.com/"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gx7V835_m7H2_z_7oyTuW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public URL and returns a security headers audit including grade, score, and specific header failures","exampleAgentPrompt":"Can you audit the security headers on https://mycompany.com and tell me the grade, score, and what headers are missing or misconfigured?","exampleUseCases":[{"title":"Pre-launch security audit","prompt":"Before we go live, can you check the security headers on https://staging.myapp.io and tell me what grade it gets and which headers we're missing?"},{"title":"Third-party vendor security review","prompt":"I need to know how secure our vendor's site is — can you audit the HTTP security headers on https://vendor-portal.example.com and show me any failures?"},{"title":"Ongoing compliance monitoring","prompt":"Can you check the security headers on https://dashboard.acmecorp.com and let me know if there are any medium or high severity header issues I should fix?"}],"resultDescription":"A JSON object containing the audited URL, final redirected URL, HTTP status code, a letter grade (e.g. 'B'), a numeric score (0-100), a boolean for HTTPS presence, and an array of failed header checks with severity labels (e.g. 'MEDIUM: set-cookie — cookie missing HttpOnly').","failureModes":["Invalid or non-public URL returns an error or empty result","Site is unreachable or times out causing a failed fetch","Redirects to a non-HTTP(S) scheme may cause processing errors","Payment not settled via x402 results in 402 response before audit begins"],"whenToPreferThis":"Use this endpoint when you need a quick, automated security header audit of any public-facing website without setting up your own scanning infrastructure. It is ideal for pre-launch checks, vendor assessments, or compliance spot-checks where a per-call pay-as-you-go model (via USDC on Base) is preferred over a subscription scanner. It returns structured JSON suitable for downstream agent processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:36:33.549Z","isFirstParty":false,"canonicalSlug":"nightshift-labs-security-headers-checker-0a2ab46b"}