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

Open
#166 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
markdown, python
Domain
documentation

Research direction

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.

Written by the indexing model from the issue text.

Description

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.
Dominant language
JavaScript
Stars
177
Forks
57
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/GenAI-LLM-Top10

All issues in GenAI-Security-Project/GenAI-LLM-Top10

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.