Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

challenge / trace_binding: boolean ttl_seconds/now/iat bypasses, unvalidated challenge secret/expiry_str, and empty credential_id in emit_dag

オープン
#285 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@drk-ram がすでに取り組んでいます。

2026年10月25日 から。

  • #290 @drk-ram による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
security

調査の方向性

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 の本文から書いたものです。

説明

needs-review:MEDIUM
Summary
  1. issue_challenge and verify_challenge in src/ca2a_runtime/challenge.py do not validate that secret is bytes of at least 16 bytes, issue_challenge accepts ttl_seconds=True, and verify_challenge accepts non-str challenge (raising AttributeError), now=False/True, and non-decimal expiry_str (such as "+100" or whitespace-padded strings).
  2. build_trace_record in src/ca2a_runtime/trace_binding.py coerces iat via int(iat) (accepting iat=True, floats, non-positive values, and integers exceeding RFC 8785 2**53 - 1) and accepts empty subject, credential_id, or parent_record_hash.
  3. emit_dag in src/ca2a_runtime/trace_binding.py accepts empty hops and allows non-root HopSpec entries with default empty credential_id="".
主要言語
Python
スター
9
フォーク
14
平均マージ
19時間 54分
マージ済み PR(30日)
47

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

agentrust-io/ca2a のほかの issue

agentrust-io/ca2a の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。