Skip to content

Commit 0b1c425

Browse files
authored
Revise security notes and GitHub Codespaces section
1 parent 2dd6bbb commit 0b1c425

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,15 @@ below.
1111

1212
> [!IMPORTANT]
1313
> Dev Containers can improve your workflow, but they are **not a fully secure environment**.
14-
> If you need to run untrusted or suspicious code, use [GitHub Codespaces](https://github.com/codespaces/new?hide_repo_select=true&ref=main&template_repository=theredguild/devcontainer), GitPod, or a similar remote setup — **never run it directly on your machine**.
14+
> If you need to run untrusted or suspicious code, use GitHub Codespaces, GitPod, or a similar remote setup — **never run it directly on your machine**.
1515
1616

1717
> [!CAUTION]
1818
> **VS Code considerations:**
1919
>
20-
> VS Code does a lot to improve user experience, but that comes with security tradeoffs. For example, by default, VS Code allows API calls to open new terminals, even bypassing the host machine:
21-
> ```bash
22-
> code --command workbench.action.terminal.newLocal
23-
> ```
24-
> We're working on an article covering all the tricks VS Code uses — stay tuned.
20+
> VS Code does a lot to improve user experience, but that doesn't come without security tradeoffs. VS Code might allow API calls that can lead to running arbitrary commands on the host machine, and by default, it shares sockets such as the gpg-agent’s, which means keys stored outside the container can be used for signing. This opens the door to blind-signing commits scenarios, where a process inside the container may trigger signatures without the user’s full awareness. If you want to deep dive into these "tricks", we're working on an article covering the most relevant of them — stay tuned.
2521
26-
## Quickstart with Github Codespaces
22+
## Quickstart with GitHub Codespaces
2723

2824
You can also run our prebuilt container intended for GitHub Codespaces:
2925

0 commit comments

Comments
 (0)