Repository navigation
fix: the Hypatia gate could never fire — the defects that made it unconditionally vacuous #80
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
Changes from all commits
Commits
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
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.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/proof-burrower
Length of output: 207
🏁 Script executed:
Repository: hyperpolymath/proof-burrower
Length of output: 22167
🤖 get_repo_knowledge executed:
get_repo_knowledge hyperpolymath/proof-burrower /tmp/coderabbit-repo-knowledge/hyperpolymath-proof-burrower-de2b38c6Length of output: 1380
🌐 Web query:
GitHub Actions workflow commands escaping percent carriage return newline command properties colon comma official documentation💡 Result:
GitHub Actions workflow commands utilize specific character-encoding rules to handle reserved characters when sending data via stdout [1][2]. When using standard workflow commands (e.g.,
::set-output,::error,::warning), the runner expects special characters to be encoded using percentage-encoding to prevent them from being interpreted as command delimiters or separators [3]. The following characters must be escaped: * Percent (%): Escape as%25[3] * Carriage Return (\r): Escape as%0D[3] * Newline (\n): Escape as%0A[3] * Colon (:): Escape as%3A(necessary primarily within command property values) [3] * Comma (,): Escape as%2C(necessary primarily within command property values) [3] Property values (such as those in::error title=Example,file=my.txt::Message) are particularly sensitive to colons and commas because the runner parses the property list by splitting on commas [3]. For handling multiline strings, official documentation recommends using environment files ($GITHUB_ENV,$GITHUB_OUTPUT, etc.) rather than escaping characters manually within commands [4][2]. When writing to these files, you should use a unique, randomly generated heredoc delimiter to prevent collisions with the content [5][6]. Example of multiline handling with a random delimiter: EOF=$(uuidgen) { echo "result<<$EOF" cat my-multiline-file.txt echo "$EOF" } >> "${GITHUB_OUTPUT}" [5] This approach avoids the need for manual character escaping and eliminates issues caused by content containing the delimiter [5].Citations:
🏁 Script executed:
Repository: hyperpolymath/proof-burrower
Length of output: 268
Escape scanner fields before emitting workflow commands.
If a finding contains a newline, both annotation filters can emit an injected
::command because.file,.line, and$mare interpolated directly. Encode%, CR, and LF in message data. Encode:,,, CR, and LF in command properties. Validate.lineas a positive number in both annotation blocks.📍 Affects 1 file
.github/workflows/static-analysis-gate.yml#L87-L95(this comment).github/workflows/static-analysis-gate.yml#L213-L221🤖 Prompt for AI Agents