challenge / trace_binding: boolean ttl_seconds/now/iat bypasses, unvalidated challenge secret/expiry_str, and empty credential_id in emit_dag
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with src/ca2a_runtime/challenge.py and src/ca2a_runtime/trace_binding.py, then inspect the tests covering issue_challenge, verify_challenge, build_trace_record, and emit_dag. Check how inputs are validated and add cases for the listed invalid values; done means those cases are rejected consistently and the existing tests still pass.
索引モデルが issue の本文から書いたものです。
説明
Summary
issue_challengeandverify_challengeinsrc/ca2a_runtime/challenge.pydo not validate thatsecretisbytesof at least 16 bytes,issue_challengeacceptsttl_seconds=True, andverify_challengeaccepts non-strchallenge(raisingAttributeError),now=False/True, and non-decimalexpiry_str(such as"+100"or whitespace-padded strings).build_trace_recordinsrc/ca2a_runtime/trace_binding.pycoercesiatviaint(iat)(acceptingiat=True, floats, non-positive values, and integers exceeding RFC 87852**53 - 1) and accepts emptysubject,credential_id, orparent_record_hash.emit_daginsrc/ca2a_runtime/trace_binding.pyaccepts emptyhopsand allows non-rootHopSpecentries with default emptycredential_id="".
- 主要言語
- Python
- スター
- 9
- フォーク
- 14
- 平均マージ
- 19時間 54分
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
agentrust-io/ca2a のほかの issue
-
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 が 4 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
agentrust-io/ca2a#286 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ca2a_runtime.response: PendingResponse accepts boolean timeout, ResponseProducer.finish does not validate status/body invariants, and AuthenticatedPeerError drops error detail対応中かも @drk-ram が 4 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
agentrust-io/ca2a#284 · コメント 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 が 4 日前に担当しました。 オープン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 が 4 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
agentrust-io/ca2a#282 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(delegation,attestation): enforce RFC 8785 safe-integer bounds and canonical lowercase hex on HolderProof and CallerPossession対応中かも @drk-ram が 6 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
agentrust-io/ca2a#274 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
agentrust-io/ca2a の issue をすべて見る
似ている issue
-
Context/namespace resources fail in-cluster: "Invalid kube-config file. No configuration found."オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug documentation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
awslabs/visual-asset-management-system#880 ·
メンテナーはふだん 1 日以内に返信
-
netbox status: needs owner type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
netbox-community/netbox#23533 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts status: backlog type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
netbox-community/netbox-scripts#68 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
marin-community/marin#10765 ·
メンテナーはふだん 1 日以内に返信