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

fix(pr-pipeline): scope read-runner caller secrets per caller in check-read-caller-keys

オープン 初心者向け
#8,709 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, javascript
領域
ci-cd, security

調査の方向性

scripts/check-read-caller-keys.mjsから始め、呼び出し元のworkflowをどのように読み込み、ALLOWED_SECRETSを検証しているかを調べます。既存のautomation tokenの処理を参考にしてください。スクリプトのテストを追加または特定し、各呼び出し元自身のsecret、別のlaneのsecret、マップにない呼び出し元をそれぞれ対象にします。3つのケースすべてが指定どおりに動作し、チェックが通れば完了です。

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

説明

priority: low

Problem

scripts/check-read-caller-keys.mjs holds the allowed secret names for read-runner callers in one global set, ALLOWED_SECRETS (line 30 after #8691). So any caller of pr-run-activity-read.yml may pass any allowed lane credential, for example issue_lane_claude_code_oauth_token from a caller that is not the issue lane, and the check stays green. The automations token already works this way.

Abusing this needs a workflow change that is already on main, so it is a hardening item, not a live gap.

Fix

Replace the global set with a per-caller map from caller workflow file to the secret names it may pass, for example work-resolve-issue.yml → the ISSUE_LANE_ names and pr-unblock.yml → the AUTOMATIONS_ names. A caller that passes a secret outside its own entry fails the check. Add tests:

  • each caller's own secret passes;
  • another lane's secret fails;
  • a caller missing from the map fails.

Refs: #8691

主要言語
Shell
スター
22
フォーク
2
平均マージ
6時間 58分
マージ済み PR(30日)
951

環境構築

はじめの一歩

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

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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