ca2a_runtime.response: PendingResponse accepts boolean timeout, ResponseProducer.finish does not validate status/body invariants, and AuthenticatedPeerError drops error detail
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 20/100
調査の方向性
Start with src/ca2a_runtime/response.py and trace PendingResponse.__init__, decode, and ResponseProducer.finish; then inspect AuthenticatedPeerError.__init__ and its CA2AError base. Find the relevant tests for timeout validation, decoding, status/body invariants, and preserved error detail. Done when each reported case is covered and the tests pass; pull request #289 is already open.
索引モデルが issue の本文から書いたものです。
説明
Summary
PendingResponse.__init__insrc/ca2a_runtime/response.pychecksmath.isfinite(timeout) and 0 < timeout <= 300without rejectingbool, sotimeout=Trueis silently accepted as1.0second.decode(raw)does not reject non-bytesrawwithResponseAuthenticationFailed.ResponseProducer.finish(status, body)MACs anystatusandbodywithout enforcing the status/body invariants required byPendingResponse.verify(type(status) is int,status == 200 or 400 <= status <= 599,body.get("accepted") is Trueon 200, andisinstance(body.get("error"), dict)on non-200).AuthenticatedPeerError.__init__dropserror.get("detail")instead of passing it toCA2AError.__init__.
- 主要言語
- Python
- スター
- 9
- フォーク
- 14
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 36
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
agentrust-io/ca2a のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
agentrust-io/ca2a#301 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
transport.a2a_adapter / a2a_sdk / hardware_acceptance: unvalidated message/metadata types, empty parent_record_hash, unsafe float-to-int coercion, and duplicate JSON keys対応中かも @drk-ram が 6 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
agentrust-io/ca2a#286 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
challenge / trace_binding: boolean ttl_seconds/now/iat bypasses, unvalidated challenge secret/expiry_str, and empty credential_id in emit_dag対応中かも @drk-ram が 6 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
agentrust-io/ca2a#285 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ca2a_verify.tdx / ca2a_verify.sev_snp: verify_tdx_quote does not check quote.version == 4 and verify_tdx_quote / verify_sev_snp_report do not validate expected digest lengths対応中かも @drk-ram が 6 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
agentrust-io/ca2a#283 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
tee.tpm / ca2a_verify.tpm: TpmQuote.parse ignores trailing bytes, _chain_from_leaf reads AIA URLs without a byte cap, and verify_tpm_report does not check report.platform対応中かも @drk-ram が 6 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
agentrust-io/ca2a#282 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
agentrust-io/ca2a の issue をすべて見る
似ている issue
-
Bug: POWERTOOLS_IDEMPOTENCY_DISABLED set to an empty or non-boolean value crashes every invocation対応中かも @lechakrawarthy が今日担当しました。 オープンbug good first issue help wanted idempotency
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
aws-powertools/powertools-lambda-python#8728 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
emeraldleaf/okl#320 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
mnemosyne-oss/mnemosyne#1309 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
huggingface/diffusers#15163 ·
メンテナーはふだん 1 日以内に返信
-
integration: ring
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
home-assistant/core#189787 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信