Compare a fixed list of ten security-relevant response headers across two releases and…
Compare a fixed list of ten security-relevant response headers across two releases and name the specific reverts. Reports a header removed, added or changed, and separately a reduced Strict-Transport-Security max-age, dropped includeSubDomains, a newly permit…
by api.zfinia.com · discovered, not yet claimed by its owner · updated 2026-10-04
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Compare a fixed list of ten security-relevant response headers across two releases and name the specific reverts. Reports a header removed, added or changed, and separately a reduced Strict-Transport-Security max-age, dropped includeSubDomains, a newly permitted unsafe-inline or unsafe-eval, and a Content-Security-Policy that moved from enforcing to report-only so it no longer blocks anything. Observable differences only, not an assessment of whether either configuration is adequate.
Tags: http headers · release gate · regression detection · web platform · developer tooling · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-04
{
"after": {
"Content-Security-Policy-Report-Only": "default-src 'self'; script-src 'self' 'unsafe-inline'",
"Referrer-Policy": "no-referrer",
"Strict-Transport-Security": "max-age=600",
"X-Frame-Options": "SAMEORIGIN"
},
"after_name": "release-42",
"before": {
"Content-Security-Policy": "default-src 'self'; script-src 'self'",
"Referrer-Policy": "no-referrer",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY"
},
"before_name": "release-41"
}{
"after_name": "release-42",
"after_present_count": 4,
"assumptions": [
"The set of headers compared is fixed and declared, so a header outside it is not silently ignored: it is simply not part of this product.",
"A reduced HSTS max-age, dropped subdomains, a newly permitted unsafe source and a policy moving to report-only are each named specifically, because those are the changes that revert a deliberate harde...",
"Findings describe the headers supplied. This is not a security assessment and carries no judgement about whether a configuration is adequate."
],
"before_name": "release-41",
"before_present_count": 5,
"changed_count": 5,
"complete": true,
"finding_count": 8,
"findings": [
{
"code": "SECURITY_HEADER_CHANGED",
"detail": "strict-transport-security changed from \"max-age=31536000; includeSubDomains\" to \"max-age=600\".",
"header": "strict-transport-security"
},
{
"code": "HSTS_MAX_AGE_REDUCED",
"detail": "Strict-Transport-Security max-age fell from 31536000 to 600.",
"header": "strict-transport-security"
},
{
"code": "HSTS_SUBDOMAINS_DROPPED",
"detail": "Strict-Transport-Security no longer includes subdomains.",
"header": "strict-transport-security"
}
],
"findings_by_code": {
"CSP_MOVED_TO_REPORT_ONLY": 1,
"HSTS_MAX_AGE_REDUCED": 1,
"HSTS_SUBDOMAINS_DROPPED": 1,
"SECURITY_HEADER_ADDED": 1,
"SECURITY_HEADER_CHANGED": 2,
"SECURITY_HEADER_REMOVED": 2
},
"headers": [
{
"after": "max-age=600",
"before": "max-age=31536000; includeSubDomains",
"changed": true,
"header": "strict-transport-security"
},
{
"after": null,
"before": "default-src 'self'; script-src 'self'",
"changed": true,
"header": "content-security-policy"
},
{
"after": "default-src 'self'; script-src 'self' 'unsafe-inline'",
"before": null,
"changed": true,
"header": "content-security-policy-report-only"
}
],
"limitations": [
"Difference between the two header sets supplied. Whether either is appropriate for the site is not assessed.",
"unchanged is true only when every compared header was identical."
],
"limits": {
"maxCookies": 100,
"maxFindings": 500,
"maxHeaders": 200,
"maxHtmlBytes": 262144,
"maxListed": 200,
"maxPages": 50,
"maxSitemapBytes": 1048576,
"maxSitemapUrls": 10000
},
"not_examined": [],
"observed_at": "2026-10-02T00:00:00.000Z",
"passed": false,
"request_id": "example-request",
"service_id": "security_header_diff",
"service_version": "1.0.0",
"unchanged": false
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/34024.jsonfor the price and payment options. - Pay. Call
GET https://api.zfinia.com/x402/v1/security-header-diff. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.11 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.11 | 0x25e8245f07d5e4873987293dad666afbe56a9608 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "110000",
"amountUsd": 0.11,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl -X POST 'https://api.zfinia.com/x402/v1/security-header-diff' -H 'Content-Type: application/json' --data '{"after":{"Content-Security-Policy-Report-Only":"default-src '\''self'\''; script-src '\''self'\'' '\''unsafe-inline'\''","Referrer-Policy":"no-referrer","Strict-Transport-Security":"max-age=600","X-Frame-Options":"SAMEORIGIN"},"after_name":"release-42","before":{"Content-Security-Policy":"default-src '\''self'\''; script-src '\''self'\''","Referrer-Policy":"no-referrer","Strict-Transport-Security":"max-age=31536000; includeSubDomains","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY"},"before_name":"release-41"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://api.zfinia.com/x402/v1/security-header-diff", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"after\":{\"Content-Security-Policy-Report-Only\":\"default-src 'self'; script-src 'self' 'unsafe-inline'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=600\",\"X-Frame-Options\":\"SAMEORIGIN\"},\"after_name\":\"release-42\",\"before\":{\"Content-Security-Policy\":\"default-src 'self'; script-src 'self'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=31536000; includeSubDomains\",\"X-Content-Type-Options\":\"nosniff\",\"X-Frame-Options\":\"DENY\"},\"before_name\":\"release-41\"}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://api.zfinia.com/x402/v1/security-header-diff", json=json.loads("{\"after\":{\"Content-Security-Policy-Report-Only\":\"default-src 'self'; script-src 'self' 'unsafe-inline'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=600\",\"X-Frame-Options\":\"SAMEORIGIN\"},\"after_name\":\"release-42\",\"before\":{\"Content-Security-Policy\":\"default-src 'self'; script-src 'self'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=31536000; includeSubDomains\",\"X-Content-Type-Options\":\"nosniff\",\"X-Frame-Options\":\"DENY\"},\"before_name\":\"release-41\"}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.zfinia.com
- Endpoint
- https://api.zfinia.com/x402/v1/security-header-diff
- Machine-readable
/resources/34024.json