René's URL Explorer Experiment


Title: Redact targetName passed to remote prompt if it potentially includes PowerShellCode by kilasuit · Pull Request #28378 · PowerShell/PowerShell · GitHub

Open Graph Title: Redact targetName passed to remote prompt if it potentially includes PowerShellCode by kilasuit · Pull Request #28378 · PowerShell/PowerShell

X Title: Redact targetName passed to remote prompt if it potentially includes PowerShellCode by kilasuit · Pull Request #28378 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/28378

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7c1d8d45-90bf-6492-209e-1cf8428b2036
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8702:3756EB:12BDC32:1A7D3B9:6AFCDAA1
html-safe-nonce3554a118f9df690374ffaa875dd51a049cbc921a9d4b013cac2f37c095bb53bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzAyOjM3NTZFQjoxMkJEQzMyOjFBN0QzQjk6NkFGQ0RBQTEiLCJ2aXNpdG9yX2lkIjoiNzEwMzM4Mjc2NTUyODk5NjUxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac641210f3f5ce11c1a20f94417080d358695e298953210df78d12c381d1966d01
hovercard-subject-tagpull_request:5211742989
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/28378/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d0cf8cc4db53a0e92efd36960ce9eb34c1d459d6bdcda8d944447331ec89584e/PowerShell/PowerShell/pull/28378
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d0cf8cc4db53a0e92efd36960ce9eb34c1d459d6bdcda8d944447331ec89584e/PowerShell/PowerShell/pull/28378
og:image:altPR 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekilasuit
hostnamegithub.com
expected-hostnamegithub.com
Noneb5b7bc7e41e0a604bbdb5035c7ed9620c2d28b9c8a18747182e2262a75abfd91
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseff5022cc3aa767e6115451d9c322dd975506d40e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/28378#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28378
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28378
Sign uphttps://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
Reloadhttps://github.com/PowerShell/PowerShell/pull/28378
Reloadhttps://github.com/PowerShell/PowerShell/pull/28378
Reloadhttps://github.com/PowerShell/PowerShell/pull/28378
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests363 (363)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Ryan Yates (kilasuit)https://github.com/kilasuit
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
kilasuit:28255-remote-runspace-prompthttps://github.com/kilasuit/PowerShell/tree/28255-remote-runspace-prompt
Conversationhttps://github.com/PowerShell/PowerShell/pull/28378
Commits9 (9)https://github.com/PowerShell/PowerShell/pull/28378/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/28378/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/28378/files
Redact targetName passed to remote prompt if it potentially includes PowerShellCodehttps://github.com/PowerShell/PowerShell/pull/28378#top
Ryan Yates (kilasuit)https://github.com/kilasuit
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
kilasuit:28255-remote-runspace-prompthttps://github.com/kilasuit/PowerShell/tree/28255-remote-runspace-prompt
https://github.com/kilasuit
Ryan Yates (kilasuit)https://github.com/kilasuit
Nov 8, 2026https://github.com/PowerShell/PowerShell/pull/28378#issue-6271455468
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
SetRunspacePrompt() injects VM/container name into PowerShell script without escaping — arbitrary code executes on every prompt render #28255https://github.com/PowerShell/PowerShell/issues/28255
#28255https://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 titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://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 headerhttps://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 mergehttps://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://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 changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
https://github.com/apps/azure-pipelines
azure-pipelineshttps://github.com/apps/azure-pipelines
Nov 8, 2026https://github.com/PowerShell/PowerShell/pull/28378#issuecomment-6722145105
Please reload this pagehttps://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, 2026https://github.com/PowerShell/PowerShell/pull/28378#event-35499402834
https://github.com/kilasuit
Ryan Yates (kilasuit)https://github.com/kilasuit
November 8, 2026 15:38https://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 ownershttps://github.com/PowerShell/PowerShell/blob/1aac7f5e38679b3c1469b67071a4c07f50cc064b/.github/CODEOWNERS#L55
November 8, 2026 15:38https://github.com/PowerShell/PowerShell/pull/28378#event-35499409453
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 8, 2026 15:38https://github.com/PowerShell/PowerShell/pull/28378#event-35499410302
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 8, 2026 https://github.com/PowerShell/PowerShell/pull/28378#pullrequestreview-5818487090
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28378#pullrequestreview-5818487090
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://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.cshttps://github.com/PowerShell/PowerShell/pull/28378/files#diff-aafbf461dca673b101b18feeede94fae6195df64c2ca3b225bc0b37d845161e3
Jordan Borean (jborean93)https://github.com/jborean93
Nov 9, 2026https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4511500708
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
Ryan Yates (kilasuit)https://github.com/kilasuit
Nov 9, 2026https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4515044559
Learn morehttps://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 pagehttps://github.com/PowerShell/PowerShell/pull/28378
Jordan Borean (jborean93)https://github.com/jborean93
Nov 9, 2026https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4516926749
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
Learn morehttps://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 pagehttps://github.com/PowerShell/PowerShell/pull/28378
Ryan Yates (kilasuit)https://github.com/kilasuit
Nov 10, 2026https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4520637900
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
Jordan Borean (jborean93)https://github.com/jborean93
Nov 10, 2026https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4520731490
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
Ryan Yates (kilasuit)https://github.com/kilasuit
Nov 10, 2026https://github.com/PowerShell/PowerShell/pull/28378#discussion_r4529706412
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28378
https://github.com/kilasuit
Ryan Yates (kilasuit)https://github.com/kilasuit
November 10, 2026 19:00https://github.com/PowerShell/PowerShell/pull/28378#event-35718465376
Ryan Yates (kilasuit)https://github.com/kilasuit
November 11, 2026 20:07https://github.com/PowerShell/PowerShell/pull/28378#commits-pushed-f62ef76
https://github.com/kilasuit
add internal RedactIfPowerShellCode methodhttps://github.com/PowerShell/PowerShell/pull/28378/commits/f62ef7689e2a1f9c7a7b09246d6272b96f7b95e1
f62ef76https://github.com/PowerShell/PowerShell/pull/28378/commits/f62ef7689e2a1f9c7a7b09246d6272b96f7b95e1
https://github.com/kilasuit
add SMA.Language to using statementhttps://github.com/PowerShell/PowerShell/pull/28378/commits/431b029c5dbaee098b59e95e7f600d8e43ce7351
431b029https://github.com/PowerShell/PowerShell/pull/28378/commits/431b029c5dbaee098b59e95e7f600d8e43ce7351
https://github.com/kilasuit
Call RedactIfPowerShellCode method and use output from it in the prompthttps://github.com/PowerShell/PowerShell/pull/28378/commits/623dca0fc87e801b463e6e7ac53d4bc03213d8c4
623dca0https://github.com/PowerShell/PowerShell/pull/28378/commits/623dca0fc87e801b463e6e7ac53d4bc03213d8c4
https://github.com/kilasuit
remove additional whitespace in L67->L69https://github.com/PowerShell/PowerShell/pull/28378/commits/d12d5e3096c72a788486e4b2ba99a02a6d600ab2
d12d5e3https://github.com/PowerShell/PowerShell/pull/28378/commits/d12d5e3096c72a788486e4b2ba99a02a6d600ab2
https://github.com/kilasuit
Simplify Logic in RedactIfPowerShellCode internal methodhttps://github.com/PowerShell/PowerShell/pull/28378/commits/5a5a20d7c19f88d8b237e6f2347af6a2e656134c
5a5a20dhttps://github.com/PowerShell/PowerShell/pull/28378/commits/5a5a20d7c19f88d8b237e6f2347af6a2e656134c
https://github.com/kilasuit
Escape the targetName post redaction step & single quote the prompthttps://github.com/PowerShell/PowerShell/pull/28378/commits/79c1e5124a20e9a553cd5b1e1ca78c2cd2b61682
79c1e51https://github.com/PowerShell/PowerShell/pull/28378/commits/79c1e5124a20e9a553cd5b1e1ca78c2cd2b61682
https://github.com/kilasuit
Add Commenthttps://github.com/PowerShell/PowerShell/pull/28378/commits/f9aae6efa6e1a99a8cafac0434c756ed90cd2b26
f9aae6ehttps://github.com/PowerShell/PowerShell/pull/28378/commits/f9aae6efa6e1a99a8cafac0434c756ed90cd2b26
https://github.com/kilasuit
Update comment and add warning message and resource stringhttps://github.com/PowerShell/PowerShell/pull/28378/commits/9f40dbbaa6a82acbf6f850f6150ad75eee86f2e4
9f40dbbhttps://github.com/PowerShell/PowerShell/pull/28378/commits/9f40dbbaa6a82acbf6f850f6150ad75eee86f2e4
https://github.com/kilasuit
Spelling is hardhttps://github.com/PowerShell/PowerShell/pull/28378/commits/b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5
b37a9f2https://github.com/PowerShell/PowerShell/pull/28378/commits/b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5
https://github.com/kilasuit
Ryan Yates (kilasuit)https://github.com/kilasuit
force-pushedhttps://github.com/PowerShell/PowerShell/compare/afa9957490a7eb5dfe9097aa89382186fd9ac68e..b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5
afa9957https://github.com/PowerShell/PowerShell/commit/afa9957490a7eb5dfe9097aa89382186fd9ac68e
b37a9f2https://github.com/PowerShell/PowerShell/commit/b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5
Compare https://github.com/PowerShell/PowerShell/compare/afa9957490a7eb5dfe9097aa89382186fd9ac68e..b37a9f25c07b0c8edad7cfca159fbc0762cc8aa5
November 11, 2026 20:24https://github.com/PowerShell/PowerShell/pull/28378#event-35840658520
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://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, 2026https://github.com/PowerShell/PowerShell/pull/28378#event-36160462304
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.