82trust / 100

Log Chain Verify

by sicher.halowerk.com in Security & trust

x402 APIPassing, checked 3 h ago

Recomputes every record hash from a canonical JSON representation of id, sequence, timestamp, previous_hash and payload, then checks that each record points to the hash of the record before it. If a root_hash is supplied, the same computed record hashes are folded into a deterministic binary Merkle tree with the last leaf duplicated on odd levels.

POST https://sicher.halowerk.com/v1/log-chain-verify

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://sicher.halowerk.com/v1/log-chain-verify" \
  -H "content-type: application/json" \
  -d '{"records":[{"hash":"7f07223905bb01a5b3f2eda8a61c69280b6e75c938712afcb187bbf2a0d696c4","id":"evt-001","payload":{"action":"created","actor":"build-bot","subject":"release-2026.08.19"},"previous_hash":null,"sequence":1,"timestamp":"2026-08-19T09:00:00Z"},{"hash":"4584b3d398d3dd075f43d61a2c44991c61d3183c22243582c367cdccb1af664c","id":"evt-002","payload":{"action":"approved","actor":"release-manager","subject":"release-2026.08.19"},"previous_hash":"7f07223905bb01a5b3f2eda8a61c69280b6e75c938712afcb187bbf2a0d696c4","sequence":2,"timestamp":"2026-08-19T09:01:00Z"}],"root_hash":"f6e5b0a2eeed0102fcdd3480a6f7a851bb55679f2d3c7e532df3780f46c1b426"}'
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%2Fsicher.halowerk.com%2Fv1%2Flog-chain-verify
const res = await pay("https://sicher.halowerk.com/v1/log-chain-verify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"records":[{"hash":"7f07223905bb01a5b3f2eda8a61c69280b6e75c938712afcb187bbf2a0d696c4","id":"evt-001","payload":{"action":"created","actor":"build-bot","subject":"release-2026.08.19"},"previous_hash":null,"sequence":1,"timestamp":"2026-08-19T09:00:00Z"},{"hash":"4584b3d398d3dd075f43d61a2c44991c61d3183c22243582c367cdccb1af664c","id":"evt-002","payload":{"action":"approved","actor":"release-manager","subject":"release-2026.08.19"},"previous_hash":"7f07223905bb01a5b3f2eda8a61c69280b6e75c938712afcb187bbf2a0d696c4","sequence":2,"timestamp":"2026-08-19T09:01:00Z"}],"root_hash":"f6e5b0a2eeed0102fcdd3480a6f7a851bb55679f2d3c7e532df3780f46c1b426"}),
});
console.log(await res.json());

Example input

{
  "records": [
    {
      "hash": "7f07223905bb01a5b3f2eda8a61c69280b6e75c938712afcb187bbf2a0d696c4",
      "id": "evt-001",
      "payload": {
        "action": "created",
        "actor": "build-bot",
        "subject": "release-2026.08.19"
      },
      "previous_hash": null,
      "sequence": 1,
      "timestamp": "2026-08-19T09:00:00Z"
    },
    {
      "hash": "4584b3d398d3dd075f43d61a2c44991c61d3183c22243582c367cdccb1af664c",
      "id": "evt-002",
      "payload": {
        "action": "approved",
        "actor": "release-manager",
        "subject": "release-2026.08.19"
      },
      "previous_hash": "7f07223905bb01a5b3f2eda8a61c69280b6e75c938712afcb187bbf2a0d696c4",
      "sequence": 2,
      "timestamp": "2026-08-19T09:01:00Z"
    }
  ],
  "root_hash": "f6e5b0a2eeed0102fcdd3480a6f7a851bb55679f2d3c7e532df3780f46c1b426"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402113 ms$0.005