Skip to content

fix(sandbox): recognize Bash line-number exec denials - #76

Merged
tonibergholm merged 1 commit into
git-agentic:mainfrom
janne-codento:fix-bash-exec-denials
Sep 15, 2026
Merged

tonibergholm merged 1 commit into
git-agentic:mainfrom
janne-codento:fix-bash-exec-denials

Conversation

@janne-codento

Copy link
Copy Markdown
Contributor

Bash prints line 1: in denied exec diagnostics. Accept that prefix alongside dash's numeric prefix so blocked processes produce confirmed violations on Linux hosts where /bin/sh is Bash.

Closes #75.

Validation: existing Bubblewrap enforcement test reproduced the failure. Added a pure classifier regression with an allowed-process negative control. Build and full Linux suite passed: 1,036 passed, 3 platform/CI skips (tested together with the dependency updates for #74).

@janne-codento

Copy link
Copy Markdown
Contributor Author

@tonibergholm Please approve the fork CI workflows and merge once checks are green. This fixes Bash denial diagnostics; the full Linux suite passes with companion dependency fix #77 (1036 passed, 3 expected skips). My account cannot approve workflows or merge upstream; GitHub returned 403 when I tried workflow approval.

@tonibergholm
tonibergholm merged commit 4274632 into git-agentic:main Sep 15, 2026
5 of 6 checks passed
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.

Recognize Bash line-number diagnostics for denied sandbox processes

2 participants