Skip to content

docs: map hooks to OWASP LLM Top 10 2026 - #38

Merged
karanb192 merged 2 commits into
mainfrom
docs/owasp-2026-mapping
Aug 18, 2026
Merged

docs: map hooks to OWASP LLM Top 10 2026#38
karanb192 merged 2 commits into
mainfrom
docs/owasp-2026-mapping

Conversation

@karanb192

Copy link
Copy Markdown
Owner

What

Adds docs/owasp-llm-top-10-2026.md: a per-risk mapping of every hook in this repo against the OWASP Top 10 for LLM Applications, 2026 edition. The doc carries the 10-row verdict table, a 2025 to 2026 what-moved section, and a scoping pointer to the OWASP Top 10 for Agentic Applications with the four ASI risks these hooks land on. The README gets a short OWASP mapping section linking the doc, and the stale Claude Code hooks docs URL now points to https://code.claude.com/docs/en/hooks.

Why

OWASP shipped the 2026 edition in early August: the official resource page announces it on August 3, 2026, and the OWASP project page says published August 4, 2026. Canonical entry files: GenAI-Security-Project/GenAI-LLM-Top10. Excessive Agency moved up to LLM03 in this edition, and that is the risk this repo exists for, so the repo should say precisely where it lands on the new list.

Mapping philosophy: honest verdicts. Risks a runtime tool-call hook genuinely covers are marked covered; risks it cannot touch (training-time poisoning, model supply chain, misinformation) are marked N/A instead of stretched into a claim; gaps that fit the hook model (rate limiting, output scanning, dependency validation) are named as wanted contributions.

Tests

npm test on this branch (docs-only change, suite untouched):

ℹ tests 1238
ℹ suites 233
ℹ pass 1238
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0

Adds docs/owasp-llm-top-10-2026.md: a per-risk mapping of every hook
against the official 2026 list, with honest verdicts (N/A named as N/A),
a 2025 to 2026 what-moved section, and a pointer to the Agentic Top 10.
Also links the doc from the README and fixes the stale hooks docs URL.
Rebased on main after both hooks merged: LLM01 gains config-guard
(the agent cannot rewrite hook config) and instructions-audit
(poisoned instruction files lock the session); LLM08 names
instructions-audit for the inbound half instead of listing it as a
wanted contribution.
@karanb192
karanb192 force-pushed the docs/owasp-2026-mapping branch from 9385349 to f27a5a7 Compare August 18, 2026 03:36
@karanb192
karanb192 merged commit 0b70c86 into main Aug 18, 2026
3 checks passed
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.

1 participant