OWASP / OWASP/owasp-java-encoder
Replace the ESAPI version range with a deterministic, tested dependency policy
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 543
- フォーク
- 122
- 平均マージ
- 9時間 9分
- マージ済み PR(30日)
- 1
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
esapi/pom.xml と ESAPI アダプターのテストから始め、次に #90 と過去の issue #31、#63、#74 を確認します。アダプターのスコープを変更する前に、固定された安定版のベースライン、互換性に関する主張、override メカニズムを定義します。テストが主張するバージョンをカバーし、フレッシュなキャッシュでのビルドと公開済みの POM が、意図した同じ安定版の依存関係を、意図しない範囲指定や prerelease なしで選択すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system, documentation, security, testing
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100