# HTTP Security Policy Inspector

> HTTP Security Policy Inspector is a paid API for AI agents from holder-victor-nova-mag.trycloudflare.com, paid per call via x402, $0.02/call, status down (last checked 2026-09-16).

Fetches a bounded public HTTP response and inspects its cache directives, CORS headers, and redacted cookie security attributes.

## Facts

- Endpoint: GET https://holder-victor-nova-mag.trycloudflare.com/x402/http-policy
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/http-security-policy-inspector-3563b1e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PjvnWslDVwfu8SmxggUCB

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 http-security-policy-inspector-3563b1e1
```

Example prompt: Can you check https://api.example.com/data for its CORS headers, cache directives, and any cookie security flags — use a GET request and simulate the origin https://myapp.example.com?

## When to prefer this

Use this endpoint when you need a quick, bounded inspection of HTTP-level security policy signals — specifically cache directives, CORS configuration, and cookie security attributes — for a single public URL without triggering side effects. Prefer this over general HTTP probing endpoints when the specific goal is security/policy header analysis rather than content extraction or redirect tracing.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error
- URL is not valid HTTP/HTTPS — validation error on input
- Target server does not respond within bounded time limit — timeout error
- URL returns a non-200 status — response may still be analyzed but flagged
- Origin header ignored by target server — CORS fields may be absent in result

## How this service works

Inspect one bounded public HTTP response for cache directives, CORS headers, and redacted cookie security attributes.

## Output

A structured report detailing the cache-control directives, CORS response headers (e.g. Access-Control-Allow-Origin, Access-Control-Allow-Methods), and redacted cookie security attributes (e.g. Secure, HttpOnly, SameSite) observed in the bounded HTTP response from the specified public URL.

## Request schema (JSON Schema)

```json
{
 "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",
       "format": "uri"
      },
      "origin": {
       "type": "string",
       "format": "uri",
       "description": "Optional HTTP(S) Origin header to send during the bounded GET."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/http-security-policy-inspector-3563b1e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from holder-victor-nova-mag.trycloudflare.com](https://www.zero.xyz/host/holder-victor-nova-mag.trycloudflare.com/llms.txt)
