Repository navigation
fix(github): Deny raw issue creation egress - #689
Merged
Merged
Conversation
Reject raw sandbox GitHub issue creation before credentials are issued so issue bodies go through the typed createIssue tool that owns idempotency and the conversation footer. Document the new pre-credential denial path and cover REST plus GraphQL createIssue bypasses. Refs GH-660 Co-Authored-By: GPT-5 Codex <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a6abd3a. Configure here.
Deny oversized raw GitHub GraphQL bodies before issuing credentials because Junior cannot prove they are not issue creation requests. Also reject root createIssue selection documents and cover both paths with regression tests. Refs GH-660 Co-Authored-By: GPT-5 Codex <[email protected]>
Drop the root-selection createIssue fixture because GraphQL shorthand documents are queries, not mutations. Keep the raw issue-create denial coverage focused on realistic mutation forms. Refs GH-660 Co-Authored-By: GPT-5 Codex <[email protected]>
This branch was successfully deployed
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.

Raw sandbox GitHub issue creation now stops before Junior issues credentials, so issue bodies have to go through the typed
github.createIssuetool that owns idempotency and the runtime-generated conversation footer. The denial covers RESTPOST /repos/:owner/:repo/issuesand GraphQLcreateIssuemutations, including fragment-based mutation shapes, while the host/plugingithub.issue.createoperation remains allowed.The plugin API now has an explicit pre-credential policy denial error that core maps to HTTP 403 without recording an auth-required signal or contacting GitHub. The GitHub credential and plugin runtime specs document that boundary.
Refs GH-660