| 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/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:7c1d8d45-90bf-6492-209e-1cf8428b2036 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8702:3756EB:12BDC32:1A7D3B9:6AFCDAA1 |
| html-safe-nonce | 3554a118f9df690374ffaa875dd51a049cbc921a9d4b013cac2f37c095bb53bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzAyOjM3NTZFQjoxMkJEQzMyOjFBN0QzQjk6NkFGQ0RBQTEiLCJ2aXNpdG9yX2lkIjoiNzEwMzM4Mjc2NTUyODk5NjUxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 641210f3f5ce11c1a20f94417080d358695e298953210df78d12c381d1966d01 |
| hovercard-subject-tag | pull_request:5211742989 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/28378/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d0cf8cc4db53a0e92efd36960ce9eb34c1d459d6bdcda8d944447331ec89584e/PowerShell/PowerShell/pull/28378 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0cf8cc4db53a0e92efd36960ce9eb34c1d459d6bdcda8d944447331ec89584e/PowerShell/PowerShell/pull/28378 |
| og:image:alt | PR Summary
This PR adds a redaction code path to negate potential remote prompt injections based on issue
SetRunspacePrompt() injects VM/container name into PowerShell script without escaping — ar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kilasuit |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5b7bc7e41e0a604bbdb5035c7ed9620c2d28b9c8a18747182e2262a75abfd91 |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | ff5022cc3aa767e6115451d9c322dd975506d40e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/28378#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28378 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28378 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/28378 |
| Reload | https://github.com/PowerShell/PowerShell/pull/28378 |
| Reload | https://github.com/PowerShell/PowerShell/pull/28378 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests363 (363) | https://github.com/PowerShell/PowerShell/pulls |
| Discussions | https://github.com/PowerShell/PowerShell/discussions |
| Actions | https://github.com/PowerShell/PowerShell/actions |
| Projects | https://github.com/PowerShell/PowerShell/projects |
| Security and quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| kilasuit:28255-remote-runspace-prompt | https://github.com/kilasuit/PowerShell/tree/28255-remote-runspace-prompt |
| Conversation | https://github.com/PowerShell/PowerShell/pull/28378 |
| Commits9 (9) | https://github.com/PowerShell/PowerShell/pull/28378/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/28378/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/28378/files |
| Redact targetName passed to remote prompt if it potentially includes PowerShellCode | https://github.com/PowerShell/PowerShell/pull/28378#top |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| kilasuit:28255-remote-runspace-prompt | https://github.com/kilasuit/PowerShell/tree/28255-remote-runspace-prompt |
|
| https://github.com/kilasuit |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| Nov 8, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#issue-6271455468 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| SetRunspacePrompt() injects VM/container name into PowerShell script without escaping — arbitrary code executes on every prompt render #28255 | https://github.com/PowerShell/PowerShell/issues/28255 |
| #28255 | https://github.com/PowerShell/PowerShell/issues/28255 |
| https://private-user-images.githubusercontent.com/6355225/698941414-dd01a743-baec-42b2-9ddb-a11cc00da680.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ5NTYyMzcsIm5iZiI6MTc5NDk1NTkzNywicGF0aCI6Ii82MzU1MjI1LzY5ODk0MTQxNC1kZDAxYTc0My1iYWVjLTQyYjItOWRkYi1hMTFjYzAwZGE2ODAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTdUMjI1MjE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWY2MTdlMDMxM2Q0MjNjNGU1NTQ0MGY4NjAxNjQ3ZDI5NTg2M2RjNTc3ZDUwMWMzZDlmZDhlZWVjNmFmN2Q0ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.7Pco7NWJQEIC__8KL_Tu9Skmce3NMoL1v0cxaAI_VoY |
| https://private-user-images.githubusercontent.com/6355225/698962982-c1754c4f-465a-4b78-85fe-783aa12071b1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ5NTYyMzcsIm5iZiI6MTc5NDk1NTkzNywicGF0aCI6Ii82MzU1MjI1LzY5ODk2Mjk4Mi1jMTc1NGM0Zi00NjVhLTRiNzgtODVmZS03ODNhYTEyMDcxYjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTdUMjI1MjE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWE0YmM1YTM5NDFmZjc5MWY2YjZjYmQ4ZDZhMTA4MWQwNDM3MTRmYzRlNTI5ZTY1MGM5NjNmZDE0NDZkMWNmYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.yZ8jQOvV7A2MbWRmQx58Vt2N0My8gTlL40A6giN8zf4 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Draft Pull Request and mark it as Ready to Review when it is ready to merge | https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| https://github.com/apps/azure-pipelines |
| azure-pipelines | https://github.com/apps/azure-pipelines |
| Nov 8, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#issuecomment-6722145105 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| https://github.com/kilasuit |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
|
Nov 8, 2026
| https://github.com/PowerShell/PowerShell/pull/28378#ref-issue-6011721879 |
|
SetRunspacePrompt() injects VM/container name into PowerShell script without escaping — arbitrary code executes on every prompt render
#28255
| https://github.com/PowerShell/PowerShell/issues/28255 |
| https://github.com/kilasuit |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
|
WG-Engine
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Engine |
|
CL-Engine
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Engine |
|
WG-NeedsReview
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-NeedsReview |
| Nov 8, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#event-35499402834 |
| https://github.com/kilasuit |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| November 8, 2026 15:38 | https://github.com/PowerShell/PowerShell/pull/28378#event-35499408957 |
| https://github.com/kilasuit |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| Travis Plunk (TravisEz13) | https://github.com/TravisEz13 |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| code owners | https://github.com/PowerShell/PowerShell/blob/1aac7f5e38679b3c1469b67071a4c07f50cc064b/.github/CODEOWNERS#L55 |
| November 8, 2026 15:38 | https://github.com/PowerShell/PowerShell/pull/28378#event-35499409453 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 8, 2026 15:38 | https://github.com/PowerShell/PowerShell/pull/28378#event-35499410302 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 8, 2026
| https://github.com/PowerShell/PowerShell/pull/28378#pullrequestreview-5818487090 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/PowerShell/PowerShell/pull/28378#pullrequestreview-5818487090 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| https://github.com/jborean93 |
| Jordan Borean (jborean93) | https://github.com/jborean93 |
|
Nov 9, 2026
| https://github.com/PowerShell/PowerShell/pull/28378#pullrequestreview-5824294744 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/28378/files |
| src/System.Management.Automation/engine/remoting/commands/PushRunspaceCommand.cs | https://github.com/PowerShell/PowerShell/pull/28378/files#diff-aafbf461dca673b101b18feeede94fae6195df64c2ca3b225bc0b37d845161e3 |
| Jordan Borean (jborean93) | https://github.com/jborean93 |
| Nov 9, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4511500708 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| Nov 9, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4515044559 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://private-user-images.githubusercontent.com/6355225/699653497-5c92933f-26b0-4f2a-aa01-72fff5f14df2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ5NTYyMzgsIm5iZiI6MTc5NDk1NTkzOCwicGF0aCI6Ii82MzU1MjI1LzY5OTY1MzQ5Ny01YzkyOTMzZi0yNmIwLTRmMmEtYWEwMS03MmZmZjVmMTRkZjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTdUMjI1MjE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDNhMGJmNjA2ODNhOWM1N2U1YjNiZWM1ODE0YWQ1YzYxNjE5M2I5MTI1ZjM4ODdjZmVjMjg2YTIwNzkwZTJmZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.sR1D2CUqG1wBb6hvP4ImGled1-74BKvC0WN4q_g2xwY |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Jordan Borean (jborean93) | https://github.com/jborean93 |
| Nov 9, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4516926749 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://private-user-images.githubusercontent.com/8462645/700021863-576e602f-4ae6-4a84-85d7-87237d0066b2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ5NTYyMzgsIm5iZiI6MTc5NDk1NTkzOCwicGF0aCI6Ii84NDYyNjQ1LzcwMDAyMTg2My01NzZlNjAyZi00YWU2LTRhODQtODVkNy04NzIzN2QwMDY2YjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTdUMjI1MjE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzdlMGQwNjc0NWMyYzVmZWFkMTI0NzcyMGY0NjgzOWNlYjdkNWJmNDBiMTI5NGE2YzBiNTc5NTkxNThkZjkxYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.qdkK0ShbhePiSahtsDmytfVOuBTj-mF5hf2B8_qfx2w |
| https://private-user-images.githubusercontent.com/8462645/700024997-01d7f2b9-db40-4996-b0e9-30551b63a9d6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ5NTYyMzgsIm5iZiI6MTc5NDk1NTkzOCwicGF0aCI6Ii84NDYyNjQ1LzcwMDAyNDk5Ny0wMWQ3ZjJiOS1kYjQwLTQ5OTYtYjBlOS0zMDU1MWI2M2E5ZDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTdUMjI1MjE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTk5MTMwYTcxNjk2Yzc5ZjhjNDIzODJkZmNlMGZiYzNmY2JjZDIzZTFmN2FiNzJiN2U1MzZlYTdjNjQzZjMxNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.OgIIssskDGRPaxYEfUmCrwtdS6Lt-nxppKqA2upCHJs |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| Nov 10, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4520637900 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Jordan Borean (jborean93) | https://github.com/jborean93 |
| Nov 10, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4520731490 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| Nov 10, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4529706412 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
| https://github.com/kilasuit |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| November 10, 2026 19:00 | https://github.com/PowerShell/PowerShell/pull/28378#event-35718465376 |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| November 11, 2026 20:07 | https://github.com/PowerShell/PowerShell/pull/28378#commits-pushed-f62ef76 |
|
| https://github.com/kilasuit |
| add internal RedactIfPowerShellCode method | https://github.com/PowerShell/PowerShell/pull/28378/commits/f62ef7689e2a1f9c7a7b09246d6272b96f7b95e1 |
| f62ef76 | https://github.com/PowerShell/PowerShell/pull/28378/commits/f62ef7689e2a1f9c7a7b09246d6272b96f7b95e1 |
|
| https://github.com/kilasuit |
| add SMA.Language to using statement | https://github.com/PowerShell/PowerShell/pull/28378/commits/431b029c5dbaee098b59e95e7f600d8e43ce7351 |
| 431b029 | https://github.com/PowerShell/PowerShell/pull/28378/commits/431b029c5dbaee098b59e95e7f600d8e43ce7351 |
|
| https://github.com/kilasuit |
| Call RedactIfPowerShellCode method and use output from it in the prompt | https://github.com/PowerShell/PowerShell/pull/28378/commits/623dca0fc87e801b463e6e7ac53d4bc03213d8c4 |
| 623dca0 | https://github.com/PowerShell/PowerShell/pull/28378/commits/623dca0fc87e801b463e6e7ac53d4bc03213d8c4 |
|
| https://github.com/kilasuit |
| remove additional whitespace in L67->L69 | https://github.com/PowerShell/PowerShell/pull/28378/commits/d12d5e3096c72a788486e4b2ba99a02a6d600ab2 |
| d12d5e3 | https://github.com/PowerShell/PowerShell/pull/28378/commits/d12d5e3096c72a788486e4b2ba99a02a6d600ab2 |
|
| https://github.com/kilasuit |
| Simplify Logic in RedactIfPowerShellCode internal method | https://github.com/PowerShell/PowerShell/pull/28378/commits/5a5a20d7c19f88d8b237e6f2347af6a2e656134c |
| 5a5a20d | https://github.com/PowerShell/PowerShell/pull/28378/commits/5a5a20d7c19f88d8b237e6f2347af6a2e656134c |
|
| https://github.com/kilasuit |
| Escape the targetName post redaction step & single quote the prompt | https://github.com/PowerShell/PowerShell/pull/28378/commits/79c1e5124a20e9a553cd5b1e1ca78c2cd2b61682 |
| 79c1e51 | https://github.com/PowerShell/PowerShell/pull/28378/commits/79c1e5124a20e9a553cd5b1e1ca78c2cd2b61682 |
|
| https://github.com/kilasuit |
| Add Comment | https://github.com/PowerShell/PowerShell/pull/28378/commits/f9aae6efa6e1a99a8cafac0434c756ed90cd2b26 |
| f9aae6e | https://github.com/PowerShell/PowerShell/pull/28378/commits/f9aae6efa6e1a99a8cafac0434c756ed90cd2b26 |
|
| https://github.com/kilasuit |
| Update comment and add warning message and resource string | https://github.com/PowerShell/PowerShell/pull/28378/commits/9f40dbbaa6a82acbf6f850f6150ad75eee86f2e4 |
| 9f40dbb | https://github.com/PowerShell/PowerShell/pull/28378/commits/9f40dbbaa6a82acbf6f850f6150ad75eee86f2e4 |
|
| https://github.com/kilasuit |
| Spelling is hard | https://github.com/PowerShell/PowerShell/pull/28378/commits/b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5 |
| b37a9f2 | https://github.com/PowerShell/PowerShell/pull/28378/commits/b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5 |
| https://github.com/kilasuit |
| Ryan Yates (kilasuit) | https://github.com/kilasuit |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/afa9957490a7eb5dfe9097aa89382186fd9ac68e..b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5 |
| afa9957 | https://github.com/PowerShell/PowerShell/commit/afa9957490a7eb5dfe9097aa89382186fd9ac68e |
| b37a9f2 | https://github.com/PowerShell/PowerShell/commit/b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5 |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/afa9957490a7eb5dfe9097aa89382186fd9ac68e..b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5 |
| November 11, 2026 20:24 | https://github.com/PowerShell/PowerShell/pull/28378#event-35840658520 |
| https://github.com/apps/microsoft-github-policy-service |
| microsoft-github-policy-service | https://github.com/apps/microsoft-github-policy-service |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Nov 15, 2026 | https://github.com/PowerShell/PowerShell/pull/28378#event-36160462304 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28378 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Learn more about Copilot code review. | https://gh.io/copilot-code-review-docs |
|
| https://github.com/PowerShell/PowerShell/pull/28378/files/afa9957490a7eb5dfe9097aa89382186fd9ac68e |
|
| https://github.com/daxian-dbw |
|
Dongbo Wang (daxian-dbw)
| https://github.com/daxian-dbw |
|
| https://github.com/TravisEz13 |
|
Travis Plunk (TravisEz13)
| https://github.com/TravisEz13 |
|
| https://github.com/jborean93 |
|
Jordan Borean (jborean93)
| https://github.com/jborean93 |
|
| https://github.com/PowerShell/PowerShell/pull/28378/files/afa9957490a7eb5dfe9097aa89382186fd9ac68e |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
|
CL-Engine
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Engine |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
|
WG-Engine
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Engine |
|
WG-NeedsReview
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-NeedsReview |
|
SetRunspacePrompt() injects VM/container name into PowerShell script without escaping — arbitrary code executes on every prompt render
| https://github.com/PowerShell/PowerShell/issues/28255 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28378 |
|
| https://github.com/kilasuit |
|
| https://github.com/jborean93 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |