41  Recipe: evidence for a standards-mapped control statement

Field Value
Tool garak / your run records + the os#210 registry (the verifier CLI is aspirational-only)
Section Administrator
Level medium
Time ~30 min per control statement
Layer/Category admin (cross-layer)
Tags admin, verifier, aisvs, mlsvs, owasp-llm-top10, evidence, pending

41.1 Problem

A standards-mapped claim is only as good as the run evidence each control row carries. The example claim: “this deployment verifies at AISVS 1.0 level 2 / the OWASP LLM Top 10 / MLSVS”. Today Kailash ships NO verifier tooling: the pre-#210 D-7 surface (kailash verifier) mapped to toolkit rows whose claimed upstream repositories were never created. The os#210 audit removed all of them (os#210; the standards THEMSELVES are real and published). The task: an evidence chain for control claims that is honest NOW, using only real tools.

41.2 Solution

Assemble the control statement from what exists today — run records + the published standards + the manifest’s own mapping fields:

# 0. Confirm your lab surface ran at ALL (the input to any mapping):
#    e.g. [Attack the platform, then verify](../attack-defence/attack-then-verify.html)
#    leaves a --record JSON (real, verbatim-backed); a garak run leaves a
#    .jsonl report. A control statement without run evidence is a wish.

# 1. Pin the run to the tool row (the manifest is the mapping record):
kailash info garak | grep -i -A4 owasp
#    -> the row's owasp_llm map (both epochs)
kailash info garak | grep -i atlas
#    -> the row's ATLAS technique ids

# 2. Open the standard you are mapping TO (published, upstream):
#      AISVS 1.0: https://github.com/OWASP/AISVS (levels + ASVS alignment)
#      OWASP LLM Top 10 (2026 + v2:2025 epochs)
#    Read the requirement text from the standard, NEVER a hand-copy.

# 3. Bind the run: your report's citation skeleton per control —
#      "control <requirement-id> (AISVS 1.0, level 2): exercised by
#       garak --spec tag:owasp:llm01 (report <file>, tool pin <rev>),
#       target <endpoint>, recorded <date>"
#    the run record makes it REPRODUCIBLE; the tool pin makes it
#    RE-RUNNABLE; the standard's requirement text makes it CHECKABLE.

# 4. State the level (or epochs) explicitly in every downstream
#    citation — it is part of the claim, not a knob.

What success looks like:

  • every rendered control statement traces to a manifest field or a published standard clause
  • no hand-copied control text sits anywhere
  • the report’s citation names the standard + level, the tool + pin, the run record, and the date
  • all four, or the claim is unfinished
  • kailash manifest validate stays green (the mapping’s ground truth is the same manifest the CLI bakes)

41.3 Discussion

  • The verifier CLI is aspirational-only: the verifier-CLI row, the three standards toolkit packs, and the ASVS toolkit ride the os#210 registry. None was ever built. When a verifier ships via the rebuild contract, this recipe re-opens with real kailash verifier invocations per the spec’s standard-first mode.
  • What a verified control statement looks like (now): a requirement-id, a mechanism, and run-reproduction. “AISVS 1.0 § level 2 — verified by against on ” — with the record itself attached (a garak JSONL, an mlflow-pair –record JSON). The book’s no-invented-evidence rule applies: a claim with no verbatim run behind it is not evidence.
  • Level choice is a posture decision, not a decoration: AISVS levels are ascending depth-of-assurance per requirement. Pick the level the AUTHORISATION context demands (e.g. IRAP/ISM-mapped work wants the higher levels evidenced, not just level 1) and STATE it in every downstream citation.
  • LLM Top 10 has two epochs: the manifest’s owasp_llm field maps both {2026: ...} and {v2: ...} per row — a report naming only one epoch is incomplete for any audience spanning the v2:2025 → 2026 transition.
  • NIST/ISO governance packs are also registry riders: the D-6 packs (ISO/IEC 42001 AIMS, NIST AI RMF, EU AI Act) were phantom-origin rows, removed — see os#210. Governance-work products wait on the rebuild contract; the TECHNICAL verification leg above is real today.

41.4 See also


ref: the published AISVS/LLM-Top-10 standards + the manifest’s mapping fields at the current purged manifest - verified 2026-10-14. The pre-#210 verifier invocation shapes (spec §6.2) rode phantom-upstream rows and are superseded by the os#210 purge; worked sessions: PENDING on the tools existing (rebuild contract, os#210).