Skip to content

[a-4] gasper findings を kurtosis-harness で再現する #151

Closed

Description

@grandchildrice

📖 前提知識(共通)

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)に「再現済み」の証跡を供給する。

🛠 作業場所

📋 手順

  1. a-3([a-3] gasper 01e で全クライアントを SPECA 監査する #148)の confirmed findings のうち再現対象を選ぶ(critical/high 優先)。
  2. 各 finding の Kurtosis fixture(devnet 構成 + assertion)を実 devnet で実行。
  3. finding が再現することを確認し、guarded negative control(修正済み/正常系では発火しないこと)も取る。
  4. 再現ログを記録。

📦 成果物

✅ 完了条件

⚙️ 制約

🔗 参考

Activity

  1. added
    M2Milestone 2 grant work
    track:2-CDeliverable 2-C: cumulative bug & fix report
    reproReproduction / PoC
    on Jul 22, 2026
  2. deleted a comment from sann-ai on Jul 28, 2026
  3. deleted a comment from sann-ai on Jul 28, 2026
  4. deleted a comment from sann-ai on Jul 28, 2026
  5. grandchildrice commented on Jul 28, 2026

    @grandchildrice
    CollaboratorAuthor

    完了状況

    a-3(#148)から引き渡された候補について、再現、negative control、scope/reachability判定、監査レポートへの反映が完了しました。

    機密性のあるfinding・PoC・再現記録は公開SPECA Issueには掲載せず、アクセス制限された監査リポジトリに集約しています。

    完了条件を満たしたため、本Issueをcompletedとしてcloseします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

M2Milestone 2 grant workreproReproduction / PoCtrack:2-CDeliverable 2-C: cumulative bug & fix report

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions