Correct x402 evidence boundaries - #130
Conversation
… PayAI settle, zauth telemetry)
…ation
passport/{asset} verifies on-chain identity (MPL Core asset + 014 Registry +
Covenant attestation) via DAS; attest signs an ed25519 claim, verifiable against
the published key. per-endpoint x402 pricing, PayAI-sponsored settle to treasury.
publish the ed25519 signing key + verification recipe at /.well-known/x402, and self-describe each attestation (alg, domain, canonicalization). an outsider can pin the key and check the signature without trusting the server.
…ify) a remote/stdio MCP any agent adds in one line, no binary, no keys, no prior use. three pure tools: covenant_reputation (on-chain USDC-settlement reputation 0-1000), covenant_agent_passport (MPL Core identity + attestation), covenant_verify (ed25519 attestation check, tamper-evident). reputation + passport reuse the x402-seller modules verbatim so free MCP and paid product can't drift; verify ports the attest scheme. streamable-http (stateless) for zero-install remote + stdio for npx/local. verified e2e both transports against live mainnet (real passport data, verify PASS/FAIL) with the MCP client sdk.
covenant_verified_ers picks a Covenant-verified rollup from the router, covenant_verify_enclave does a live DCAP check of a validator's TDX quote, covenant_er_provenance recomputes an agent's receipt hash-chain against the settlement program. Endpoints resolve from the router by validator identity, never from the caller.
GET /x402/er/enclave/:validator pulls a fresh quote from the router- listed endpoint, dcap-verifies it against the intel pccs, and wraps the result in the published attestation key. optional agent+provenance_root binding commits the agent's record into the quote challenge. open validators and bad requests are never charged.
cache the dcap wasm init instead of recompiling per request, put a timeout on the pccs collateral fetch and the rpc calls, decode attestations fail-closed, and stop leaking raw rpc errors to anonymous callers. only a 404 marks an er non-tee; a 5xx is transient. surface the tcb status in the pass line.
ed21fb4 to
905fb1c
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
Boundaries
The legacy
/passportand/payai/reputationpaths remain for compatibility. Their responses do not prove identity, x402 settlement, job delivery, quality, reputation, or W009/W011 enforcement. A signature verifies exact bytes against the expected key; publisher identity requires a separate trusted binding. Resource delivery and settlement are separate protocol outcomes.Validation
npm test(12/12)npm run typechecknpm run buildnode scripts/validate-claims.mjsgit diff --check