Repository navigation
feat(builtins): sudo and busybox run their command - #2567
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | e8eb807 | Commit Preview URL Branch Preview URL |
Oct 07 2026, 04:03 PM |
chaliy
force-pushed
the
claude/sudo-busybox
branch
2 times, most recently
from
October 7, 2026 15:40
110fa63 to
d70a2fa
Compare
chaliy
force-pushed
the
claude/sudo-busybox
branch
from
October 7, 2026 16:01
d70a2fa to
e8eb807
Compare
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.
Requested by Михайло · project thread
What changed
sudoruns its command. It skips its own options. LeadingVAR=VALUEoperands go throughenv, and-s/-i cmdgo throughbash -c.-v/-ksucceed and-llists(ALL) NOPASSWD: ALL. There is one sandbox user, so nothing about identity changes (new L-SUDO-001, TM-ESC-009 updated).busybox APPLET argsruns the builtin of that name.busybox /bin/lsworks too, and--list/--list-fulllist the builtins.nohup,niceandflockno longer steal the inner command's--help, sonohup tar --helpnow shows tar's help.Why
sudo(7 calls) andbusybox(10 calls) are among the top missing commands in the gap replay. A typical case issudo tee /etc/env.conf <<EOF. The old "privilege" hint already said all commands run unrestricted, but the call still failed with 127 and cost the agent a turn.Before
After
New spec:
sudo-busybox.test.sh. Its cases are markedbash_diff, because the reference host's sudo can prompt and busybox may be absent.Risk
Low. No new capability: the command runs exactly as it would without
sudo.suanddoaskeep the hint.Checklist
https://claude.ai/code/session_019aFikmptPc91Fj4N2iDXQA
Generated by Claude Code