Skip to content

ci: stop option-like filenames hiding a binary from the guard - #112

Merged
Yoshiofthewire merged 1 commit into
mainfrom
ci/no-binaries
Nov 14, 2026
Merged

Yoshiofthewire merged 1 commit into
mainfrom
ci/no-binaries

Conversation

@Yoshiofthewire

Copy link
Copy Markdown
Member

In one line: the binary guard can no longer be bypassed by a tracked file named like an option.

What changed: scripts/check-no-binaries.sh now passes -- to file before the filenames. Before, a tracked file named --help was read as an option, file inspected nothing, and the guard passed even with a binary beside it. The autonomous reviewer found this on ky-kubernetes#7 after the first guard PR here had merged.

Checked: on this branch the guard exits 0 on the clean tree and exits 1 with a tracked ELF plus a tracked file named --help (it exited 0 before the fix).
Not checked: this PR's CI run at the time of opening.

You need to: merge.

🤖 Generated with Claude Code

A tracked file named like an option (for example --help) was passed to
file as an option, so file inspected nothing and the guard passed.
End option parsing with -- before the filenames.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Yoshiofthewire

Copy link
Copy Markdown
Member Author

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

⚡ No major issues detected


Advisory only: this comment never gates the pull request.
claude-sonnet-5-5 using pr-agent on behalf of Yoshi

@Yoshiofthewire

Copy link
Copy Markdown
Member Author

Security review - cleared

Detail 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-112, 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

@Yoshiofthewire

Copy link
Copy Markdown
Member Author

Autonomous review - 1/1 personas cleared

  • security: cleared

Merging remains a human decision; this bot never approves.


gpt-6.1-sol using security-audit on behalf of Yoshi

@Yoshiofthewire
Yoshiofthewire merged commit 1917089 into main Nov 14, 2026
12 checks passed
@Yoshiofthewire
Yoshiofthewire deleted the ci/no-binaries branch November 14, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant