aboutcode-org / aboutcode-org/aboutcode

When patching packages, design how to track modifications

Đang mở
#158 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Batchfile
Star
302
Fork
249
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
2

Mô tả

When a package is modified locally in a codebase, we should be able track these modifications and how to identify them.

Why? Because a package may have been:

1. patched for a regular bug
2. patched for a security vulnerability
3. patched for a new or altered feature
4. updated for corrected metadata (such as origin, license, dependencies)
5. renamed or its version changed (or not :] )

In all these cases, we may have some problems if we do not known about this:
- we may report it as vulnerable when this is not the case
- we may not report it as vulnerable when this is the case
- we may match it it incorrectly to an upstream version or an altered version

Tracking could be done in ABOUT files, in DejaCode and the PurlDB and be used by downstream processes to avoid false negative and false positive lookups. This is especially important when we have renamed packages that are patched but where the original unpatched package and the patched version could be both vulnerable.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.