74trust / 100

Mandate Verify

by NO HANDS AI in Security & trust

x402 APIPassing, checked 3 h ago

Check a caller-supplied goal, requested action and mandate for hash integrity, optional issuer signature, binding, expiry and scope using deterministic rules. The report is advisory and grants no mandate, authority or payment permission.

POST
https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/agent/mandate/verify
Price
$1.50
per call in USDC
Uptime
97.9%
last 30 days
Response time
384 ms
563 ms slowest 5%
Last check
Passed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/agent/mandate/verify

Each call costs $1.50 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/agent/mandate/verify
content-type: application/json

{
  "agent": {
    "agent_id": "agent-123",
    "organization_id": "org-456",
    "session_id": "session-789"
  },
  "mandate": {
    "agent_id": "agent-123",
    "allowed_action_types": [
      "API_PURCHASE"
    ],
    "allowed_assets": [
      "USDC"
    ],
    "allowed_networks": [
      "eip155:8453"
    ],
    "allowed_resources": [
      "https://example.com/api/*"
    ],
    "allowed_session_ids": [
      "session-789"
    ],
    "approval_threshold": "250",
    "expires_at": "2026-07-25T12:00:00.000Z",
    "goal_hash": "sha256:example",
    "issued_at": "2026-07-24T12:00:00.000Z",
    "issuer_id": "org-admin-001",
    "mandate_hash": "sha256:example",
    "mandate_id": "mandate-001",
    "organization_id": "org-456",
    "per_transaction_limit": "500",
    "policy_version": "mandate-policy-v1",
    "remaining_budget": "5000",
    "schema_version": "nomos-agent-mandate-v1",
    "signature": {
      "algorithm": "Ed25519",
      "key_id": "org-mandate-key-v1",
      "value": "base64url-signature"
    },
    "total_budget": "5000"
  },
  "requested_action": {
    "action_type": "API_PURCHASE",
    "amount": "300",
    "asset": "USDC",
    "network": "eip155:8453",
    "resource": "https://example.com/api/search"
  },
  "requested_goal": {
    "goal": "Purchase access to the approved API service",
    "goal_hash": "sha256:example"
  }
}

Parameters

ParameterTypeRequiredDescription
agentobjectYes
idempotency_keystringNo
mandateobjectYes
replay_detectedbooleanNo
requested_actionobjectYes
requested_goalobjectYes

Example response

The provider's example. We can't check it without paying. Shortened for display.

