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

Abierto
#166 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
markdown, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
JavaScript
Estrellas
177
Forks
57
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GenAI-Security-Project/GenAI-LLM-Top10

Todos los issues de GenAI-Security-Project/GenAI-LLM-Top10

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.