80trust / 100

Headers

by skill-audit in Security & trust

x402 APIPassing, checked 4 h ago

Fetch a URL and grade its HTTP security headers (HSTS, CSP, X-Frame-Options, etc.)

POST https://eltociear-skill-audit.hf.space/headers

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
352 ms typical, 352 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://eltociear-skill-audit.hf.space/headers" \
  -H "content-type: application/json" \
  -d '{"url":"https://example.com"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Feltociear-skill-audit.hf.space%2Fheaders
const res = await pay("https://eltociear-skill-audit.hf.space/headers", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://example.com"}),
});
console.log(await res.json());

Example input

{
  "url": "https://example.com"
}

Example output

{
  "grade": "B",
  "headers": {
    "strict-transport-security": "max-age=63072000"
  },
  "missing": [
    "content-security-policy"
  ],
  "present": [
    "strict-transport-security"
  ],
  "score": 70,
  "status": 200,
  "url": "https://example.com"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402352 ms$0.005