{ "version": "0.6.2", "id": "llm-security-commons/conformance", "description": "Enumeration and measurement header for the conformance corpus. Every case directory holds input.txt (the exact bytes to scan) and expected.json (the findings a conforming runtime must produce). The normative reading of those files is spec/conformance-corpus.md; this file records where the cases came from and what was measured.", "$comment": "Fixture files carry no individual version field. The corpus is versioned as a whole, here — a case is added, removed or corrected by bumping this version, and a case-id change is a MAJOR bump because consumers name cases.", "case_id_derivation": { "rule": "case_id = pattern_id with ':' replaced by '__', optionally followed by '--' and a variant slug", "reverse": "pattern_id = case_id truncated at the first '--' if present, then '__' replaced by ':'", "why": "':' is not a legal filename character on Windows, and this repository is fork-and-own. '__' does not occur in the ratified id space, so the transform is one-to-one — verified collision-free across all 90.", "stability": "A case id is a stable identifier. Changing one is a BREAKING change.", "variant_suffix": { "added_in": "0.3.0", "syntax": "'--' + a slug of [a-z0-9-]", "purpose": "To hold a SECOND case for one pattern id when the two inputs answer different questions about the same rule. The first such case is hybrid-xss__script-tag--src-no-close: the original case's input matches the pattern under both its pre-0.7.0 and post-0.7.0 forms, so it cannot gate the difference between them, and the variant input can.", "separator_is_unambiguous": "Measured, not assumed: '--' occurs in none of the 83 ratified pattern ids and in none of the 89 case ids that predate this version. Ids use single hyphens throughout. So the reverse transform stays purely LEXICAL — split at the first '--', no lookup against the id list required — which is the property the original one-to-one rule was protecting.", "constraint": "A variant case MUST be scoped and matched exactly like the base case, and MUST expect the same pattern id. The suffix distinguishes INPUTS, never findings. It is not a licence to record a second, different verdict for one rule.", "supersedes": "This replaces the `one_case_per_pattern_id` note carried through 0.2.0, which read: 'The derivation takes a pattern id and nothing else, so a single-finding scope holds at most one case per pattern id — there is nowhere in the name to put a second.' That was an accurate description of the rule and it cost a real case: see `omitted_payloads`, where the guard's seventh active-content payload was dropped for exactly this reason. The rule is now extended rather than worked around. NOTE that the omitted payload has NOT been added back — extending the derivation makes it expressible, but it was omitted on a second ground as well (its in-scope finding set is identical to the case built from coverage.py:476), and that ground still stands unexamined against the new rule. Adding it is a separate decision, not a consequence of this one." } }, "match_semantics": "exact-within-scope", "scope_covered": [ "lexicon/injection-lexicon.json", "signatures/active-content.json", "codepoints/carriers.json" ], "scope_covered_note": "The three entries do NOT have equal standing, and averaging them would misreport all three. `lexicon/injection-lexicon.json` is implemented by both seeding runtimes and its id space is ratified by both. `signatures/active-content.json` is implemented by one; its cases are `not-applicable` for the other under spec/conformance-corpus.md section 1.1, not failures. See that file's `pattern_id_space.single_runtime`. `codepoints/carriers.json` (added in 0.4.0) is a THIRD standing again, and the difference is worth stating rather than leaving to be inferred: BOTH runtimes implement its tables — llm-security builds its zero-width, tag-range and BIDI sets from this very file — but only one of them has published a label for the finding. So its three cases are measured against the guard and are `not-applicable` for llm-security TODAY, for a reason that will lapse: the alias slot in `carriers.json` is empty because that runtime's carrier findings carry no id yet, not because it does not implement the table. This is the only scope in the corpus where `not-applicable` records a missing NAME rather than a missing capability.", "scope_planned": { "$comment": "Named rather than faked. ONE convertible case remains in the guard's coverage matrix (1 secret-egress), blocked on three independent measured reasons rather than on effort, recorded below rather than left as 'no agreement yet'. Through 0.3.4 this read 'Four convertible cases … (3 carrier, 1 secret-egress)'; the three carrier cases were minted in 0.4.0 and moved to `scope_covered`. AMENDED IN 0.5.1: through 0.5.0 this read 'blocked on a distinct unresolved question rather than on effort' — singular, and the singular was load-bearing, because it told a reader the case would become mintable when an answer arrived. Measured 2026-08-13 (`docs/secret-egress-divergence.md`): the blocker is three independent reasons and only ONE of them is an outgoing question. The other two are divergences between the two runtimes that no answer to that question resolves. AMENDED IN 0.5.2: the quotation of `match_semantics` inside the blocker below dropped the backticks the field's value actually carries around `order`, so it misquoted the contract it cites. The value in `signatures/secret-egress.json` is unchanged and was never wrong; only the quotation of it was.", "signatures/secret-egress.json": 1, "blockers": { "signatures/secret-egress.json": "An egress case needs three things this repository cannot supply alone, and the three are INDEPENDENT — none of them is dissolved by a measurement runnable here. Measured 2026-08-13 and recorded in full, with method per number, at `docs/secret-egress-divergence.md`. Coordinates for everything below: commons `signatures/secret-egress.json` file version 0.3.0, 19 entries; the guard's `_SECRET_PATTERNS` in `src/llm_ingestion_guard/output.py` at tag `v0.7.0` = commit `be9759b`, 25 entries, read with `git archive` and never from a working copy; both llm-security seeds at commit `47905da`. (1) NO ID SPACE ON THE COMMONS SIDE. This is the hard blocker and the only one an answer can resolve. Seed A — `hooks/scripts/pre-edit-secrets.mjs`, the table commons ported — carries a name and a pattern per entry and nothing else, so this file's entries are keyed by human-readable `name` (\"GitHub Token\") while the guard emits `egress:` labels. A fixture names labels, and commons has none to name. `provenance.evidence_limits` already records the restraint that leads here: no severity and no per-entry disposition were supplied, so neither was invented. The guard's 25 ids are NOT guard-internal labels — all 25 appear verbatim in seed B (`knowledge/secrets-patterns.md`, blob `a7ed469`, 33 entries), which llm-security owns, measured as set membership on `id` rather than relayed from the guard's docstring. That makes the id space a question for llm-security first and the guard second; it was put to both on 2026-08-13 and is unanswered. Per this repository's naming rule NO id string is proposed here, in the document, or in the outgoing question. (2) MATCH SEMANTICS DISAGREE, and an id space would not close it. This file declares `match_semantics` as \"first match wins; patterns are evaluated in ascending `order`\", marks `ordering.normative: true`, and names `JWT (three-part token)` load-bearing in last position precisely so that a token inside an `Authorization` header is reported as the header. The guard's `scan_secret_egress` runs `finditer` over all 25 patterns and adds a finding for every match; order carries no semantics there and there is no first-match layer. Measured on one witness — an `Authorization` header whose value is a three-part JWT — commons under its own declared contract reports ONE label, `Authorization header with token`; the guard reports TWO, `egress:bearer-token` and `egress:jwt-token`. Both detect the credential. They disagree about what the report says, which is exactly what an `expected.json` encodes, so a fixture would have to pick one of the two. (3) MEMBERSHIP DIVERGES BOTH WAYS AND THE DIVERGENCE IS INHERITED, so re-measuring either port cannot close it. 7 witnesses across 5 commons entries fire here and leave the guard silent; 3 shapes fire at the guard and leave commons silent (`\"type\": \"service_account\"`; an `ENCRYPTED` PEM header, which commons' optional `(?:RSA |EC |DSA |OPENSSH )?` alternation does not carry; and `mongodb+srv://`, where commons catches plain `mongodb://` and misses the SRV form Atlas hands out). Neither port is unfaithful to its source: every shape in the first set is present in seed A and absent from seed B, and every shape in the second is the reverse. The seeds disagree — seed A holds 19 entries, seed B holds 33, and the guard ported 25 of them, leaving 8 unported. So this is a disagreement between two tables inside llm-security, and only that repository can say whether two tables is intentional (one engine-consumed, one agent-consumed) or whether one supersedes the other. CORRECTED IN 0.5.1: through 0.5.0 this text opened \"Not an id-naming question at all. The two runtimes carry DIFFERENT TABLES, not two namings of one\" and then explained the difference as cut points within one lineage — \"19 entries … 25 at different cut points\", \"a table reconciliation that has not happened\". The counts survive; the causal claim does not. The two files are ports of TWO DIFFERENT SOURCE TABLES in the same source repository — commons ported seed A, the guard ported seed B — and the granularity difference is a consequence of that, not the cause. A reconciliation of the two ports would therefore not have produced agreement, which is what the retired text implied was pending. Two hand-carried numbers travelled with the wrong premise and are corrected here as well. `aws-access-key-id` was named \"the one clean one-to-one\": it is not one. Only 2 of 19 commons patterns are byte-identical to a guard pattern after unescaping both sides — `GitHub Fine-Grained PAT` and `OpenAI Legacy API Key` — and AWS is not among them, because the guard anchors the same run as `\\bAKIA[0-9A-Z]{16}\\b`. And `GitHub Token` was called \"four ids there\": measured on witnesses it maps to THREE (`github-pat-classic`, `github-oauth-token`, `github-server-token`) and leaves two prefixes, `ghu_` and `ghr_`, that no guard id covers. Both were transcription errors, not measurement errors. What was retracted is QUOTED above rather than merely dropped — the full retired text stands in git at this file's 0.5.0 — because a correction that does not say what it corrects cannot be audited. STANDING REQUIREMENT, not a fourth reason: `entry_points_by_scope.scopes` carries no entry for `signatures/secret-egress.json` at all — measured on this file at 0.5.0, where the three declared scopes are the lexicon, active-content and carriers. Entry point, findings accessor and fixture presentation must be filled for every runtime before a first case in this scope, whatever the three reasons above do." }, "blockers_resolved": { "codepoints/carriers.json": { "resolved_in": "0.4.0", "resolved_date": "2026-08-13", "outcome": "Three cases minted for the INPUT-side carriers only, under commons-owned ids `carrier:zero-width` / `carrier:bidi-override` / `carrier:unicode-tag`. The full reasoning lives at `codepoints/carriers.json` -> `pattern_id_space` and is deliberately not duplicated here: a decision recorded in two places drifts in one of them.", "how_each_of_the_three_objections_closed": { "a_sanitize_asserts_an_action": "Closed by NOT adopting the guard's labels as the shared ids. Both runtimes answered: the guard ruled the prefix names its `Finding.detector` and offered verbatim adoption; llm-security, asked directly, said the name would make its conformance result read as a claim about neutralisation it does not perform. Measured here 2026-08-13 at guard `be9759b`: on the very surface the guard's own ruling pinned, `sanitize()` returns changed text on all three carriers, so the counterargument's decisive case (`scan_output` mutates nothing) does not reach this surface. The guard's labels are now ALIASES to neutral commons ids, which is the shape the lexicon already had.", "b_three_of_the_six_name_a_gate_llm_security_lacks": "Closed by minting only the input-side three — llm-security's own answer, taken as an operator decision in that repository on 2026-08-13. It rejected three standing failures on the ground that a permanently red gate is one a reader learns to ignore, and rejected a permanently guard-only id space on the ground that it would rather be in the id space than out of it. No artifact-side id is minted; see `carriers.json` -> `pattern_id_space.not_minted`.", "c_no_per_scope_entry_point": "Closed by ADDING the shape rather than by working around it: `entry_points_by_scope` (new in 0.4.0) carries entry point, findings accessor and fixture presentation per scope per runtime. This was the objection neither runtime could answer, and both said so — the guard offering to let the manifest carry the accessor rather than grow an API wrapper for this corpus's benefit, llm-security warning that its carrier entry point cannot see a bare `input.txt`." }, "correction_owed_and_paid": "The retired text below asserts a GENERAL rule — 'The guard's `Finding` carries a `detector` field alongside `label`, and the prefix is that field's value. THE PREFIX NAMES THE DETECTOR'. The guard corrected this unprompted on 2026-08-11, measured at its commit `0903785`: the rule holds for those six carrier labels and is NO law in that runtime. `egress:`, from `scan_secret_egress`, carries `detector=\"output\"`; decode-and-rescan re-labels findings to `decoded:`, producing two-level ids such as `decoded:lexicon:…` and `decoded:egress:…` while `detector` stays the producing module. The claim is therefore SCOPED to the six carrier labels wherever this repository states it, and the general form is not written anywhere — checked across CONVENTIONS.md, README.md, spec/ and docs/ on 2026-08-13. Recorded here rather than by editing the retired text, because the text below is the record of what this repository believed while the question was open, and a silently corrected record cannot be audited.", "retired_blocker_text": "No adoptable id space, and until 0.3.3 the shape of the problem was mis-recorded here. CORRECTED IN 0.3.3: through 0.3.2 this text opened 'The guard emits TWO stage-coupled labels for the same carrier depending on pipeline position — `sanitize:zero-width` (input) versus `output:zero-width-present` (output), and the same split for bidi and unicode-tag'. The split is NOT the same for unicode-tag, and it was not the same on the day that sentence was written: the artifact-side label for tags is `lexicon:unicode-tags-present`, emitted from `lexicon.py`, not an `output:`-prefixed one. Checked at guard commit `e671edb` — the commit this blocker's sibling was measured against — where `coverage.py` already asserted that label, and re-measured at `a59184b`. So the earlier text was wrong when written, not stale. `output.py` states the delegation in a comment: Unicode-tag / PUA stego 'is already surfaced by scan_lexicon (`lexicon:unicode-tags-present`), so it is not repeated'. The labels are therefore not stage-coupled at all. The guard's `Finding` carries a `detector` field alongside `label`, and the prefix is that field's value: `lexicon:unicode-tags-present` carries `detector=\"lexicon\"`, `output:zero-width-present` carries `detector=\"output\"`, `sanitize:*` is emitted by `sanitize.py`. THE PREFIX NAMES THE DETECTOR, not the pipeline stage — and for tags one detector serves both entry points, which is why there is no sixth `output:` label to find. Measured 2026-08-11 at `a59184b`. What remains open is smaller than 'invent a stage-neutral id', and none of it is a naming question. Six labels exist to adopt verbatim, the way the lexicon's 83 ids were adopted from this same runtime: `sanitize:zero-width` / `output:zero-width-present`, `sanitize:bidi-override` / `output:bidi-present`, `sanitize:unicode-tag` / `lexicon:unicode-tags-present`. Three objections stand against adopting them, all measured at llm-security `47905da`: (a) `sanitize:` asserts an ACTION — the carrier was stripped — and llm-security strips nothing. `scanners/unicode-scanner.mjs` exports a single entry point, `scan(targetPath, discovery)`, which reports presence with `scanner: 'UNI'` and a prose `title` and no id at all. Adopting verbatim would hand one runtime an id whose name asserts something it does not do. (b) Three of the six name a persist gate llm-security does not have. The corpus already has the verdict for that — `not-applicable`, spec section 1.1, which attaches to a declared TABLE — and it applies cleanly today, because that runtime's `DECLARED_TABLES` names the lexicon and nothing else (measured at 47905da). WHAT REMOVES IT IS COMMONS PUBLISHING THE ALIAS: their suite derives its registered set by walking each vendored file for any node carrying an `aliases.llm_security` key, then asserts every registered table appears in the declared set — the section 1.1 anti-narrowing floor. The granularity is the FILE, not the entry. So a single carrier id carrying that alias forces `codepoints/carriers.json` into their declared set, obliges them to run all six carrier cases, and converts the three artifact-side ones from not-applicable into failures. Section 1.1 forbids the per-case exit by name, calling it the silent skip section 1 forbids. The choice is therefore between minting only the input-side three, accepting three standing failures that describe an architectural difference rather than a defect, and publishing carrier ids with no llm_security alias at all — a guard-only id space, worth choosing out loud rather than arriving at by omission. (c) The entry point pinned for llm-security in `measurement.runtimes` (`scanForInjection`, the injection scanner) does not reach carriers at all; carrier findings there come from the path-based unicode scanner instead. A carrier case therefore needs a per-scope entry point per runtime, which this manifest expresses nowhere — it pins one entry point per runtime for the whole corpus. Note that both runtimes already consume this file's tables: llm-security builds its zero-width, tag-range and BIDI sets from `codepoints/carriers.json` via `scanners/lib/codepoints.mjs`. The divergence is in what the finding is CALLED and where it can be observed, never in which code points are carriers. STATUS: put to both runtimes as a decision request on 2026-08-11 over coord, carrying exactly the three objections above and asking each the question only it can answer - the guard whether `lexicon:` on the tag path is intentional and whether `sanitize:` names a detector or an action, llm-security whether it adopts commons ids for carriers at all and which of not-implemented-per-runtime or mint-only-the-input-side it wants. Unanswered as of this version. A correction followed the same day, on this repository's own error: the request asserted that the corpus had no third verdict for an unreachable case, when section 1.1's `not-applicable` is exactly that and the registration mechanism above is what would take it away. Nothing is minted until both have ruled, and a further reason not to pre-mint is that publishing a single alias is itself the irreversible act — it moves another runtime's declared set by force of its own test suite." } } }, "omitted_payloads": [ { "source": "llm-ingestion-pipeline-security src/llm_ingestion_guard/coverage.py:484, at commit de09711 (line numbers are commit-relative; the structure is the fifth `_scan_case` of `_build_cases()`'s `active` group)", "described_as": "opaque (base64) path segment", "expected_label": "active:markdown-image", "reason": "Its in-scope finding set is `[active:markdown-image]` — identical, measured, to the case built from coverage.py:476. The only thing that distinguishes it is `entropy:base64-blob`, and this repository publishes no entropy table, so the difference falls outside every declared scope. A second case could not have failed in any way the first does not, and the case-id derivation had no room for it.", "$comment": "Recorded so that 6 built from 7 offered reads as a decision rather than as a miscount.", "derivation_ground_withdrawn_in_0_3_0": "The second half of `reason` — that the derivation has no room for a second case per pattern id — stopped being true in 0.3.0, when `case_id_derivation.variant_suffix` was added. It is left in the text above with this note rather than silently deleted, because the omission decision was taken on TWO grounds and only this one lapsed. The first ground stands: the payload's in-scope finding set is identical to the case already built, so it still could not fail in any way that case does not. The payload therefore remains omitted, on one ground instead of two. Re-examining it is a separate decision." } ], "authored_payloads": [ { "case_id": "hybrid-xss__script-tag--src-no-close", "added_in": "0.3.0", "added_date": "2026-08-11", "input": "` classifies `raw-html` on both its tags — `script` is in the scanner name set, in neither `url_affordance_tags` nor `link_tags` — and the other five inputs carry no HTML tag at all.", "the_one_that_moved": { "case": "html-obfuscation__aria-label", "input": "link", "scope": "lexicon/injection-lexicon.json", "what_moved": "Its `observed_out_of_scope.llm_ingestion_guard` records `active:raw-html`. At v0.7.0 the guard no longer emits it: `aria-label` is not a URL-bearing attribute, so both the `` and the `` fall to the no-URL narrowing and the case's only finding is the lexicon one.", "verdict_unaffected": "The case is scoped to the lexicon and its in-scope finding set is unchanged, so no runtime's pass/fail result moves. Under spec/conformance-corpus.md section 5 a runtime MUST NOT be failed for disagreeing with `observed_out_of_scope` and MUST NOT be required to reproduce it.", "fixture_deliberately_not_rewritten": "The recorded value is TRUE at the commit it was measured at — `measurement` pins 0bf0729 and dates 2026-08-10 for all 83 lexicon cases, and the guard emitted `active:raw-html` there. Rewriting this one fixture to be9759b would leave 82 residue records at one commit and one at another, all under a header that names a single commit for the set: one pin standing for two measurements, which is the defect `active_content_provenance` was split out to avoid. The drift is therefore recorded here, dated and pinned, rather than smoothed into the fixture.", "what_would_change_it": "A re-measurement of the whole lexicon corpus at a newer commit, which would re-pin `measurement` and rewrite every residue record together. That is a separate decision and has not been taken." }, "residue_is_the_field_no_test_protects": "Worth naming as a class rather than as an incident. `findings` is guarded by every runtime that runs the corpus; `observed_out_of_scope` is evidence, so a stale entry there passes every test forever. It is checked here because nothing else checks it." }, "results": { "cases_built": 1, "cases_verified_independently": 1, "failed_checks": 0, "cases_with_out_of_scope_residue_in_the_guard": 0, "classifier_probe_tags_compared": 42, "classifier_disagreements": 0 } }, "count": 94, "count_by_scope": { "lexicon/injection-lexicon.json": 84, "signatures/active-content.json": 7, "codepoints/carriers.json": 3 }, "count_by_scope_$comment": "84 lexicon-scoped cases, of which 83 come from the guard's _LEX_PAYLOADS one-per-pattern-id (see payload_provenance) and one was authored here (see authored_payloads). The lexicon count therefore no longer equals the pattern count, and that is deliberate as of 0.3.0 — a pattern id may carry a variant case. See case_id_derivation.variant_suffix. As of 0.4.0 a third scope is counted: 3 carrier-scoped cases, one per input-side carrier id. Those three are the first in this corpus whose INPUTS were authored here rather than reproduced from a runtime's payload set — see carrier_measurement.inputs_chosen_rather_than_taken. As of 0.5.0 the active-content scope holds 7 rather than 6: the seed runtime shipped a new class at its v0.7.0 and it was adopted with its own payload — see active_content_measurement_0_7_0. That scope's count still equals its published id count, one case per id, which the lexicon's no longer does.", "cases": [ "override__ignore-previous", "override__forget-instructions", "override__disregard", "override__override-instructions", "override__suspend-constraints", "override__prior-constraints", "spoofed-header__hash-system", "spoofed-header__inst", "spoofed-header__pipe-system", "spoofed-tag__system-open", "spoofed-tag__system-close", "spoofed-header__instructions", "identity__no-longer", "identity__you-are-now", "identity__new-role", "identity__new-directive", "identity__pretend", "config__ignore-claudemd", "config__override-system-prompt", "config__bypass-safety", "config__disable-filtering", "normalization__prioritize-user", "normalization__user-precedence", "normalization__claudemd-conflict", "normalization__skip-confirmation", "reframing__actual-task", "reframing__real-purpose", "reframing__should-actually-do", "hidden-comment__agent-directed", "html-obfuscation__display-none", "html-obfuscation__visibility-hidden", "html-obfuscation__offscreen", "html-obfuscation__zero-font", "html-obfuscation__zero-opacity", "html-obfuscation__zero-size-overflow", "html-obfuscation__aria-label", "evasion__educational", "evasion__hypothetical", "evasion__fictional", "evasion__red-team", "evasion__security-audit-sim", "evasion__test-pretense", "evasion__thought-experiment", "evasion__research-purpose", "evasion__academic-context", "hitl-trap__approve-immediately", "hitl-trap__no-need-review", "hitl-trap__just-approve", "hitl-trap__suppress-review", "hitl-trap__brevity-skip", "hitl-trap__too-long", "hitl-trap__details-omitted", "hitl-trap__scope-minimization", "leetspeak__ignore-previous", "leetspeak__forget-instructions", "leetspeak__disregard", "leetspeak__override", "homoglyph__cyrillic-latin-mix", "unicode__zero-width-in-word", "indirect__instruction-to-ai", "indirect__direct-address", "indirect__trigger-based", "multi-lang__french", "multi-lang__spanish", "multi-lang__german", "markdown__link-ref-comment", "data-uri__executable", "markdown__link-anchor-injection", "sub-agent__spawn-dangerous", "sub-agent__delegate-bypass", "nl-indirection__fetch-execute", "nl-indirection__send-external", "nl-indirection__read-dotfile", "nl-indirection__extract-exfiltrate", "nl-indirection__download-execute", "hybrid-p2sql__inject-sql", "hybrid-p2sql__sql-inject", "hybrid-recursive__inject-output", "hybrid-recursive__conditional-response", "hybrid-xss__script-tag", "hybrid-xss__script-tag--src-no-close", "hybrid-xss__javascript-uri", "hybrid-xss__event-handler", "hybrid-xss__iframe-src", "active__markdown-image", "active__markdown-link", "active__reference-link", "active__autolink", "active__raw-html", "active__raw-html-link", "active__data-uri", "carrier__zero-width", "carrier__bidi-override", "carrier__unicode-tag" ], "entry_points_by_scope": { "added_in": "0.4.0", "$comment": "`measurement.runtimes[*].entry_point` pins ONE entry point per runtime for the corpus as a whole, and that was sufficient for exactly as long as every case was reachable from one surface. It is not sufficient for carriers: neither pinned entry point reaches them. This block states, per scope per runtime, the three things a runtime needs in order to run a case at all, and it exists because both consuming runtimes said independently that the manifest was the right place for it.", "fields": { "entry_point": "The public API call. Never a private symbol and never a rebuilt table.", "findings_accessor": "How findings are reached FROM that call's return value. Present because return shapes are not uniform across scopes even within one runtime, and a corpus that assumed uniformity would be asking a runtime to grow a wrapper for its benefit.", "fixture_presentation": "How `input.txt` must reach the entry point. Present because at least one runtime's carrier surface is PATH-based: it cannot measure a bare string, and a fixture handed to it as loose text measures nothing while looking like a pass." }, "scopes": { "lexicon/injection-lexicon.json": { "llm_security": { "entry_point": "scanForInjection(text) — scanners/lib/injection-patterns.mjs", "findings_accessor": "the returned array", "fixture_presentation": "the decoded bytes of input.txt as a string" }, "llm_ingestion_guard": { "entry_point": "scan_output(text, source=Source.OUTPUT)", "findings_accessor": ".findings", "fixture_presentation": "the decoded bytes of input.txt as a string" } }, "signatures/active-content.json": { "llm_security": { "status": "not-applicable", "basis": "Does not implement this table (measured at b0de0ca; see active_content_measurement.runtimes)." }, "llm_ingestion_guard": { "entry_point": "scan_output(text, source=Source.OUTPUT)", "findings_accessor": ".findings", "fixture_presentation": "the decoded bytes of input.txt as a string" } }, "codepoints/carriers.json": { "llm_security": { "status": "not-applicable-today", "basis": "Implements the tables but publishes no carrier label yet, so `codepoints/carriers.json` carries no `aliases.llm_security` and falls outside its declared set. See carriers.json -> `pattern_id_space.llm_security_alias_deliberately_absent`.", "entry_point_when_it_applies": "scan(targetPath, discovery) — scanners/unicode-scanner.mjs", "entry_point_basis": "Stated by that runtime on 2026-08-13, together with the confirmation that `scanForInjection` — the entry point this manifest pins for the lexicon scope — does not reach carriers at all.", "fixture_presentation": "NOT a bare input.txt. That entry point is path-based and takes a `discovery` argument, so the fixture must be presented as a DISCOVERED FILE, not merely as a file on disk. Recorded at that runtime's explicit request, so the first implementer does not find the difference the hard way." }, "llm_ingestion_guard": { "entry_point": "sanitize(text, source=Source.INPUT)", "findings_accessor": ".report.findings", "findings_accessor_note": "One level deeper than every other scope: `sanitize` returns `SanitizeResult(text, report)`. Verified 2026-08-13 at `be9759b`.", "fixture_presentation": "the decoded bytes of input.txt as a string", "why_not_prepare_input": "`prepare_input` reaches the same findings but adds fence findings and a nonce, so a carrier case measured through it would be measuring two things at once. Named by the guard in its ruling of 2026-08-11.", "raises_rather_than_reports": "This is the only entry point in the corpus that RAISES: `sanitize` throws `OversizeInputError` above `max_input_chars`. No case here approaches that bound — the largest carrier fixture is 57 bytes — and a case that did would be measuring the refusal, not the carrier." } } } }, "carrier_measurement": { "added_in": "0.4.0", "date": "2026-08-13", "method": "Each input was run through the guard's PUBLIC input surface — `sanitize(text, source=Source.INPUT)`, findings read at `.report.findings` — not through a rebuilt code-point table. Findings were split into in-scope and residue by MEMBERSHIP in the alias values published in `codepoints/carriers.json` -> `pattern_id_space`, never by the `carrier:` or `sanitize:` prefix (spec/conformance-corpus.md section 4). All three inputs produced exactly one in-scope finding and no residue.", "verification": "The generated fixtures were then re-read from disk by a separate checker that re-computed each digest twice (Python hashlib and the external `shasum -a 256`), re-scanned the bytes, re-resolved the alias map from the published file, re-derived each pattern id from its case id lexically, and applied `exact-within-scope` independently of the generator — a generator agreeing with itself proves nothing. 3 cases, 0 failed checks. The same run confirmed the three new ids collide with no id in the lexicon or active-content spaces, and that all 93 case directories are unique.", "runtimes": [ { "name": "llm_ingestion_guard", "repo": "llm-ingestion-pipeline-security", "commit": "be9759b4b3bdb7e6b013fd8e3b4f4f0344ee5833", "version": "0.7.0", "entry_point": "sanitize(text, source=Source.INPUT)", "engine": "CPython 3.14.0", "measurement_limit": "Read from a scratch tree extracted with `git archive v0.7.0`, so the tag was measured rather than whatever the working copy happened to be on — its HEAD was one commit further along." }, { "name": "llm_security", "repo": "ssh://git@git.fromaitochitta.com/open/llm-security.git", "status": "not-applicable", "status_basis": "Not run, and the reason is a NAME rather than a capability: this runtime implements the carrier tables — it builds its zero-width, tag-range and BIDI sets from this file — but its carrier findings carry no id yet (`scanner: 'UNI'`, a severity and a prose title, stated by it on 2026-08-13). Until it publishes a label and the alias is added here, the file is outside its declared set and these three cases are `not-applicable` under spec section 1.1.", "measurement_boundary": "This repository does not execute consumer code and its carrier entry point is path-based besides, so no result for this runtime was produced by any means. `observed_out_of_scope` naming only the guard is therefore a measurement boundary, not an oversight — the same boundary `authored_payloads` records for the variant lexicon case." } ], "inputs_chosen_rather_than_taken": "Unlike the 83 lexicon cases and the 6 active-content ones, these three inputs come from no runtime's payload set — neither runtime ships carrier payloads. They were authored here and each was checked to produce exactly one in-scope finding and no residue, so that each case measures ONE carrier. Candidate inputs whose tag payload decoded to an injection string were probed and set aside for the same reason `prepare_input` was set aside as an entry point: a fixture that trips two detectors measures two things.", "known_boundary_not_minted": "U+200D between two emoji is EXEMPT on both of the guard's surfaces since v0.6.1, and the guard warned that a naive zero-width fixture carrying an emoji-adjacent joiner would be failed by design. Verified here at `be9759b`, and the zero-width fixture carries a bare U+200B between two letters instead. The exemption itself is a real behavioural boundary and a candidate variant case; it is NOT minted, because three cases were ratified and because whether the exemption is a shared rule or one runtime's policy has not been put to the other runtime." } }