Skip to content

security: scorecard sweep — fix #182/#173, dismiss #8/#175/#179/#180/#181#67

Merged
killertcell428 merged 2 commits into
masterfrom
claude/strange-kilby-0ebba9
May 19, 2026
Merged

security: scorecard sweep — fix #182/#173, dismiss #8/#175/#179/#180/#181#67
killertcell428 merged 2 commits into
masterfrom
claude/strange-kilby-0ebba9

Conversation

@killertcell428
Copy link
Copy Markdown
Owner

@killertcell428 killertcell428 commented May 19, 2026

Summary

OpenSSF Scorecard が検出した Code Scanning アラート 9 件 (High 5 / Medium 3 / Low 1) のうち、修正必須 2 件をコード変更で fix、受容判断 4 件をガバナンス文書に明文化+ Code Scanning API で dismiss 済。

Alert Sev 対応 内容
#182 High コード修正 paper-review.yml の write 権限を job-level へ
#173 Medium コード修正 .clusterfuzzlite/Dockerfile の base image を sha256 digest pin
#8 High dismiss 済 1人開発のため required_approving_review_count=0 は意図設定 (§1)
#179 High dismiss 済 release.ymlgithub-release job — top-level read + job-level write は正しい構成 (§6.1)
#180 High dismiss 済 sync-zenn-qiita.yml も同様 (§6.1)
#181 High dismiss 済 zenn-deploy-trigger.yml も同様 (§6.1)
#175 Medium dismiss 済 pip install . はローカルソースで攻撃面なし (§6.2)

判断保留: #174 (Dockerfile の pip hash-pin: 運用コスト要検討) / #57 (OpenSSF Best Practices badge: 低優先)。

Changes

  • .github/workflows/paper-review.yml — top-level を contents: read に、contents/issues/pull-requests: write を job-level へ移動
  • .clusterfuzzlite/DockerfileFROM gcr.io/oss-fuzz-base/base-builder-python@sha256:e24e8e50612617101dd10038502f68268ab45f31d79a3722c230464277a951b3
  • docs/scorecard-governance-setup.html — §1 に現状+ dismiss 文言テンプレ、§6.1/§6.2/§6.3 を新設
  • docs/scorecard-alerts-2026-05-19.html — 9件の精査レポート(新規)

Type of change

  • Documentation update
  • Security hardening (CI / supply chain)

Test plan

  • CI green (Lint & Type Check / Test Python 3.11 / 3.12)
  • マージ後 Scorecard workflow を手動実行: gh workflow run scorecard.yml
  • #182 と #173 が次回 Scorecard 実行で Closed になることを確認
  • paper-review.yml の bot PR 作成が引き続き成功すること(job-level permissions で動作確認)
  • ClusterFuzzLite が新しい base image digest で build 通過すること

Already dismissed via Code Scanning API

🤖 Generated with Claude Code

@killertcell428 killertcell428 changed the title security: scorecard alerts — fix #182 paper-review token scope, pin #… security: scorecard sweep — fix #182/#173, dismiss #8/#175/#179/#180/#181 May 19, 2026
killertcell428 and others added 2 commits May 19, 2026 13:39
…173 fuzz base image, document #8/#179/#180/#181/#175 acceptance

Code Scanning sweep (2026-05-19):

Fixes:
- .github/workflows/paper-review.yml: move contents/issues/pull-requests
  write from top-level to job-level; top-level becomes contents:read (#182).
- .clusterfuzzlite/Dockerfile: pin gcr.io/oss-fuzz-base/base-builder-python
  by sha256:e24e8e50... matching the digest-pin convention used in the main
  Dockerfile (#173).

Governance documentation (docs/scorecard-governance-setup.html):
- §1: document current branch-protection state and dismiss rationale for
  #8 (solo-dev: required_approving_review_count=0 is intentional).
- §6.1 (new): acceptance policy for job-level contents:write —
  applies to #179 (release.yml), #180 (sync-zenn-qiita.yml), #181
  (zenn-deploy-trigger.yml). Top-level contents:read remains mandatory.
- §6.2 (new): acceptance policy for local-source pip install —
  applies to #175 (.clusterfuzzlite/build.sh).
- §6.3: #174 (Dockerfile pip hash-pin) explicitly deferred.

Audit report:
- docs/scorecard-alerts-2026-05-19.html: per-alert triage with risk
  assessment, proposed fix, and dismiss rationale.

Already dismissed via Code Scanning API: #8, #175, #179, #180, #181.
#182 and #173 will close automatically on next Scorecard run.
Deferred: #174 (hash-pin trade-off), #57 (OpenSSF badge).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: killertcell428 <killertcell428@gmail.com>
Signed-off-by: killertcell428 <killertcell428@gmail.com>
@killertcell428 killertcell428 force-pushed the claude/strange-kilby-0ebba9 branch from aafdb42 to 7d993af Compare May 19, 2026 04:39
@killertcell428 killertcell428 merged commit e294a59 into master May 19, 2026
13 checks passed
@killertcell428 killertcell428 deleted the claude/strange-kilby-0ebba9 branch May 19, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant