Repository navigation
Suppress RGS-012 finding for pinned GitHub remote MCP handshake curl - #55686
Merged
pelikhan merged 2 commits intoAug 25, 2026
Merged
Conversation
Co-authored-by: pelikhan <[email protected]>
Copilot
AI
changed the title
[WIP] Fix secret exfiltration via outbound HTTP request
Suppress RGS-012 finding for pinned GitHub remote MCP handshake curl
Aug 25, 2026
pelikhan
approved these changes
Aug 25, 2026
pelikhan
marked this pull request as ready for review
August 25, 2026 06:32
pelikhan
deleted the
copilot/rgs-012-fix-secret-exfiltration-another-one
branch
August 25, 2026 06:32
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an RGS-012 suppression for the pinned GitHub remote MCP handshake.
Changes:
- Adds an inline suppression with justification.
- Regenerates the compiled workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/github-remote-mcp-auth-test.md |
Adds the suppression marker. |
.github/workflows/github-remote-mcp-auth-test.lock.yml |
Carries the marker into generated output. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
| local response_headers_file="$2" | ||
| shift 2 | ||
| local http_code | ||
| # runner-guard:ignore RGS-012 -- pinned request to the official GitHub remote MCP endpoint (api.githubcopilot.com); verifies the token authenticates and receives the response, no data is exfiltrated to an attacker-controlled host. |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This was referenced Sep 7, 2026
This was referenced Sep 24, 2026
This was referenced Oct 1, 2026
1 of 6 tasks
This was referenced Oct 15, 2026
1 task done
1 of 8 tasks
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.
Runner-guard flagged the
curlcall in the "Verify raw GitHub remote MCP handshake" step ofgithub-remote-mcp-auth-test.lock.ymlas a potential secret exfiltration risk (RGS-012), since it performs an outbound HTTP request in a job context with secrets access.The target is a hardcoded, pinned endpoint (
https://api.githubcopilot.com/mcp/) — the official GitHub remote MCP server — not attacker-influenced input, and the step exists specifically to test the MCP handshake against that server.Changes
runner-guard:ignore RGS-012suppression comment directly above thecurlinvocation ingithub-remote-mcp-auth-test.md, with justification consistent with prior RGS-012 suppressions elsewhere in the repo.github-remote-mcp-auth-test.lock.ymlwith the suppression carried through.Note: the suppression comment had to be placed inline inside the shell script body rather than as a step-level YAML comment, since the compiler re-serializes
run:blocks and drops comments attached at the step level.