unity-gateway: OAuth JWT written world-readable (0644) by ug configure
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how ug configure --user --agents opencode writes ~/.ucode/opencode-xdg/opencode/opencode.json, ucode-auth.js, and state.json, and compare their permissions with managed-config.json. Reproduce the setup and check the resulting file and directory modes; done means the live token is not readable by other local users, with the chosen approach consistent across these files.
索引モデルが issue の本文から書いたものです。
説明
ug configure --user --agents opencode (v0.2.1) writes the live OAuth access token (client_id databricks-cli, about 1 hour remaining) into ~/.ucode/opencode-xdg/opencode/opencode.json as both options.apiKey and options.headers.Authorization.
The file has mode -rw-r--r--, so any local user can read it, and ucode-auth.js and state.json are also 0644. managed-config.json is correctly 0600. Suggested fix: create these files with mode 0600 and the directory with 0700, or avoid writing the token and rely on the refresh plugin. Checked on macOS arm64, v0.2.1.
- 主要言語
- Python
- スター
- 122
- フォーク
- 101
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 198
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
databricks/unity-gateway のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
databricks/unity-gateway#1042 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
databricks/unity-gateway#1021 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feat(codex): support amazon_bedrock Model Provider Services that expose OpenAI-compatible modelsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
databricks/unity-gateway#454 ·
メンテナーはふだん 1 日以内に返信
-
ucode opencode ignores the user's own OpenCode config対応中かも @larsmoan が 79 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
databricks/unity-gateway#391 ·
メンテナーはふだん 1 日以内に返信
-
Support Custom $CLAUDE_CONFIG_DIR対応中かも @eabrouwer3 が 15 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
databricks/unity-gateway#342 ·
メンテナーはふだん 1 日以内に返信
databricks/unity-gateway の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
aws-samples/sample-per-model-bedrock#857 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
521xueweihan/HelloGitHub#4328 ·
-
documentation maintainer-managed
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
awslabs/visual-asset-management-system#1418 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信