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
- 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 withsig-check. - 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. - Pattern C — Impossible Token Arithmetic & Tokenizer Mismatch:
output_tokens - reasoning_tokensof 1–2 tokens producing full#RRGGBBhex literals, or constant cross-promptinput_tokensdeltas across 20 bilingual cells. - 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. - Pattern E — High-Dispersion Unbiased U Shrinkage (
highDispersionUShrinkageRisk): Excess self-dispersion (> +0.08) subtracts larged_UUand can pullu_reg_clippedtoward an unrelated model whilehex_jsd > 0.60andhybrid > 0.38. Never declare an impostor identity under this flag. - Pattern F — Claude 1-Bit Signature Outcomes:
verified_strict: Flipping 1 bit triggers strictHTTP 400rejection.ignored_by_proxy: Server still returnsHTTP 200on 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