OSPS-SA-03.02 sets security.threat_model.path unconditionally
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading the generate_threat_model plugin handler and the file_create.project_reference behavior described in FR-015/FR-016. Check how the handler reports file creation and how the existing reference value is handled. Done means the reference is recorded only for a file created in that run, without replacing a different existing path.
索引モデルが issue の本文から書いたものです。
説明
The OSPS-SA-03.02 remediation sets security.threat_model.path through an unconditional project_update, whether or not a threat model file was created in that run. It can also replace a path the project already set.
On the 043 branch, other controls record file references only through file_create.project_reference: the reference is recorded only for a file created in that run, and only into an empty field (FR-015/FR-016). SA-03.02 generates its file through the generate_threat_model plugin handler rather than file_create, so it was left as it was.
Fix: record the reference only when the handler reports that it created the file, using the same "empty or equal" rule. Related to #482.
Found while implementing feature 043 (remediation safety, branch 043-remediation-safety, not yet merged).
- 主要言語
- Python
- スター
- 22
- フォーク
- 27
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 39
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
darnitdevorg/darnit のほかの issue
-
ci needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
darnitdevorg/darnit#607 ·
メンテナーはふだん 1 日以内に返信
-
dependencies module-baseline needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
darnitdevorg/darnit#606 ·
メンテナーはふだん 1 日以内に返信
-
A test starts real Sigstore signing (interactive OIDC login) when the attestation extra is installedオープンmodule-baseline needs triage testing
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
darnitdevorg/darnit#604 ·
メンテナーはふだん 1 日以内に返信
-
`darnit validate` crashes on openssf-baseline.toml summarising levels対応中かも @i-am-paradox が 3 日前に担当しました。 オープンinterface-cli module-core
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
darnitdevorg/darnit#589 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Plugins hard-code version "0.1.0" while the packages are at 0.1.1対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンgood first issue maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
darnitdevorg/darnit#587 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
darnitdevorg/darnit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
omegaup/omegaup#10353 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
bot-triaged module: LrScheduler module: optimizer triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
documentation glm5 llm-model
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/vllm-ascend#19062 ·
メンテナーはふだん 1 日以内に返信
-
author-page correction
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
acl-org/acl-anthology#10496 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信