fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dots
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
plugins/session-flow/skills/audit-sessions/scripts/redact.pyを読み、トークンの照合ルールを特定してください。装飾のない値sk-ant-oat01-と、ドットを含むステートレスなトークンghs_を意図的に埋め込んだテストを追加し、正規ルールを拡張してscripts/sync-shared-copies.shでコピーを再生成してください。修正前に両方のケースが失敗し、修正後に成功すること、さらに修正用のbuffer.test.shのマスキングケースも引き続き成功することを完了条件とします。
索引モデルが issue の本文から書いたものです。
説明
Summary
plugins/session-flow/skills/audit-sessions/scripts/redact.py (canonical; generated copy in plugins/corrections/tools/findings-buffer/lib/redact.py) leaves two token shapes unredacted, found by the GitHub Security & Cost review of #9020:
- a bare
sk-ant-oat01-…value (the OAuth token format the lanes use); - a stateless
ghs_installation token containing., because the rule is(?:ghu|ghs)_[0-9a-zA-Z]{36}.
Fix
Widen the rules in the canonical file (for example ghs_[A-Za-z0-9._-]{36,}, plus an sk-ant-oat01- rule), regenerate the copy with scripts/sync-shared-copies.sh, and add one planted-token test case per shape that fails before the change.
Verification
The new cases fail on the current head and pass after the fix; the corrections buffer.test.sh redaction cases still pass.
Related
Refs #9020
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 7時間 23分
- マージ済み PR(30日)
- 950
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
melodic-software/claude-code-plugins#9013 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
melodic-software/claude-code-plugins#9000 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
melodic-software/claude-code-plugins#8998 ·
メンテナーはふだん 1 日以内に返信
-
fix(source-control): ready hold check treats hyphenated identifiers containing wip as a WIP markerオープンpriority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
melodic-software/claude-code-plugins#8977 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(ai-slop): detect.sh --paths-file drops the last entry when the file has no trailing newlineオープンpriority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
melodic-software/claude-code-plugins#8974 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
koalaman/shellcheck#3593 ·
メンテナーはふだん 2 日以内に返信
-
Link Checker Reportオープンautomated issue report
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
a2aproject/A2A#2381 ·
メンテナーはふだん 3 日以内に返信
-
e2e-failure ready-to-code
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue spells
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100