# HSTS Audit – HTTP Strict Transport Security Check

> HSTS Audit – HTTP Strict Transport Security Check is a paid API for AI agents from webschutz.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Passively fetches and evaluates the HTTP Strict Transport Security (HSTS) header configuration for a given domain or URL, returning a verdict, evidence, and actionable guidance.

## Facts

- Endpoint: POST https://webschutz.halowerk.com/v1/hsts-audit?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hsts-audit-http-strict-transport-security-check-b0b237c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_isjiuZ_1rGORYNK2-ole3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hsts-audit-http-strict-transport-security-check-b0b237c1 -d '<json body>'
```

Example prompt: Can you do a passive HSTS audit on example.com and tell me whether its Strict-Transport-Security header is properly configured, including the max-age value and any verdict on compliance?

## When to prefer this

Use this endpoint when you need a lightweight, passive, per-domain check specifically for HTTP Strict Transport Security compliance — particularly in automated security pipelines, pre-deployment checklists, or continuous monitoring workflows. Prefer it over general web scanners when you want a focused HSTS verdict with explicit evidence provenance and no active probing side effects. It is especially well-suited for agents that need a cheap ($0.001 USDC), structured JSON verdict they can act on programmatically.

## Known failure modes

- Target domain unreachable or DNS resolution failure — returns error with no verdict
- Target returns no HTTP response (timeout) — returns timeout error
- Malformed or too-short target URL rejected by input validation — returns 400-level error
- Target blocks automated requests (returns unexpected status) — observation noted with limitation flagged
- Baseline object format mismatch when comparing snapshots — may return comparison error or degraded result

## How this service works

Strict Transport Security audit fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.

## Output

Returns the observed HSTS header value (or absence thereof), the evaluation verdict (pass/fail/warning), the specific threshold criteria applied, the exact evidence source URL, any limitations of the passive check, and a mode-specific recommended action — all without performing any login, payload injection, or active attack.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret correlation labels returned unchanged only in the request lifecycle.",
   "maxProperties": 12,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "baseline": {
   "type": [
    "object",
    "null"
   ],
   "description": "Optional baseline returned by a previous snapshot call.",
   "additionalProperties": true
  },
  "compare_url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Optional public comparison URL. Used by change and monitoring services."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hsts-audit-http-strict-transport-security-check-b0b237c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webschutz.halowerk.com](https://www.zero.xyz/host/webschutz.halowerk.com/llms.txt)
