Repository navigation
fix(security): close residual scope and detection gaps - #1272
Merged
Merged
Conversation
Deploying mcpproxy-docs with
|
| Latest commit: |
7765346
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://47f3ede7.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://codex-106-security-residual.mcpproxy-docs.pages.dev |
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Contributor
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 34710130573 --repo smart-mcp-proxy/mcpproxy-go
|
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.
Description
Code-execution activity could miss secrets after the 8 KiB display boundary or in the parent script, while server-edition tokens retained stale grants after revocation or unsharing. Scoped status/SSE paths also had residual fail-open and credential-display gaps.
This change scans full detector-only payloads while keeping stored/event output bounded, revalidates owned token scope and SSE authorization against live state, adds owner-qualified admin revocation, commits sharing changes atomically, and makes scoped statistics and status URLs fail closed. The runtime now keeps detector-only event data away from public subscribers.
Closes #1265
Closes #1179
Closes #1184
Testing
--web-urlsafely percent-encodes reserved characters.golangci-lintreports zero issues.OpenCode cross-review used
github-copilot/claude-fable-5, the closest exposed Claude Fable model because the requestedclaude-fable-5.1identifier was unavailable, plusgithub-copilot/gpt-6-astra. All actionable findings were fixed; the final focused Astra review returnedCLEAN.Detailed commands and real-instance evidence are recorded in
specs/106-security-residual-fixes/verification.md.