OSPS-SA-03.02 sets security.threat_model.path unconditionally
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- Python
- Star
- 22
- Fork
- 27
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 39
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của darnitdevorg/darnit
-
ci needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
darnitdevorg/darnit#607 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies module-baseline needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
darnitdevorg/darnit#606 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A test starts real Sigstore signing (interactive OIDC login) when the attestation extra is installedĐang mởmodule-baseline needs triage testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
darnitdevorg/darnit#604 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`darnit validate` crashes on openssf-baseline.toml summarising levelsCó thể đã có người làm @i-am-paradox đã nhận 3 ngày trước. Đang mởinterface-cli module-core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
darnitdevorg/darnit#589 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Plugins hard-code version "0.1.0" while the packages are at 0.1.1Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgood first issue maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
darnitdevorg/darnit#587 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của darnitdevorg/darnit
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
EchoTools/nevr-runtime#651 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug frontend rt sev-3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
noontide-co/mainbranch#1211 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersĐang mởtriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
dbt-labs/dbt#16784 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày