Capabilities / Websites
Check a website's HTTP security headers and cookies
What it checks
Make one HTTPS request and one plain HTTP request to a public website's home page and check HSTS, Content-Security-Policy, framing protection, nosniff, Referrer-Policy, version disclosure, cookie flags (Secure, HttpOnly, SameSite) and the HTTP to HTTPS redirect. Returns findings with the header to send.
In the example run below, the report listed what it checked:
- One HTTPS GET of / (headers and cookies)
- One plain HTTP GET of / (redirect to HTTPS)
What it does not check
Every report lists this in coverage.not_checked. In the example run:
- Other pages and API routes (headers can differ per path)
- Content of the page
- Headers added only for logged-in users
A clean result means these checks found nothing. It does not mean the target is secure.
Input
| Field | Type | Required | Meaning |
|---|---|---|---|
host | string, up to 253 chars | yes | Public hostname, e.g. example.com |
Output: A findings report (schema security-findings/v1). facts has the response headers and cookie names.
Price
$0.003 per call. The most one run can cost is $0.003, so pass max_usd of at least 0.003. That amount is held while the run works; you pay the actual charge and the rest returns to your balance. Failed runs are free. Time limit: 45 seconds.
Call it
REST
curl -s https://api.brainbacked.com/v1/runs \
-H "Authorization: Bearer $BRAINBACKED_API_KEY" \
-H "content-type: application/json" \
-d '{
"capability": "http.headers",
"input": {"host":"example.com"},
"max_usd": 0.003
}'
MCP tool calls
run {
"capability": "http.headers",
"input": {
"host": "example.com"
},
"max_usd": 0.003
}
Example response
A real run, recorded 2026-12-04 01:36 UTC. The request input was {"host":"brainbacked.com"}.
- address
- 216.198.79.1
- status
- 200
- headers.accept-ranges
- bytes
- headers.access-control-allow-origin
- *
- headers.age
- 597
- headers.cache-control
- public, max-age=0, must-revalidate
- headers.content-disposition
- inline
- headers.content-length
- 69952
- headers.content-security-policy
- default-src 'self'; connect-src 'self' https://api.brainbacked.com; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'; font-src 'self'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
- headers.content-type
- text/html; charset=utf-8
- headers.date
- Fri, 04 Dec 2026 01:36:20 GMT
- headers.etag
- "390f100320ae20e0848afc558661f5c1"
- headers.last-modified
- Fri, 04 Dec 2026 01:26:23 GMT
- headers.referrer-policy
- strict-origin-when-cross-origin
- headers.server
- Vercel
- headers.strict-transport-security
- max-age=63072000
- headers.x-content-type-options
- nosniff
- headers.x-vercel-cache
- HIT
- headers.x-vercel-id
- sfo1::z4zx7-1796348180390-401793298cd7
- cookies
- none
- http_redirect.status
- 308
- http_redirect.location
- https://brainbacked.com/
- http_redirect.to_https
- true
Checked
- One HTTPS GET of / (headers and cookies)
- One plain HTTP GET of / (redirect to HTTPS)
Not checked
- Other pages and API routes (headers can differ per path)
- Content of the page
- Headers added only for logged-in users
Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure.
Raw JSON response
{
"id": "run_V70GNKz7g9Ql3tx8oHtw",
"capability": "http.headers",
"version": 1,
"status": "succeeded",
"output": {
"schema": "security-findings/v1",
"capability": "http.headers",
"target": "brainbacked.com",
"generated_at": "2026-12-04T01:36:20.396909Z",
"coverage": {
"checked": [
"One HTTPS GET of / (headers and cookies)",
"One plain HTTP GET of / (redirect to HTTPS)"
],
"not_checked": [
"Other pages and API routes (headers can differ per path)",
"Content of the page",
"Headers added only for logged-in users"
]
},
"summary": {
"critical": 0,
"high": 0,
"medium": 0,
"low": 0,
"info": 0,
"unknown": 0
},
"findings": [],
"facts": {
"address": "216.198.79.1",
"status": 200,
"headers": {
"accept-ranges": [
"bytes"
],
"access-control-allow-origin": [
"*"
],
"age": [
"597"
],
"cache-control": [
"public, max-age=0, must-revalidate"
],
"content-disposition": [
"inline"
],
"content-length": [
"69952"
],
"content-security-policy": [
"default-src 'self'; connect-src 'self' https://api.brainbacked.com; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'; font-src 'self'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'"
],
"content-type": [
"text/html; charset=utf-8"
],
"date": [
"Fri, 04 Dec 2026 01:36:20 GMT"
],
"etag": [
"\"390f100320ae20e0848afc558661f5c1\""
],
"last-modified": [
"Fri, 04 Dec 2026 01:26:23 GMT"
],
"referrer-policy": [
"strict-origin-when-cross-origin"
],
"server": [
"Vercel"
],
"strict-transport-security": [
"max-age=63072000"
],
"x-content-type-options": [
"nosniff"
],
"x-vercel-cache": [
"HIT"
],
"x-vercel-id": [
"sfo1::z4zx7-1796348180390-401793298cd7"
]
},
"cookies": [],
"http_redirect": {
"status": 308,
"location": "https://brainbacked.com/",
"to_https": true
}
},
"notice": "Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure."
},
"artifacts": [],
"cost_usd": 0.003,
"max_cost_usd": 0.003,
"error": null,
"created_at": "2026-12-04T01:36:18.878Z",
"finished_at": "2026-12-04T01:36:20.512Z",
"duration_ms": 1418
}Data and network
Makes ordinary client connections to a host you name, the same traffic a browser sends. It runs no intrusive tests. Connects only to the host named in host, on ports 443, 80. Each host is checked at most 5 times per 10 minutes and 30 times per day across all users. Hosts that opted out are refused.
What leaves our servers: the named host (one HTTPS and one HTTP request). Uploaded files and result files are deleted after 7 days. Customer data is never used to train models.
License basis: Our code.