Phase 6: complete Leash MCP proxy and signer boundary - #3
Draft
Blockchain-Oracle wants to merge 6 commits into
Draft
Phase 6: complete Leash MCP proxy and signer boundary#3Blockchain-Oracle wants to merge 6 commits into
Blockchain-Oracle wants to merge 6 commits into
Conversation
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
Blockchain-Oracle
changed the base branch from
master
to
codex/phase-5-merchant-dashboard
July 17, 2026 08:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
leash-mcpstdio proxy and standalonepaid_fetchsurface on the real MCP/x402 SDKsWhy
Phase 6 needs a runnable agent payment boundary now without pretending that the unresolved Magic TEE or funded mainnet path exists. The implementation is real through the remote-signer boundary and fails honestly with
SIGNER_NOT_CONFIGUREDuntil B-03 clears.The hardening pass also closes concurrency, retry, URL-secret leakage, nonce canonicalization, SQL CHECK, and migration-upgrade gaps found by independent correctness/security review.
Impact
Free MCP and HTTP calls work through the packaged agent. x402 challenges reach the hosted policy boundary, where unsupported or unfunded/signing-blocked requests are persisted accurately. No fake signature, transaction hash, settlement, or payable target is introduced.
Validation
pnpm install --frozen-lockfile --offlinepnpm lintpnpm check:showcasepnpm typecheckpnpm test— agent 57 tests; web 477 testspnpm buildpnpm --filter @tab/web db:check