Skip to content

Sandbox follow-ups: home grant symlinks, protected paths, unsandboxed without permissions - #28

Merged
jonatanaxe merged 2 commits into
mainfrom
fix/sandbox-followups
Oct 22, 2026
Merged

jonatanaxe merged 2 commits into
mainfrom
fix/sandbox-followups

Conversation

@jonatanaxe

Copy link
Copy Markdown
Member

Follow-ups from the defensive review of #22.

Each fix has a test that fails without it. #24 (the Linux git restore) stays open: it needs the git paths made read-only during the command rather than undone afterwards.

…boxed bash without a permission config

A toolchain grant in the home directory is now its real path, and one that reaches credentials (~/.local/lib linked to ~/.config) is dropped instead of handing them to the sandbox (#25). With no permission config, plain bash is refused as a write-tier tool, and asking to run it outside the sandbox is refused the same way instead of prompting (#27).
…project paths

Adds composer, pip, gem, containers, s3cmd, terraform CLI, hub and glab tokens, browser profiles and kwallet. The plain token-file pairs (git/credentials, share/keyrings, etc/npmrc, uv/credentials, …) now count only in the home directory, so project paths such as internal/git/credentials/ stay readable. ouija's own config is also matched by its real path when the config dir is a symlink (#26).
@jonatanaxe
jonatanaxe merged commit a087e6f into main Oct 22, 2026
8 checks passed
@jonatanaxe
jonatanaxe deleted the fix/sandbox-followups branch October 22, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant