# Delx Commerce — Cookie Policy Audit

> Delx Commerce — Cookie Policy Audit is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Audits a browser cookie string for security properties including risk level, HttpOnly flag, SameSite attribute, and security flag.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/cookie-policy-audit?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-cookie-policy-audit-a8374906
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6FoA9wfS5UtrPffa4p9VQ

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 delx-commerce-cookie-policy-audit-a8374906 -d '<json body>'
```

Example prompt: Can you audit this cookie for security issues and tell me the risk level, whether it has HttpOnly and Secure flags set, and what SameSite policy it uses: 'session_id=abc123; HttpOnly; SameSite=Lax; Secure'?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call, no-signup cookie security audit that returns structured machine-readable results including risk score, HttpOnly, Secure, and SameSite attributes. Ideal for CI/CD pipelines, agent-driven security workflows, or any scenario where you want verifiable, cryptographically settled results via USDC on Base or Solana.

## Known failure modes

- Malformed or empty cookie string may return parsing errors or incomplete analysis
- Missing required 'cookie' field returns a 400-level error
- Extremely long or unusual cookie formats may not be parsed correctly
- Network or payment failures via x402 protocol may prevent completion

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing: risk level (e.g. 'low', 'medium', 'high'), a schema identifier, a boolean 'secure' flag, a boolean 'http_only' flag, the 'same_site' attribute value (e.g. 'lax', 'strict', 'none'), and an array of findings describing any security issues detected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cookie": {
   "type": "string",
   "description": "Input field: cookie."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": "low",
  "schema": "delx/util-cookie-policy-audit/v1",
  "secure": true,
  "findings": [],
  "http_only": true,
  "same_site": "lax"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-cookie-policy-audit-a8374906/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
