Skip to content

docs: fix lab manual table anchors and unwrap OWASP links - #36

Merged
maryammouzarani2024 merged 2 commits into
OWASP:developmentfrom
afshinlamei:fix/labs-table-anchors
Nov 5, 2026
Merged

maryammouzarani2024 merged 2 commits into
OWASP:developmentfrom
afshinlamei:fix/labs-table-anchors

Conversation

@afshinlamei

Copy link
Copy Markdown

Problem

In docs/labs.md, every row of the lab index table linked to #model-theft-attack, so 14 of the 15 lab links jumped to the Model Theft section instead of their own. Five OWASP LLM-risk links (rows 4, 6, 7, 8, 14) were also wrapped in https://www.google.com/search?q=... instead of pointing straight at genai.owasp.org.

Fix

  • Point each table row at its real section anchor. Anchors were verified against a local mkdocs build with mkdocs-material (the toc slugs for headings containing &, / and - are not obvious, e.g. #direct-prompt-injection-system-prompt-leakage, #agentic-sql-routing, #when-a-support-bot-disparages-its-own-brand). Row 1 was already correct.
  • Unwrap the five google.com/search links to their direct genai.owasp.org/llmrisk/... targets.

Testing

Rebuilt the site locally and confirmed all 15 table anchors resolve to an existing heading id, and that no google.com/search link remains.

Independent of the content PRs (#29/#30/#35) — it only touches the table at the top of the file, not the lab sections those PRs edit.

🤖 Generated with Claude Code

Every row of the lab index table linked to #model-theft-attack, so 14 of
the 15 "lab" links jumped to the wrong section. Point each row at its real
MkDocs-generated section anchor (verified against a local mkdocs-material
build). Row 1 (model theft) was already correct.

Also unwrap five OWASP LLM-risk links that were wrapped in
google.com/search?q=... (rows 4, 6, 7, 8, 14) so they point straight at
genai.owasp.org.
@maryammouzarani2024
maryammouzarani2024 merged commit 36c081f into OWASP:development Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants