Title: [Security] Harden CLI dev command against injection on Windows by RinZ27 · Pull Request #1904 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: [Security] Harden CLI dev command against injection on Windows by RinZ27 · Pull Request #1904 · modelcontextprotocol/python-sdk
X Title: [Security] Harden CLI dev command against injection on Windows by RinZ27 · Pull Request #1904 · modelcontextprotocol/python-sdk
Description: I was looking through the CLI code and spotted a potential security risk when using the mcp dev command on Windows. Because shell=True is required for npx, passing raw arguments can lead to command...
Open Graph Description: I was looking through the CLI code and spotted a potential security risk when using the mcp dev command on Windows. Because shell=True is required for npx, passing raw arguments can lead to command...
X Description: I was looking through the CLI code and spotted a potential security risk when using the mcp dev command on Windows. Because shell=True is required for npx, passing raw arguments can lead to command...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/1904
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:4026282d-b365-19f9-9027-cca3beb7ee27 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ABDE:1C20BB:BDFA18:10779B3:696DFB91 |
| html-safe-nonce | 0bb6a73439aae3d014f054039d391f37bd4c09a8f1d2c0eaf68e69eef109b7f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkRFOjFDMjBCQjpCREZBMTg6MTA3NzlCMzo2OTZERkI5MSIsInZpc2l0b3JfaWQiOiI5MDU5MjEzMzAzMzI5MTkyODUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ce1572c14f1678891e1d0395a9aeeb9ae5bbe9e4aedc58fad1210331040cba62 |
| hovercard-subject-tag | pull_request:3184015299 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/modelcontextprotocol/python-sdk/1904/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3de9633a17aba112b81f81a8de6594df68f2928b33ee04225438340446c91344/modelcontextprotocol/python-sdk/pull/1904 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3de9633a17aba112b81f81a8de6594df68f2928b33ee04225438340446c91344/modelcontextprotocol/python-sdk/pull/1904 |
| og:image:alt | I was looking through the CLI code and spotted a potential security risk when using the mcp dev command on Windows. Because shell=True is required for npx, passing raw arguments can lead to command... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RinZ27 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width