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

OSPS-AC-04.01 scans workflow files, but the requirement is the platform's default workflow permission

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

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

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

評価

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

調査の方向性

Start by reading the existing pattern step that scans .github/workflows/*.yml and how the check reports results. Then investigate the GitHub workflow-permissions API and how repository settings inherit organization defaults; treat 401/403 as could-not-measure, not FAIL. Done when the check measures the platform default (including inherited settings) while retaining the workflow scan as supporting evidence.

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

説明

module-baseline

OSPS-AC-04.01 (Maturity Level 2, 3) reads:

When a CI/CD task is executed with no permissions specified, the CI/CD system MUST default the task's permissions to the lowest permissions granted in the pipeline.

This is a platform setting: on GitHub, the repository or organization default for GITHUB_TOKEN permissions (GET /repos/{owner}/{repo}/actions/permissions/workflow -> default_workflow_permissions, expected read). darnit instead runs a pattern step over .github/workflows/*.yml, which measures what workflows declare, not what the platform does for a workflow that declares nothing.

Suggested direction: check default_workflow_permissions == "read" via the platform API (org-level setting as well where the repository inherits it), and treat 401/403 as could-not-measure rather than FAIL. The workflow scan can remain as supporting evidence.

主要言語
Python
スター
22
フォーク
27
平均マージ
1日 20時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

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

darnitdevorg/darnit のほかの issue

darnitdevorg/darnit の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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