Skip to content

feat(trust): add standalone Covenant Trust service - #133

Merged
mizuki0x merged 1 commit into
mainfrom
feat/covenant-trust-service
Aug 1, 2026
Merged

feat(trust): add standalone Covenant Trust service#133
mizuki0x merged 1 commit into
mainfrom
feat/covenant-trust-service

Conversation

@mizuki0x

@mizuki0x mizuki0x commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Standalone, catalog-neutral service layer for pre-payment agent checks. Marketplaces, skill catalogs, and x402 clients stay consumers: they ask for evidence, apply their own policy, and decide whether to pay.

It returns facts rather than a universal trusted: true verdict:

  • MPL Core asset facts, indexed AgentIdentity-plugin presence, registry PDA owner matching, and Covenant validation envelopes
  • coverage-limited PayAI-sponsored USDC transfer history for a Solana wallet
  • Ed25519 attestation integrity, with optional expected-signer matching

Every operation is read-only or pure cryptographic verification. The service holds no transaction signer and cannot move funds.

Interfaces: MCP over Streamable HTTP (POST /mcp), OpenAPI (GET /openapi.json), plus GET /v1/agents/{asset}, GET /v1/payment-history/{wallet}, POST /v1/attestations/verify, and GET /health. The MCP surface exposes the same three checks as structured tools.

Limits are documented in the README and carried in the responses rather than papered over. Transfer history covers only the reported window of PayAI fee-payer signatures, and fee sponsorship does not prove an x402 request, a settlement receipt, or job completion. A valid covenant.attest.v1 signature proves authorship by the carried key, and Covenant authorship only when that key is independently trusted. recordAuthentic covers the validation envelope and author key only; the MIP-014 registration decode is still null. The v1 record list is a bounded ownership scan, so it always reports coverage.complete: false. Registration and metadata URIs are returned but never fetched.

Build is clean and all 28 tests pass.

Recreates #120 under the neutral publication identity. Branch and commit unchanged.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​types/​express@​5.0.01001007183100
Addednpm/​@​types/​node@​22.10.21001008196100
Addednpm/​tsx@​4.23.11001008192100
Addednpm/​express@​5.1.09710010087100
Addednpm/​typescript@​5.7.21001009010090
Addednpm/​@​modelcontextprotocol/​sdk@​1.30.09910010096100

View full report

@mizuki0x
mizuki0x merged commit cd17dd9 into main Aug 1, 2026
9 checks passed
@mizuki0x
mizuki0x deleted the feat/covenant-trust-service branch August 1, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant