[2026 errata] 2026/working/ and 2026/final/ disagree on which risk LLM03-LLM10 identifies (slug/numbering drift)

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
markdown, python
領域
documentation

調査の方向性

Start with the reproduction script in the issue, which lists each 2026/working/ and 2026/final/ LLM##_*.md file and compares the first heading, and check 2026/working/README.md. Confirm the eight mismatched IDs LLM03-LLM10 against 2026/final/. The maintainers still need to choose between documenting the drift in 2026/working/README.md and adding a CI check, so agree that choice in the thread before editing. Done means the chosen fix is in place and the script's output matches the stated baseline.

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

説明

Affected section

Other

Where does the issue appear?

GitHub source

What is incorrect?

README.md states 2026/final/ is the canonical source for the published 2026 release and 2026/working/ holds "historical working files and release-cycle tooling". However, for 8 of the 11 LLM00-LLM10 entries, 2026/working/ and 2026/final/ assign the same numeric ID to two different risks: the filename, and the first markdown heading inside it, both disagree between the two directories.

ID 2026/working/ topic 2026/final/ (canonical) topic
LLM03 Supply Chain Excessive Agency
LLM04 Data and Model Poisoning Supply Chain
LLM05 Improper Output Handling Data and Model Poisoning
LLM06 Excessive Agency Unbounded Consumption
LLM07 Hidden Context Exposure Misinformation
LLM08 Vector and Embedding Weaknesses Hidden Context Exposure
LLM09 Misinformation Vector and Embedding Weaknesses
LLM10 Unbounded Consumption Improper Output Handling

(LLM00, LLM01, LLM02 agree between the two directories.)

This is not a historical footnote: 2026/working/polling/scripts/sync_sprint2.py (see #164) actively reads "existing entries" from 2026/working/ to rebuild issues.json, which drives the Sprint 2 GitHub issue labels and the Apps Script voting form. Any tooling, cross-reference, or contributor that assumes 2026/working/LLM0X_*.md still names the same risk as the canonical 2026/final/LLM0X_*.md will attach the wrong topic to the wrong ID. For reference, the existing issues.json registry itself has a third set of titles for several of these IDs (e.g. LLM07 is recorded there as "System Prompt Leakage", matching neither directory), which is additional evidence that this numbering has silently drifted across the project's history and nothing currently detects it.

Proposed correction

At minimum, document in 2026/working/README.md (or at the top of each drifted file) that the ID in 2026/working/<file> no longer corresponds to the same-numbered entry in 2026/final/, and/or add an automated check so this drift is a deliberate, reviewed decision rather than a silent accident (a follow-up PR adding such a check is referenced below). Resyncing 2026/working/ to match 2026/final/'s numbering is the more thorough fix, but out of scope for this report since it would require coordinating with whatever Sprint 2 state currently depends on the old IDs.

Supporting evidence

Reproduced on origin/main @ 9253e38, Python 3.11, no network access, read-only (lists each directory and parses the first markdown heading of every LLM##_*.md file):

python -c "
import pathlib, re

root = pathlib.Path('.')
heading_re = re.compile(r'^#{1,6}\s+(.+?)\s*#*\s*$')

def load(dir_name):
    out = {}
    for p in sorted((root / '2026' / dir_name).glob('LLM[0-9][0-9]_*.md')):
        entry_id = p.name.split('_', 1)[0]
        text = p.read_text(encoding='utf-8')
        heading = next((heading_re.match(l.strip()).group(1).strip()
                         for l in text.splitlines() if heading_re.match(l.strip())), '')
        out[entry_id] = (p.name, heading)
    return out

working = load('working')
final = load('final')

mismatches = [eid for eid in sorted(set(working) | set(final)) if working.get(eid, ('-',))[0] != final.get(eid, ('-',))[0]]
for eid in mismatches:
    print(eid, '->', working[eid][0], 'vs', final[eid][0])
print(len(mismatches), 'of', len(set(working) | set(final)), 'entry IDs mismatched:', mismatches)
"

Output:

LLM03 -> LLM03_SupplyChain.md vs LLM03_ExcessiveAgency.md
LLM04 -> LLM04_DataModelPoisoning.md vs LLM04_SupplyChain.md
LLM05 -> LLM05_ImproperOutputHandling.md vs LLM05_DataModelPoisoning.md
LLM06 -> LLM06_ExcessiveAgency.md vs LLM06_UnboundedConsumption.md
LLM07 -> LLM07_HiddenContextExposure.md vs LLM07_Misinformation.md
LLM08 -> LLM08_VectorAndEmbeddingWeaknesses.md vs LLM08_HiddenContextExposure.md
LLM09 -> LLM09_Misinformation.md vs LLM09_VectorAndEmbeddingWeaknesses.md
LLM10 -> LLM10_UnboundedConsumption.md vs LLM10_ImproperOutputHandling.md
8 of 11 entry IDs mismatched: ['LLM03', 'LLM04', 'LLM05', 'LLM06', 'LLM07', 'LLM08', 'LLM09', 'LLM10']

A companion validator PR adding .github/scripts/check_working_final_entry_drift.py, which pins this exact mismatched-ID set as a tracked baseline so any further, undocumented change to either directory's numbering is caught in CI, will follow this issue.

Acknowledgments
  • I checked the published release and the canonical GitHub source for an existing correction.
  • I agree to follow the OWASP Code of Conduct.
主要言語
JavaScript
スター
177
フォーク
57
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

GenAI-Security-Project/GenAI-LLM-Top10 のほかの issue

GenAI-Security-Project/GenAI-LLM-Top10 の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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