[BUG]: verify never checks release_hashes_sha256, so the released files are not tied to the timestamped anchor
メンテナーはふだん 1 日以内に返信
@ArnabOPP がすでに取り組んでいます。
2026年11月19日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 63/100
調査の方向性
Start with cmd_verify in simple/ovl.py, then read the verification steps in docs/verify.md and the relevant CONTRIBUTING test guidance. Check how the anchor’s release_hashes_sha256 relates to release-hashes.txt, including the missing-field case and the exclusion fork question. Done when tests show honest inputs pass and tampered hashes or a missing field fail closed.
索引モデルが issue の本文から書いたものです。
説明
Summary
anchor.json commits to release_hashes_sha256, the SHA-256 of release-hashes.txt, but ovl.py verify never reads it. cmd_verify (simple/ovl.py) only requires chain_entries and chain_head_sha256 from the anchor. So the documented consistency check does not show that the downloaded files are the ones the timestamped anchor lists, which is what the README and docs/verify.md say it shows ("the released files match the timestamped record").
How I checked
anchor.jsonof the released run (release/simple-run/) has these keys:chain_entries,chain_head_index,chain_head_sha256,chain_jsonl_sha256,commit,dataset,final_model,final_state,path,release_hashes_sha256,schema.grep release_hashes_sha256 simple/*.pyfinds nothing in the v1.1.0 tag or onmain(commit 1c63518).sha256sum -c --ignore-missing release-hashes.txtonly checks files against the list it is given, so it trusts that list.
Reproduce
- Download
release/simple-run/as in the README (withoutckpt-*.pt). - Append a space to
recipe.json. - Replace the
recipe.jsonline inrelease-hashes.txtwith the new hash. - Run the README's two steps:
sha256sum -c --ignore-missing release-hashes.txtprintsrecipe.json: OK.python ovl-code/simple/ovl.py verify --run . --weights conversation-model.ptstill passes, because it never looks atrecipe.jsonor atrelease-hashes.txt.
I ran this on the real release files, on Windows with the v1.1.0 ovl.py and --no-timestamps. The timestamps cover only the bytes of anchor.json, so editing the anchor to match would break them, but nothing connects release-hashes.txt to the anchor.
Expected
verify fails closed when the files it is given are not the ones the anchor lists.
Suggested change (for discussion)
verifycompares the SHA-256 ofrelease-hashes.txtwithrelease_hashes_sha256in the anchor, and exits with an error if they differ or the field is missing.- Optionally,
verifyalso hashes the files in the run folder thatrelease-hashes.txtlists (those present, like--ignore-missing) and fails on a mismatch, so one command replacessha256sum -c. - Tests, as in CONTRIBUTING: honest input passes, and tampered input fails (a changed
recipe.jsonwith a matchingrelease-hashes.txt, a changedrelease-hashes.txt, an anchor without the field). - No change to the bits: this reads existing fields and files only.
Open questions: should an older anchor without the field fail or warn (the contributing rules say fail closed), and does the exclusion fork's anchor have the same field?
Workaround in the docs
PR #358 adds a one-line check to the documented steps (python -c that asserts the hash of release-hashes.txt equals release_hashes_sha256). It works in bash, PowerShell and CMD. This issue is about making verify do it itself.
AI use
I used Claude Code to investigate and draft this issue and to run the commands above.
- 主要言語
- Python
- スター
- 26
- フォーク
- 64
- 平均マージ
- 2日 11時間
- マージ済み PR(30日)
- 71
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/OpenVerifiableLLM のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AOSSIE-Org/OpenVerifiableLLM#357 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Forked runs omit timestamps for inherited chain entries対応中かも @pavithra-r06 が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AOSSIE-Org/OpenVerifiableLLM#334 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: review_ckpt.py passes a run that has .pt files no chain entry covers対応中かも @arshil42 が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AOSSIE-Org/OpenVerifiableLLM#332 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: DigiCert timestamp verification fails on Windows because system_ca() ignores Windows CA bundles対応中かも @pavithra-r06 が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
AOSSIE-Org/OpenVerifiableLLM#290 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: simple/ovl.py bench crashes with TypeError or ZeroDivisionError when stream yields <= 50 updates対応中かも @AdityasagarR123 が 26 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AOSSIE-Org/OpenVerifiableLLM#223 · コメント 2 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
AOSSIE-Org/OpenVerifiableLLM の issue をすべて見る
似ている issue
-
LLMContextNode tool builders fail on nested params like `params:retrieval.max_matches`対応中かも @Shizoqua が今日担当しました。 オープンCommunity
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
btclib-org/portanode#985 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: maps skill OSRM foot/cycling returns car times (router.project-osrm.org ignores profile)オープンcomp/tools P2 tool/skills type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#158494 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
needs-format
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Niko1221/Strata#6475 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信