Example response, 64 lines
{
  "action_scope_status": "IN_SCOPE",
  "agent_binding": "VERIFIED",
  "agent_id": "agent-123",
  "approval_status": "REQUIRED",
  "asset_scope_status": "IN_SCOPE",
  "computed_mandate_hash": "sha256:230148ea80afaf154a341c093821212de4db94fe7723ae9e0c03645fcda858cb",
  "decision": "DENY",
  "deterministic": true,
  "evaluated_at": "2026-11-01T00:00:00.000Z",
  "expires_at": "2026-07-25T12:00:00.000Z",
  "goal_hash": "sha256:example",
  "goal_mutation_status": "UNCHANGED",
  "goal_provenance": "UNVERIFIED",
  "issuer_id": "org-admin-001",
  "issuer_key_id": "org-mandate-key-v1",
  "issuer_key_status": "UNKNOWN",
  "issuer_status": "UNVERIFIED",
  "llm_used": false,
  "mandate_hash": "sha256:example",
  "mandate_id": "mandate-001",
  "mandate_integrity": "HASH_MISMATCH",
  "mandate_status": "EXPIRED",
  "network_scope_status": "IN_SCOPE",
  "organization_binding": "VERIFIED",
  "organization_id": "org-456",
  "policy_version": "mandate-policy-v1",
  "product": "nomos-goal-mandate-provenance",
  "reason_codes": [
    "MANDATE_EXPIRED",
    "MANDATE_HASH_MISMATCH",
    "MANDATE_ISSUER_UNVERIFIED",
    "AMOUNT_EXCEEDS_AUTO_APPROVAL_THRESHOLD"
  ],
  "resource_scope_status": "IN_SCOPE",
  "result_id": "gmp_20261101000000_pnu",
  "schema_version": "1.0",
  "session_id": "session-789",
  "session_scope_status": "VALID",
  "spending_scope_status": "WITHIN_TOTAL_BUDGET",
  "supported_reason_codes": [
    "MANDATE_MISSING",
    "MANDATE_EXPIRED",
    "MANDATE_REVOKED",
    "MANDATE_MALFORMED",
    "MANDATE_HASH_MISMATCH",
    "MANDATE_SIGNATURE_MISSING",
    "MANDATE_SIGNATURE_INVALID",
    "MANDATE_ISSUER_UNVERIFIED",
    "AGENT_BINDING_MISMATCH",
    "ORGANIZATION_BINDING_MISMATCH",
    "SESSION_SCOPE_INVALID",
    "GOAL_HASH_MISSING",
    "GOAL_HASH_MISMATCH",
    "GOAL_PROVENANCE_UNVERIFIED",
    "GOAL_SCOPE_EXPANDED",
    "GOAL_SUBSTITUTED",
    "GOAL_UNVERIFIED",
    "ACTION_TYPE_NOT_ALLOWED",
    "RESOURCE_NOT_ALLOWED",
    "ASSET_NOT_ALLOWED"
  ],
  "verifier_policy_version": "nomos-goal-mandate-provenance-v1-20260724"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $1.5.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/agent/mandate/verify' \
  -H 'content-type: application/json' \
  --data-raw '{"agent":{"agent_id":"agent-123","organization_id":"org-456","session_id":"session-789"},"mandate":{"agent_id":"agent-123","allowed_action_types":["API_PURCHASE"],"allowed_assets":["USDC"],"allowed_networks":["eip155:8453"],"allowed_resources":["https://example.com/api/*"],"allowed_session_ids":["session-789"],"approval_threshold":"250","expires_at":"2026-07-25T12:00:00.000Z","goal_hash":"sha256:example","issued_at":"2026-07-24T12:00:00.000Z","issuer_id":"org-admin-001","mandate_hash":"sha256:example","mandate_id":"mandate-001","organization_id":"org-456","per_transaction_limit":"500","policy_version":"mandate-policy-v1","remaining_budget":"5000","schema_version":"nomos-agent-mandate-v1","signature":{"algorithm":"Ed25519","key_id":"org-mandate-key-v1","value":"base64url-signature"},"total_budget":"5000"},"requested_action":{"action_type":"API_PURCHASE","amount":"300","asset":"USDC","network":"eip155:8453","resource":"https://example.com/api/search"},"requested_goal":{"goal":"Purchase access to the approved API service","goal_hash":"sha256:example"}}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/agent/mandate/verify' \
  -H 'content-type: application/json' \
  --data-raw '{"agent":{"agent_id":"agent-123","organization_id":"org-456","session_id":"session-789"},"mandate":{"agent_id":"agent-123","allowed_action_types":["API_PURCHASE"],"allowed_assets":["USDC"],"allowed_networks":["eip155:8453"],"allowed_resources":["https://example.com/api/*"],"allowed_session_ids":["session-789"],"approval_threshold":"250","expires_at":"2026-07-25T12:00:00.000Z","goal_hash":"sha256:example","issued_at":"2026-07-24T12:00:00.000Z","issuer_id":"org-admin-001","mandate_hash":"sha256:example","mandate_id":"mandate-001","organization_id":"org-456","per_transaction_limit":"500","policy_version":"mandate-policy-v1","remaining_budget":"5000","schema_version":"nomos-agent-mandate-v1","signature":{"algorithm":"Ed25519","key_id":"org-mandate-key-v1","value":"base64url-signature"},"total_budget":"5000"},"requested_action":{"action_type":"API_PURCHASE","amount":"300","asset":"USDC","network":"eip155:8453","resource":"https://example.com/api/search"},"requested_goal":{"goal":"Purchase access to the approved API service","goal_hash":"sha256:example"}}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $1.5 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$1.5" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $1.5 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnohands-coinbase-bazaar.bytoken2023.workers.dev%2Fx402%2Fv1%2Fagent%2Fmandate%2Fverify&method=POST
const res = await pay("https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/agent/mandate/verify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "agent": {
      "agent_id": "agent-123",
      "organization_id": "org-456",
      "session_id": "session-789"
    },
    "mandate": {
      "agent_id": "agent-123",
      "allowed_action_types": [
        "API_PURCHASE"
      ],
      "allowed_assets": [
        "USDC"
      ],
      "allowed_networks": [
        "eip155:8453"
      ],
      "allowed_resources": [
        "https://example.com/api/*"
      ],
      "allowed_session_ids": [
        "session-789"
      ],
      "approval_threshold": "250",
      "expires_at": "2026-07-25T12:00:00.000Z",
      "goal_hash": "sha256:example",
      "issued_at": "2026-07-24T12:00:00.000Z",
      "issuer_id": "org-admin-001",
      "mandate_hash": "sha256:example",
      "mandate_id": "mandate-001",
      "organization_id": "org-456",
      "per_transaction_limit": "500",
      "policy_version": "mandate-policy-v1",
      "remaining_budget": "5000",
      "schema_version": "nomos-agent-mandate-v1",
      "signature": {
        "algorithm": "Ed25519",
        "key_id": "org-mandate-key-v1",
        "value": "base64url-signature"
      },
      "total_budget": "5000"
    },
    "requested_action": {
      "action_type": "API_PURCHASE",
      "amount": "300",
      "asset": "USDC",
      "network": "eip155:8453",
      "resource": "https://example.com/api/search"
    },
    "requested_goal": {
      "goal": "Purchase access to the approved API service",
      "goal_hash": "sha256:example"
    }
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $1.5 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$1.5"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/agent/mandate/verify",
        json={
            "agent": {
                "agent_id": "agent-123",
                "organization_id": "org-456",
                "session_id": "session-789",
            },
            "mandate": {
                "agent_id": "agent-123",
                "allowed_action_types": [
                    "API_PURCHASE",
                ],
                "allowed_assets": [
                    "USDC",
                ],
                "allowed_networks": [
                    "eip155:8453",
                ],
                "allowed_resources": [
                    "https://example.com/api/*",
                ],
                "allowed_session_ids": [
                    "session-789",
                ],
                "approval_threshold": "250",
                "expires_at": "2026-07-25T12:00:00.000Z",
                "goal_hash": "sha256:example",
                "issued_at": "2026-07-24T12:00:00.000Z",
                "issuer_id": "org-admin-001",
                "mandate_hash": "sha256:example",
                "mandate_id": "mandate-001",
                "organization_id": "org-456",
                "per_transaction_limit": "500",
                "policy_version": "mandate-policy-v1",
                "remaining_budget": "5000",
                "schema_version": "nomos-agent-mandate-v1",
                "signature": {
                    "algorithm": "Ed25519",
                    "key_id": "org-mandate-key-v1",
                    "value": "base64url-signature",
                },
                "total_budget": "5000",
            },
            "requested_action": {
                "action_type": "API_PURCHASE",
                "amount": "300",
                "asset": "USDC",
                "network": "eip155:8453",
                "resource": "https://example.com/api/search",
            },
            "requested_goal": {
                "goal": "Purchase access to the approved API service",
                "goal_hash": "sha256:example",
            },
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40243 ms$1.50
12 h agoPassed40244 ms$1.50
23 h agoPassed40260 ms$1.50
45 h agoTimed out---
4 days agoTimed out---
Show 10 older checks
5 days agoPassed40243 ms$1.50
5 days agoPassed402541 ms$1.50
6 days agoPassed402363 ms$1.50
6 days agoPassed402374 ms$1.50
6 days agoPassed402410 ms$1.50
7 days agoPassed402316 ms$1.50
7 days agoPassed402506 ms$1.50
7 days agoPassed402481 ms$1.50
8 days agoPassed402397 ms$1.50
8 days agoPassed402190 ms$1.50