Add optional SRAC safety-relevance sidecar correlation pipeline
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the existing load_sbom pipeline and the proposed load_srac behavior in this issue. Define how the pipeline would discover and validate one SRAC JSON sidecar, correlate it with SPDX or CycloneDX packages, and emit deterministic project output. Done requires maintainer agreement on the pipeline and output model, plus tests for matches, unmatched and ambiguous records, invalid integrity, broken references, and malformed input.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Would ScanCode.io consider an optional pipeline step for importing and correlating Safety Relevance Assertion Capability (SRAC) sidecars with packages loaded from SPDX or CycloneDX SBOMs?
SRAC is a format-neutral, externally authored record that associates a software component with safety-relevance metadata, supporting evidence, review state, and optional change-impact analysis. The integration would validate and correlate those records; ScanCode.io would not infer safety relevance or approve a safety decision.
This appears to fit ScanCode.io's pipeline model because load_sbom already imports SPDX and CycloneDX documents for further review and enrichment.
Proposed focused enhancement
Add an optional load_srac pipeline, or an optional step adjacent to load_sbom, that:
- discovers an SRAC JSON sidecar among project inputs;
- validates its schema, digest/integrity metadata, and internal references;
- correlates each assertion with an imported package using stable identifiers such as package URL, SBOM reference, version, or artifact digest;
- preserves the assertion, provenance, evidence references, review state, and optional change-impact data without altering their meaning; and
- writes a deterministic JSON report containing matched, unmatched, ambiguous, invalid, and stale assertions.
For an initial implementation, the results could remain project output data rather than requiring new UI or policy features. SPDX and CycloneDX exports could optionally retain a resolvable external reference to the integrity-protected sidecar where the selected format permits it.
Suggested acceptance criteria
- The pipeline accepts one SBOM plus one clearly identified SRAC sidecar.
- Assertions correlate deterministically with imported packages, recording the identifier used for each match.
- Invalid, unmatched, ambiguous, and stale assertions are explicit and fail closed.
- The original assertion and its digest remain available for audit.
- The pipeline never creates or changes a safety classification, impact decision, or approval.
- A clearly labeled synthetic safety-related example demonstrates the full flow.
- Tests cover successful matches, unmatched and ambiguous records, invalid integrity, broken references, and malformed input.
Working prototype
The Eclipse S-CORE reference-integration prototype demonstrates schema validation, SPDX/CycloneDX correlation, integrity checks, enrichment reports, change-impact records, and fail-closed behavior:
- Eclipse proposal/tracking issue: https://github.com/eclipse-score/score/issues/3282
Related ecosystem discussions:
- CycloneDX: https://github.com/CycloneDX/specification/issues/1122
- cdxgen: https://github.com/CycloneDX/cdxgen/issues/4392
- Dependency-Track: https://github.com/DependencyTrack/dependency-track/discussions/7468
- SCANOSS: https://github.com/scanoss/scanoss.py/issues/224
Standards status
The mapping follows current SPDX 3.1-development FunctionalSafety concepts and explores a CycloneDX-compatible external assertion carrier. These are development/proposal references, not claims of released normative support.
Would maintainers consider a small load_srac pipeline proof of concept appropriate, and should its correlation result initially live in project output data or in a dedicated model?
- Ngôn ngữ chính
- Python
- Star
- 223
- Fork
- 214
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Có Dockerfile hoặc 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 aboutcode-org/scancode.io
-
ignored_dependency_scopes does not exclude npm devDependenciesCó thể đã có người làm @MGpromax đã nhận 65 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
aboutcode-org/scancode.io#2215 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Delivery Error in scan_single_package: No connection adapters were found for '/notifications/send_scan_notification/Có thể làm lại được @akshat-lakhera đã nhận 12 ngày trước và không có pull request nào đang mở. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
aboutcode-org/scancode.io#2206 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
update `run` cli command to run pipelines without an inputCó thể đã có người làm @NoiceHax đã nhận 77 ngày trước. Đang mởnice-to-have
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aboutcode-org/scancode.io#2203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Local developement docs are outdatedCó thể đã có người làm @nik-767 đã nhận 107 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
aboutcode-org/scancode.io#2197 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
maven-heaven: `map_shaded_classes_to_maven_packages` ignores POMs present only in the from/ codebase, leaving all shaded .class resources unmappedCó thể đã có người làm @chinyeungli đã nhận 3 ngày trước. Đang mở
aboutcode-org/scancode.io#2284 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aboutcode-org/scancode.io
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
[Bug]: Responses API 500s on assistant message with empty content listCó thể đã có người làm @shadowmodder đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
vllm-project/vllm#64940 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
limits
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-ready area: docs documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Soneso/stellar-agent-wallet#524 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Keybind quest outdatedĐang mởStatus: Triage Type: Quest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
GTNewHorizons/GT-New-Horizons-Modpack#27490 ·
Maintainer thường phản hồi trong vòng 1 ngày