OWASP / OWASP/owasp-java-encoder
Replace the ESAPI version range with a deterministic, tested dependency policy
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 541
- Fork
- 122
- Merge trung bình
- 9 giờ 9 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
Follow-up to #90 (reviewed at 31588e1). This tracks work intentionally kept separate from the modernization PR.
Problem and evidence
esapi/pom.xml declares org.owasp.esapi:esapi:[2.5.1.0,3). During the review this resolved to 2.7.0.1-RC1, meaning a fresh build can select a prerelease without any repository change. The range is also part of the published consumer POM.
Related historical failures from changing ESAPI APIs or resolution: #31, #63, and #74. This issue is not a claim that the currently resolved release is vulnerable.
Acceptance criteria
- Select and document a supported, fixed stable ESAPI baseline; retain a deliberate override mechanism if needed.
- Document the supported ESAPI compatibility range separately from Maven's dependency selection.
- Add build/runtime tests for the selected baseline and any other versions claimed as supported, including delegated adapter methods.
- Validate dependency convergence and the security/runtime implications of the transitive graph; preserve compatibility claims or explicitly document any necessary change.
- Confirm fresh-cache builds select the same intended stable dependency.
- Verify the generated/published POM does not retain an unintended open-ended range or prerelease selection.
- Coordinate the chosen dependency/module identity with the separate JPMS adapter issue.
Limit changes to the ESAPI adapter and its tests/documentation; do not add ESAPI dependencies to the core encoder.
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.
Hướng nghiên cứu
Bắt đầu với esapi/pom.xml và các bài kiểm thử adapter ESAPI, sau đó xem xét #90 cùng các issue lịch sử #31, #63 và #74. Xác định baseline ổn định cố định, các tuyên bố về khả năng tương thích và cơ chế override trước khi thay đổi phạm vi của adapter. Được xem là hoàn tất khi các bài kiểm thử bao phủ các phiên bản được tuyên bố, đồng thời các bản build với cache mới và các POM đã phát hành đều chọn cùng một dependency ổn định dự kiến, không có range hoặc phiên bản prerelease ngoài dự kiến.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- build-system, documentation, security, testing
- Loại issue
- Tái cấu trúc
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100