[Sync] Update project files from source repository (e42f680) - #155
Merged
mrz1836 merged 1 commit intoAug 15, 2026
Merged
Conversation
|
There was a problem hiding this comment.
Pull request overview
Sync update from upstream repository to harden the GitHub Actions test-validation summary output against HTML injection, plus routine CI tool/version bumps.
Changes:
- Added
esc_html()to thevalidate-test-resultscomposite action and applied it to artifact-derived fields rendered inside raw HTML in the step summary. - Updated pinned versions for govulncheck (and related Mage-X env pins), govulncheck’s Go toolchain version, and benchstat.
- Bumped the GoFortress workflow header version metadata.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/actions/validate-test-results/action.yml | Introduces esc_html() and applies it to untrusted values rendered into raw HTML in the step summary. |
| .github/env/10-security.env | Updates the pinned govulncheck version used by security tooling. |
| .github/env/10-mage-x.env | Aligns Mage-X tool version pins (govulncheck/benchstat). |
| .github/env/00-core.env | Updates the Go toolchain version used specifically for govulncheck scanning. |
| .github/workflows/fortress.yml | Updates GoFortress workflow header version metadata. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| fi | ||
|
|
||
| TEST_LABEL=$(strip_bt "$(parse_test_label "$ARTIFACT_DIR" "$JSONL_NAME")") | ||
| TEST_LABEL=$(esc_html "$(parse_test_label "$ARTIFACT_DIR" "$JSONL_NAME")") |
Member
Author
|
LGTM! |
github-actions
Bot
deleted the
chore/sync-files-go-template-20260815-024254-e42f680
branch
August 15, 2026 03:02
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



What Changed
esc_html()function in.github/actions/validate-test-results/action.ymlthat escapes HTML metacharacters (&,<,>) in addition to stripping backticks and control charactersTEST_LABEL,TEST,PKG, andFAIL_TYPEvariables to useesc_html()instead ofstrip_bt()to prevent HTML injection when these values are written into raw HTML tags in the GitHub step summarystrip_bt()forERROR_MSG,OUTPUT, andSTACKvariables that are embedded in markdown code spans/fences where HTML is not interpreted.github/env/10-security.env,.github/env/00-core.env, and.github/env/10-mage-x.env(specific version changes truncated in diff).github/workflows/fortress.yml(specific change truncated in diff)Why It Was Necessary
strip_bt()function only prevented markdown code span/fence breakout but did not protect against HTML injection in raw HTML contextsTesting Performed
esc_html()properly escapes&,<, and>characters in addition to applying existingstrip_bt()sanitization<summary>,<code>tags) now use HTML escapingImpact / Risk