Merged
Conversation
…binary missing detect now checks for agentsh-unixwrap on PATH and marks seccomp-notify, landlock, and seccomp-execve backends as unavailable when it's not found. This makes the protection score reflect actual enforcement state rather than just kernel capabilities. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Cross-compile agentsh-unixwrap and the server binary for arm64 with CGO_ENABLED=1 using aarch64-linux-gnu-gcc. Both architectures now ship with full seccomp/Landlock/signal enforcement.
Enables multi-arch apt and installs the arm64 libseccomp headers so GoReleaser can cross-compile agentsh-unixwrap and the server binary for arm64 with CGO enabled. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
agentsh-unixwrapand the server binary are cross-compiled for arm64 withCGO_ENABLED=1using the existing release runner.agentsh detectnow reports accurate scores when the wrapper binary is missing — seccomp-notify, landlock, landlock-network, and seccomp-execve backends are marked unavailable, and a clearseccomp-wrapper: missingtip guides remediation.Changes
01087619detectmarks wrapper-dependent backends unavailable whenagentsh-unixwrapis not on PATH; clears secCaps flags for consistentSelectMode()and flat capability map; suppresses misleading generic tips6e6890d6unixwrap-linux-arm64GoReleaser target; flipsagentsh-linux-arm64server toCGO_ENABLED=1with cross-compiler3478491adpkg --add-architecture arm64+libseccomp-dev:arm64to release CITest plan
go test ./...passes (all existing + 4 new detect tests)GOOS=windows go build ./...passes (no regression)aarch64-linux-gnu-gcc+libseccomp-dev:arm64)agentsh detecton arm64 shows seccomp/landlock backends as available (post-fix)🤖 Generated with Claude Code