Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

tracing: trace files are written world-readable and unredacted

オープン
#1,452 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
security

調査の方向性

Read the three trace write sites in altimate/observability/tracing.ts (around lines 248, 1125, and 1418) and compare their file handling with file-log.ts, where opencode.log is created with mode 0600. The issue calls for trace files to use mode 0600 in a 0700 directory and for existing files to be tightened on first write. Done means all trace write sites and existing trace files follow those permissions.

索引モデルが issue の本文から書いたものです。

説明

Found during the v0.12.7 release review (compliance reviewer). Deferred: it touches several write sites and needs a migration for existing files.

Trace files are written with plain fs.writeFile and no mode (altimate/observability/tracing.ts ~248, ~1125, ~1418), so they get the umask default (usually 0644): readable by every user on the machine. They hold prompts and tool output, including SQL and query results. opencode.log by contrast is created 0600 (file-log.ts).

Proposed: write traces with mode 0600 in a 0700 directory, and tighten existing files on first write.

主要言語
TypeScript
スター
810
フォーク
121
平均マージ
1日 9時間
マージ済み PR(30日)
88

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AltimateAI/altimate-code のほかの issue

AltimateAI/altimate-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。