github / github/copilot-cli

Use unshare by default in linux to protect access

Ouverte
#1,163 1 commentaire 3 réactions 0 personnes assignées Voir sur GitHub
area:platform-linux
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

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:

```sh
bwrap --ro-bind / / \
--bind "$PWD" "$PWD" \
--bind /tmp /tmp \
--bind "$HOME/.copilot" "$HOME/.copilot" \
--dev /dev \
--proc /proc \
--unshare-all \
copilot
```

This is something that the tool should do by default

### Example prompts or workflows

_No response_

### Additional context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.