Skip to content

Forensics Playbook ​

ModelPrism's forensic workflow pairs statistical distance metrics with raw-sample inspection so investigators distinguish hard evidence from heuristics.

Six High-Risk Forensic Patterns ​

  1. Pattern A — Unofficial XML / Control Tag Leaks: Strings such as <thinking_mode>enabled</thinking_mode>, <max_thinking_length>, or raw <|im_start|> tokens in visible output indicate reverse-bridge injection (e.g., Kiro / CodeWhisperer bridges). Follow up with sig-check.
  2. Pattern B — Distinct Claimed Models Colliding in pairwiseMatrix: Two differently labeled models on the same gateway dropping below same-model thresholds (u_reg_clipped <= 0.059, hybrid <= 0.315, p >= 0.05) cannot both be authentic simultaneously.
  3. Pattern C — Impossible Token Arithmetic & Tokenizer Mismatch: output_tokens - reasoning_tokens of 1–2 tokens producing full #RRGGBB hex literals, or constant cross-prompt input_tokens deltas across 20 bilingual cells.
  4. Pattern D — msg_01... Response ID Pitfalls: Non-Base58 characters prove local forgery; valid Base58 UUIDv7 format is necessary but not sufficient proof of authenticity since UUIDv7 carries no cryptographic signature.
  5. Pattern E — High-Dispersion Unbiased U Shrinkage (highDispersionUShrinkageRisk): Excess self-dispersion (> +0.08) subtracts large d_UU and can pull u_reg_clipped toward an unrelated model while hex_jsd > 0.60 and hybrid > 0.38. Never declare an impostor identity under this flag.
  6. Pattern F — Claude 1-Bit Signature Outcomes:
    • verified_strict: Flipping 1 bit triggers strict HTTP 400 rejection.
    • ignored_by_proxy: Server still returns HTTP 200 on a corrupted signature.
    • forged_uuid_signature: Proxy emits synthetic UUID strings.
    • no_thinking_block: Missing native signature field.

Analyzing WebUI Exports Offline ​

sh
node <SKILL_DIR>/scripts/modelprism.mjs forensics \
  --input hueprint-site-audit-2026-12-05.json \
  --out forensics.json \
  --report-md forensics-report.md