Repository navigation
Closed
Labels
M2Milestone 2 grant workMilestone 2 grant workreproReproduction / PoCReproduction / PoCtrack:2-CDeliverable 2-C: cumulative bug & fix reportDeliverable 2-C: cumulative bug & fix report
Description
📖 前提知識(共通)
SPECA は「仕様書 → 形式的なセキュリティプロパティ → 実装コードの監査」を自動化するパイプライン。フェーズは 01a(仕様収集) → 01b(サブグラフ抽出) → 01e(プロパティ生成) → 02c(コード位置解決) → 03(証明ベース監査) → 04(誤検知フィルタ)。エントリポイントは scripts/run_phase.py。
M2 の全体像(#86)= 3トラック × 4フェーズ。トラックは「どの Lean を起点に 01e を作るか」で分ける:
- a = gasper(コンセンサス層仕様。Lean 形式化は完了済み)
- b = EL spec(Execution Layer 仕様起点)
- c = vuln-dataset(
NyxFoundation/ethereum-vuln-datasetの critical/high 実バグ起点)
各トラック共通のフェーズ: ①Lean形式化 → ②01e作成 → ③全クライアント監査 → ④Kurtosis再現 → 統合レポート(2-C)。
関係リポジトリ:
| repo | 役割 | 言語/実行 |
|---|---|---|
NyxFoundation/speca |
パイプライン本体 | Python 3.11 / uv。worker は Claude Code CLI |
NyxFoundation/speca-lean4-plugin |
Lean 形式化 + 01e emit(Lean の実行場所) | Lean 4 / lake + Python driver |
NyxFoundation/ethereum-vuln-dataset |
11クライアントの過去実バグ集(STRIDE/CWEラベル付き) | CSV |
NyxFoundation/kurtosis-harness |
findings の devnet 再現 | Kurtosis |
セットアップ(NyxFoundation/speca): uv sync / npm i -g @anthropic-ai/claude-code / bash scripts/setup_mcp.sh。詳細は CLAUDE.md。
🎯 Goal
a-3(#148)の confirmed findings を devnet 上で実際に再現し、「本物のバグである」ことを実行可能な形で示す。
⭐ トラック a が再現の先行事例。手順を確立して b-4/c-4 が踏襲する。
📍 このタスクの位置づけ
トラック a / フェーズ④。監査で CONFIRMED になった findings を、机上でなく実際に動くクライアントで再現する最終検証。レポート(#154)に「再現済み」の証跡を供給する。
🛠 作業場所
- リポジトリ:
NyxFoundation/kurtosis-harness(finding-driven, client-agnostic な再現ハーネス。Kurtosis devnet + guarded negative control) - 入力: a-3([a-3] gasper 01e で全クライアントを SPECA 監査する #148)の
04_PARTIAL(confirmed findings)+ 01e の各 property に紐づく Kurtosis fixture(scaffold は plugin 側で emit 済み)
📋 手順
- a-3([a-3] gasper 01e で全クライアントを SPECA 監査する #148)の confirmed findings のうち再現対象を選ぶ(critical/high 優先)。
- 各 finding の Kurtosis fixture(devnet 構成 + assertion)を実 devnet で実行。
- finding が再現することを確認し、guarded negative control(修正済み/正常系では発火しないこと)も取る。
- 再現ログを記録。
📦 成果物
- 何を: 主要 findings の devnet 再現ログ + negative control
- どこに:
NyxFoundation/kurtosis-harnessの実行結果(レポート [report] Cumulative Bug Discovery & Fix Report (2-C) #154 に供給) - 形式: 再現手順が自己完結し、手作業修正なしで再走可能
✅ 完了条件
- confirmed findings の主要件が devnet で再現
- 各再現に guarded negative control
- レポート([report] Cumulative Bug Discovery & Fix Report (2-C) #154)へ再現状況を供給
⚙️ 制約
- 締切: 2026-08-18
- 依存: a-3([a-3] gasper 01e で全クライアントを SPECA 監査する #148)の findings
- スコープ外: 監査そのもの、開示判断
🔗 参考
NyxFoundation/kurtosis-harness/ 再現の先行事例(トラック a の④ [a-4] gasper findings を kurtosis-harness で再現する #151)
Metadata
Metadata
Assignees
Labels
M2Milestone 2 grant workMilestone 2 grant workreproReproduction / PoCReproduction / PoCtrack:2-CDeliverable 2-C: cumulative bug & fix reportDeliverable 2-C: cumulative bug & fix report
Activity
grandchildrice commentedon Jul 28, 2026
完了状況
a-3(#148)から引き渡された候補について、再現、negative control、scope/reachability判定、監査レポートへの反映が完了しました。
機密性のあるfinding・PoC・再現記録は公開SPECA Issueには掲載せず、アクセス制限された監査リポジトリに集約しています。
完了条件を満たしたため、本Issueを
completedとしてcloseします。