Repository navigation
fix(action): mask every line of multi-line secrets and randomize the env delimiter - #336
Merged
Merged
Conversation
…env delimiter Signed-off-by: BryanFRD <bryanferrando59@gmail.com>
…openssl Signed-off-by: BryanFRD <bryanferrando59@gmail.com>
ferrflow Bot
added a commit
that referenced
this pull request
Oct 28, 2026
## [6.1.4] - 2026-10-28 ### Bug Fixes - fix(action): mask every line of multi-line secrets and randomize the env delimiter (#336)
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.
Closes #316
::add-mask::before anything else touches it; the value is never echoed.GITHUB_ENVwith a per-value random delimiter (ghadelim_$(openssl rand -hex 16)) and fail if the value contains it.jq -jinto a temp file instead of$(...)so trailing newlines are preserved.The repo has no action tests and no shell test pattern, so none added. Checked by running the extracted step against a stub
ferrvault: multi-line PEM with blank and trailing lines round-trips exactly through the GITHUB_ENV parser, a value containingFERRVAULT_EOFno longer injects variables, and a forced delimiter collision exits 1 with nothing written. shellcheck is not installed locally.