feat(mcp-proxy): consume paid install safety and runtime advisory#108
Merged
oleg-bk merged 2 commits intoJul 14, 2026
Merged
Conversation
Call the private paid install advisory endpoint during paid activation before package authorization and download. Continue on review recommendations with bounded output, fail closed on blocked/malformed/unavailable responses, and keep existing provider-absent fallback behavior. Implemented with assistance from Codex.
Add bounded install_clone_context validation for Runtime Gate package install and clone advisory metadata. Wire MCP package mutation tools to send only bounded refs and cover direct SDK privacy rejection plus signed advisory receipt verification. Implemented with assistance from Codex.
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.
Summary
Adds the public SDK side of the paid install/clone safety stage:
paid activatecalls the private/v1/paid/install/safety-checkendpoint after entitlement and before package authorization/download.install_clone_contextadvisory metadata.install_clone_contextinput is client-side bounded before any HTTP post.Scope
In scope:
Out of scope:
Validation
Checked locally before push:
126 passed1617 passed, 1 skipped,public_sdk_pr_gate: okcompatibility_probe=PASS902 passed, 3 skippedNote: the local pre-push hook was broken by a stale AVP guard-script path, so the branch was pushed with one-time
--no-verifyafter the full public SDK gate passed. This PR should still rely on CI/review before merge.Implemented with assistance from Codex.