pushin.eu/pjullrich/de...
But I heard that `enclave` is also cool:
enclave.eclipse.dev
pushin.eu/pjullrich/de...
But I heard that `enclave` is also cool:
enclave.eclipse.dev
- pin extension versions, turn off auto-update
- run the agent in a container or devcontainer, not on your host
- keep prod credentials out of the environment the agent sees
- pin extension versions, turn off auto-update
- run the agent in a container or devcontainer, not on your host
- keep prod credentials out of the environment the agent sees
My new article shows 2 tricks to:
1. Custom-name your containers
2. Group containers from the same project together.
My new article shows 2 tricks to:
1. Custom-name your containers
2. Group containers from the same project together.
1/ devc net lock: an outbound allowlist enforced from outside the container. With no NET_ADMIN/NET_RAW, even root inside can't undo it.
2/ Bring your own dotfiles via DEVC_DOTFILES_REPO.
3/ Optional headless IDA Pro […]
1/ devc net lock: an outbound allowlist enforced from outside the container. With no NET_ADMIN/NET_RAW, even root inside can't undo it.
2/ Bring your own dotfiles via DEVC_DOTFILES_REPO.
3/ Optional headless IDA Pro […]
https://github.com/mastodon/mastodon/pull/41462
https://github.com/mastodon/mastodon/pull/41462
#ClaudeCode #DevContainer
#ClaudeCode #DevContainer
私も自分の Github リポジトリでは雑に LLM 向けのプロンプトを書いてるけど(たとえば pull request についたコメントを読ませて、対応するとか)、これも「第三者がプロンプトインジェクションを狙ったコメントを書いた」場合には危ない。
個人で開発用にもう一台 PC 用意するのは大変なので、devcontainer を使ってアクセスできる範囲を制限しつつ、開発用のクレデンシャル(Github 用の SSH キーや、API キーなど)を分離するぐらいですかね。
私も自分の Github リポジトリでは雑に LLM 向けのプロンプトを書いてるけど(たとえば pull request についたコメントを読ませて、対応するとか)、これも「第三者がプロンプトインジェクションを狙ったコメントを書いた」場合には危ない。
個人で開発用にもう一台 PC 用意するのは大変なので、devcontainer を使ってアクセスできる範囲を制限しつつ、開発用のクレデンシャル(Github 用の SSH キーや、API キーなど)を分離するぐらいですかね。
enclave.eclipse.dev
enclave.eclipse.dev
https://zenn.dev/hii_chi/articles/claude-code-gh-token-wrapper
https://zenn.dev/hii_chi/articles/claude-code-gh-token-wrapper
https://zenn.dev/hii_chi/articles/claude-code-gh-token-wrapper
https://zenn.dev/hii_chi/articles/claude-code-gh-token-wrapper
Claude Codeにghを使わせてもGH_TOKENをコンテナの環境変数に置かないdevcontainer構成
Claude Codeにghを使わせてもGH_TOKENをコンテナの環境変数に置かないdevcontainer構成
https://zenn.dev/hii_chi/articles/claude-code-gh-token-wrapper
https://zenn.dev/hii_chi/articles/claude-code-gh-token-wrapper
トークンを環境変数に置かず、コマンドを実行する瞬間だけ読み込む構成を紹介します。隠すことと読めなくすることは別だと注意しています。
秘密は値を書かず置き場所だけを残し、使う瞬間にだけ読んで必要なプロセスにだけ渡す形は、鍵や接続情報などあらゆる秘密の扱いに通じます。
トークンを環境変数に置かず、コマンドを実行する瞬間だけ読み込む構成を紹介します。隠すことと読めなくすることは別だと注意しています。
秘密は値を書かず置き場所だけを残し、使う瞬間にだけ読んで必要なプロセスにだけ渡す形は、鍵や接続情報などあらゆる秘密の扱いに通じます。
devcontainer で gedit を起動して mozc で日本語入力
devcontainer で gedit を起動して mozc で日本語入力