-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use unshare by default in linux to protect access #1163
Copy link
Copy link
Open
Labels
area:platform-linuxLinux-specific: Wayland, X11, Ubuntu, Fedora, Alpine, ARM, terminal emulatorsLinux-specific: Wayland, X11, Ubuntu, Fedora, Alpine, ARM, terminal emulators
Description
Describe the feature or problem you'd like to solve
The tool should never have any kind of write access to places the users have not ack'ed for
Proposed solution
I'm currently running copilot using bubblewrap to ensure it only works where I want via:
bwrap --ro-bind / / \
--bind "$PWD" "$PWD" \
--bind /tmp /tmp \
--bind "$HOME/.copilot" "$HOME/.copilot" \
--dev /dev \
--proc /proc \
--unshare-all \
copilotThis is something that the tool should do by default
Example prompts or workflows
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:platform-linuxLinux-specific: Wayland, X11, Ubuntu, Fedora, Alpine, ARM, terminal emulatorsLinux-specific: Wayland, X11, Ubuntu, Fedora, Alpine, ARM, terminal emulators
Type
Fields
Give feedbackNo fields configured for Feature.