Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: skip runtime exec deny for shared executable targets#70

Open
dwt wants to merge 1 commit intoUse-Tusk:mainfrom
dwt:fix-bundled-binaries-overblock
Open

fix: skip runtime exec deny for shared executable targets#70
dwt wants to merge 1 commit intoUse-Tusk:mainfrom
dwt:fix-bundled-binaries-overblock

Conversation

Copy link
Contributor

dwt commented Mar 11, 2026

Detect shared executable targets by file identity and skip runtime path masking when a deny would block multiple command names, with debug diagnostics on Linux and macOS.

Not sure this is the right way to go about this, but at least that does fix my problem.

To describe again:

Multi call binaries (like busybox, modern coreutils, python, ...) have many symlinks that point to the same binary and perhaps work differently depending on how they are called.

So for coreutils, dd is a symlink to it, but so does ls, cat, ... So blocking coreutils because dd resolves to it is not a good idea.

Closes: #67

dwt requested a review from jy-tan as a code owner March 11, 2026 18:40
cubic-dev-ai bot reviewed Mar 11, 2026
Copy link

cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

Detect shared executable targets by file identity and skip runtime path masking when a deny would block multiple command names, with debug diagnostics on Linux and macOS.

Generated with Crush

Assisted-by: GPT-5.3 Codex via Crush
dwt force-pushed the fix-bundled-binaries-overblock branch from e8c5d3e to 136d530 Compare March 14, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

cubic-dev-ai[bot] cubic-dev-ai[bot] left review comments

jy-tan Awaiting requested review from jy-tan jy-tan is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Runtime Executable Deny Cannot Be Securely Implemented on Multi-Call Binary Systemen

1 participant