-
Notifications
You must be signed in to change notification settings - Fork 2k
Sanitize upstream titles in release-readiness tracker tables (embedded newlines + unescaped pipes) #36031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Sanitize upstream titles in release-readiness tracker tables (embedded newlines + unescaped pipes) #36031
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
eb765c0
Harden release-readiness ci-scan title rendering against embedded new…
PureWeen 03946d0
Clarify discriminating vs non-discriminating ci-scan newline assertions
PureWeen f07e143
Route all SR title cells through shared Format-MarkdownTableCell sani…
PureWeen 0b7f755
Centralize all SR tracker table cells through Format-MarkdownTableCell
PureWeen 769d79b
Harden table-cell escaping: backslash-first pipe escape + SR <> entit…
PureWeen 4f7d879
Scope backslash-doubling to pipe-adjacent runs (avoid de-escaping non…
PureWeen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 💡 [Suggestion] Defense-in-depth: Engine-controlled cells bypass sanitizer
$titlecorrectly routes throughFormat-MarkdownTableCell, butrecommendedAction(L3488), CI-pipeline cells (L3350), and Reverts table cells (L3380) are interpolated raw.Safe today — All contain only engine-generated constants/issue numbers (L1914–2309), never upstream titles.
Future risk — If someone later embeds an upstream title in these cells, it would silently bypass sanitization and re-open row-split/pipe-injection vectors.
Optional mitigation: Route all table cells through
Format-MarkdownTableCell, or add comments marking them as "engine-controlled, intentionally unsanitized."(Opus finding, validated by Opus cross-poll, not contradicted by peers)