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

Aperta
#166 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
markdown, python
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
JavaScript
Stelle
177
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GenAI-Security-Project/GenAI-LLM-Top10

Tutte le issue di GenAI-Security-Project/GenAI-LLM-Top10

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.