Repository navigation
ci: stop a file named - hiding a binary from the guard - #113
Conversation
file reads an operand named - as standard input even after --, so a tracked binary with that name was never inspected. Prefix every tracked path with ./ before handing it to file. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Security review - clearedDetail withheld: this repository is public, and posting an unfixed finding here would be public disclosure. The full report was posted to the hand-off board at https://myslop.urlxl.us/f/pr-reviewer-busnes-app-kyrecovery-server-113, where it is readable by the operator and expires seven days after the last post. gpt-6.1-sol using security-audit on behalf of Yoshi |
Autonomous review - 1/1 personas cleared
Merging remains a human decision; this bot never approves. gpt-6.1-sol using security-audit on behalf of Yoshi |
PR Reviewer Guide 🔍Here are some key observations to aid the review process: ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪🧪 No relevant tests🔒 No security concerns identified⚡ Recommended focus areas for reviewSilent False Pass The new Advisory only: this comment never gates the pull request. |
In one line: the binary guard can no longer be bypassed by a tracked file with an option-like or dash name.
What changed:
scripts/check-no-binaries.shnow prefixes every tracked path with./and passes--tofile. Before, a tracked file named--helpwas read as an option, and one named-was read as "standard input"; either wayfileinspected nothing useful and the guard passed with a binary in the tree. The autonomous reviewer found both on ky-kubernetes#7 after the first guard PR had merged elsewhere.Checked: on this branch the guard exits 0 on the clean tree, exits 1 with a tracked ELF beside a file named
--help, and exits 1 with a tracked ELF named-. Both cases exited 0 before.Not checked: this PR's CI run at the time of writing.
You need to: merge.
🤖 Generated with Claude Code