{
  "format": "delx/intent-card/v1",
  "id": "cookie-security-check-api",
  "intent": "Cookie Security Check for an agent workflow",
  "title": "Cookie Security Check API for agents",
  "description": "Cookie Security Check: Cookie Security Check checks Secure, HttpOnly, and SameSite attributes against policy from bounded caller-supplied values without an external provider. Call Cookie Security Check before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Cookie Security Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Evaluates only caller-supplied metadata; it performs no DNS lookup, HTTP request, web search, credential use, or persistent storage. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "Cookie Security Check API",
    "Cookie Security Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/cookie-security-check-api",
  "machine_url": "https://commerce.delx.ai/intents/cookie-security-check-api.json",
  "recommendation": {
    "tool_name": "util_cookie_security_check",
    "service_name": "Cookie Security Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/cookie-security-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "header": {
          "type": "string",
          "maxLength": 8192,
          "description": "Header supplied to Cookie Security Check; used only for this bounded calculation and processed in memory without retention."
        },
        "require_secure": {
          "type": "boolean",
          "description": "Require Secure supplied to Cookie Security Check; used only for this bounded calculation and processed in memory without retention."
        },
        "require_http_only": {
          "type": "boolean",
          "description": "Require HTTP Only supplied to Cookie Security Check; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed_same_site": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed Same Site supplied to Cookie Security Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "header",
        "require_secure",
        "require_http_only",
        "allowed_same_site"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "header": "sid=abc; Path=/; Secure; HttpOnly; SameSite=Lax",
      "require_secure": true,
      "require_http_only": true,
      "allowed_same_site": [
        "Lax",
        "Strict"
      ]
    },
    "example_output": {
      "schema": "delx/util-cookie-security-check/v1",
      "operation": "web_reliability:cookie_security_check",
      "status": "pass",
      "result": {
        "name": "sid",
        "value_length": 3,
        "attributes": {
          "path": "/",
          "secure": true,
          "httponly": true,
          "samesite": "Lax"
        },
        "secure_policy_passed": true
      },
      "evidence": {
        "input_sha256": "b2535750ee2a8d64e7fa26e4f6b035b8925174e765e5275f7a364bd9d4e021dc",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/cookie-security-check -m POST -H 'x-delx-source: intent-card-cookie-security-check-api' --max-amount 0.001 -b '{\"header\":\"sid=abc; Path=/; Secure; HttpOnly; SameSite=Lax\",\"require_secure\":true,\"require_http_only\":true,\"allowed_same_site\":[\"Lax\",\"Strict\"]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-cookie-security-check-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/cookie-security-check"
  }
}
