Skip to content
Fourohtwo

Providers each build their signing string differently

sicher.halowerk.com/v1/webhook-signature

Providers each build their signing string differently — some sign only the body, others prepend a timestamp, an id, or a version marker in a fixed order — and getting that order wrong produces a mismatch that looks exactly like an attack. This checks the signature the way the named provider actually specifies, with constant-time comparison, and returns the string that was signed so a mismatch can

BaseAnswering
POSThttps://sicher.halowerk.com/v1/webhook-signature

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://sicher.halowerk.com/v1/webhook-signature", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"body":"{\"synthetic\":true,\"event\":\"documentation-example\"}","provider":"github","secret":"HALOWERK-public-synthetic-example-never-use-for-authentication","signature":"sha256=fdfaa7380ce9e369a7d90e8651603bb777a4f008dd3070b056d2b59122d602f8"}),
});
console.log(await res.json());

Example input

{
  "body": "{\"synthetic\":true,\"event\":\"documentation-example\"}",
  "provider": "github",
  "secret": "HALOWERK-public-synthetic-example-never-use-for-authentication",
  "signature": "sha256=fdfaa7380ce9e369a7d90e8651603bb777a4f008dd3070b056d2b59122d602f8"
}