Proofmark

A trust gate for AI agents: verify who backs an MCP server, pay on Hedera, block tools that change

Proofmark

Created At

ETHGlobal Mumbai

Project Description

Proofmark is a trust gate between AI agents and the MCP servers they connect to.

An MCP server is not a library. When an agent connects to one, the server gets the agent's shell, filesystem, credentials and payment rails. Thousands of MCP servers exist, installed with one line like "npx -y some-server", mostly from people the user has never heard of. Today the best assurance is a signature showing that some GitHub account built the code. Nothing stops a server from quietly adding a new tool after it was approved, one person can run fifty GitHub accounts, and nothing revokes a compromised maintainer from agents that are already connected.

Before an agent connects, Proofmark:

  1. Resolves the server on ENS to find its maintainer, price, and the key allowed to vouch for it right now.
  2. Pays the maintainer $0.002 over x402 on Hedera, with no human approving. The agent may spend only because a person approved it through a World ID Agent Pass and its operator set an on-chain Hedera allowance.
  3. Receives a signed attestation of two hashes: the exact build, and the exact tool list, derived by running the build in a no-network sandbox.
  4. Starts the server, hashes the tools it actually offers, and refuses the connection before the model sees anything if they differ (for example, a newly added read_env tool).
  5. Keeps watching: revocations arrive within seconds through a Hedera Consensus Service topic, ENS is re-checked every 15 seconds, and the session fails closed if liveness can't be confirmed.

A server is green only when its maintainer is unique (World ID: one person, one claim), domain-verified (a GitHub gist or domain proof of the registry namespace) and bonded (50 HBAR in a 2-of-2 Hedera account, forfeited for malice). Unclaimed servers run sandboxed with read-only tools, and lookalike names are blocked.

Proofmark is not a code scanner. It proves who stands behind a build, and that they still stand behind it as of seconds ago, and it can take that back across a whole fleet in seconds.

Live app: https://proofmark-web.vercel.app

How it's Made

Proofmark is a TypeScript monorepo with four parts: an MCP proxy the agent connects through, a Hono gateway that is an x402 merchant, a local attestation worker, and a Next.js 16 web app. Every claim, key, bond and payment is real on Hedera testnet and Ethereum Sepolia. Nothing is mocked.

Hedera: The gateway's GET /attest endpoint uses the @x402/hedera exact scheme, settled through the Blocky402 facilitator, so the agent pays per connect with no human approving. Example settled payment: 0.0.7162784-1793921712-374513238. Hedera Consensus Service holds two topics: a tamper-evident audit log of every attestation, payment, identity and bond, and a revocation topic that proxies follow through the mirror node, so a revoked key reaches running agents in about 2 seconds. Each attestation is minted as an HTS NFT certificate. An operator's crypto allowance to the agent is the on-chain spend cap, read from the mirror node before each payment. The bond is a 2-of-2 key-list account. Agents get an HCS-14 UAID, and we ship a Hedera Agent Kit plugin with two tools.

ENSv2 (Sepolia): Each maintainer org is a name under proofmark.eth with its own Permissioned Resolver and subname registry, deployed through the VerifiableFactory. Co-maintainers are expiring subnames whose Enhanced Access Control role can set only their own attest.key, so an unauthorised write reverts with EACUnauthorizedAccountRoles, and one key can be revoked without touching the others. Org records hold the payout account, price, bond and domain proof. Agents are ENS names too, with budget, allowed tools, Agent Pass state, UAID and their ERC-8004 id. Every tier decision reads ENS.

World: IDKit v4 gates the maintainer claim, verified on the backend with the nullifier stored, so one person gets one claim. We chose Proof of Human as the minimum sufficient credential, because the claim needs uniqueness, not legal identity. The World ID Agent Pass runs through the official World IdP device flow. The gateway validates the ID token, writes the pass to the agent's ENS name, and refuses any payment with HTTP 403 when the pass is missing or expired.

The interesting part: the tool-manifest hash is derived, never requested. The worker runs the hash-verified build in Docker with no network, a read-only filesystem and all capabilities dropped, captures tools/list itself, and canonicalises it, so a server can't show one tool list to the attester and another to the user. The hosted gateway can't run containers, so the worker derives the manifest, the maintainer's key signs it, and the gateway re-verifies everything before recording it to HCS.

Hacky bits worth mentioning: we run Docker Engine inside WSL2 with no Docker Desktop. Long ENS claims run as resumable background jobs, because five Sepolia transactions don't fit in one hosted request. And the gateway rebuilds its whole attestation index from HCS after a restart, so it keeps no state of its own.

Tested with 30 unit tests, 22 live on-chain checks and 16 end-to-end transaction tests, all passing. Sponsor feedback with a proposed fix for each stack is in /feedback.

background image mobile

Join the mailing list

Get the latest news and updates

Proofmark | ETHGlobal