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

gate() accepts an unvalidated floor: enforce duplicate-identity rejection at the gate boundary

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript

調査の方向性

Read the existing duplicate check in parseEvidenceFloor and inspect the exported gate() implementation and its GateInput type. Trace how duplicate keys become a last-wins map, then add coverage for passing duplicate entries directly to gate(). Done means this path rejects duplicates or accepts only a validated floor type, preventing an order-sensitive false green.

索引モデルが issue の本文から書いたものです。

説明

area: engine bug security

Follow-up to #217.

What is wrong

#217 rejects duplicate floor identities in parseEvidenceFloor, which covers the real run path. But gate() is exported and accepts an EvidenceFloor directly, and it builds a last-wins map without validation. Two same-key entries passed straight to gate() let one current barrier be marked carried, so the verdict is order-sensitive and can be a false green.

Fix

Enforce duplicate-identity rejection at the gate boundary as well as at parse, or change GateInput to accept only a validated floor type.

主要言語
TypeScript
スター
0
フォーク
0
平均マージ
2時間 48分
マージ済み PR(30日)
8

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

usabl-dev/usabl のほかの issue

usabl-dev/usabl の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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