AID-I-001.002
Very High
MicroVM & Low-Level Sandboxing
Run the assistant where the files it must not change do not exist. On Linux, run a command-line assistant inside a bubblewrap or Landlock sandbox that gives it the project and a throwaway home directory; on macOS, or for an IDE or its plug-in, open untrusted repositories in a virtual machine, dev container or remote host that mounts the project without the real home directory. A link to
~/.ssh/authorized_keys then cannot reach the real file, whatever the prompt showed and whether or not the vendor has fixed the tool. The sandbox must contain the process that edits files, not only its shell commands, and hold no real keys or credentials.