78trust / 100

Nip05 Verify

by nostr.halowerk.com in Security & trust

x402 APIPassing, checked 1 h ago

Fetches https://domain/.well-known/nostr.json with the name query parameter and reads the mapping the domain publishes. The answer states the resolved public key in hex and as npub, the relay hints the document lists for that key, and the HTTP status and final URL after redirects, so a redirect to a login page is distinguishable from a genuine answer. Given an expected public key, the comparison is made and the result is reported as an explicit match or mismatch rather than left to the caller.

POST https://nostr.halowerk.com/nip05-verify

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://nostr.halowerk.com/nip05-verify" \
  -H "content-type: application/json" \
  -d '{"identifier":"beispiel"}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnostr.halowerk.com%2Fnip05-verify
const res = await pay("https://nostr.halowerk.com/nip05-verify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"identifier":"beispiel"}),
});
console.log(await res.json());

Example input

{
  "identifier": "beispiel"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402220 ms$0.001
5 h agoPassed402130 ms$0.001
8 h agoPassed402127 ms$0.001
12 h agoPassed402125 ms$0.001
15 h agoPassed402222 ms$0.001
19 h agoPassed402251 ms$0.001
22 h agoPassed402131 ms$0.001
26 h agoPassed402257 ms$0.001
30 h agoPassed402226 ms$0.001
33 h agoPassed40235 ms$0.001
38 h agoPassed402103 ms$0.001
40 h agoPassed402110 ms$0.001
46 h agoPassed402118 ms$0.001