Title: Harden lockdown handling for pull request commit content · Issue #3105 · github/github-mcp-server · GitHub
Open Graph Title: Harden lockdown handling for pull request commit content · Issue #3105 · github/github-mcp-server
X Title: Harden lockdown handling for pull request commit content · Issue #3105 · github/github-mcp-server
Description: Describe the bug Lockdown mode applies trust checks to several pull request content surfaces but not to commit messages returned by pull_request_read with get_commits. Align this content path with the existing best-effort lockdown model ...
Open Graph Description: Describe the bug Lockdown mode applies trust checks to several pull request content surfaces but not to commit messages returned by pull_request_read with get_commits. Align this content path with ...
X Description: Describe the bug Lockdown mode applies trust checks to several pull request content surfaces but not to commit messages returned by pull_request_read with get_commits. Align this content path with ...
Opengraph URL: https://github.com/github/github-mcp-server/issues/3105
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Harden lockdown handling for pull request commit content","articleBody":"### Describe the bug\n\nLockdown mode applies trust checks to several pull request content surfaces but not to commit messages returned by `pull_request_read` with `get_commits`. Align this content path with the existing best-effort lockdown model and document intentional trusted-bot exceptions.\n\n### Affected version\n\nCurrent `main` as of 2026-08-19.\n\n### Steps to reproduce the behavior\n\n1. Enable lockdown mode.\n2. Read commits from an untrusted fork pull request.\n3. Observe that commit messages are returned without the trust handling applied to other pull request content.\n\n### Expected vs actual behavior\n\nExpected: lockdown treats comparable pull request content consistently, and documented behavior includes trusted-bot exceptions.\n\nActual: commit messages use a separate path without the same handling, and the exception is not clearly documented.\n\n### Logs\n\nN/A","author":{"url":"https://github.com/SamMorrowDrums","@type":"Person","name":"SamMorrowDrums"},"datePublished":"2026-08-19T12:06:24Z","url":"https://github.com/github/github-mcp-server/issues/3105"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f79255de-cc68-cbc6-1cdf-d64992db00a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E942:15F7F4:1C30EFA:252ABFE:6B068549 |
| html-safe-nonce | 1b805702fbda195825f10490b91102b76bfb22930de0230980d055ee66620d39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTQyOjE1RjdGNDoxQzMwRUZBOjI1MkFCRkU6NkIwNjg1NDkiLCJ2aXNpdG9yX2lkIjoiMzcyOTkwOTU4OTE3Mzc2NTQ0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40d622428f88126c3173e32a1f0333af2bee2e48b0d11211a108c28698d60cc9 |
| hovercard-subject-tag | issue:5192424440 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3105/issue_layout |
| twitter:image | https://opengraph.githubassets.com/67287f87572415ef9b2c75d29ba1ebb214315045d76e2c3a4da04942845f9d2a/github/github-mcp-server/issues/3105 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/67287f87572415ef9b2c75d29ba1ebb214315045d76e2c3a4da04942845f9d2a/github/github-mcp-server/issues/3105 |
| og:image:alt | Describe the bug Lockdown mode applies trust checks to several pull request content surfaces but not to commit messages returned by pull_request_read with get_commits. Align this content path with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SamMorrowDrums |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width