Inspect what a fine-tuned model or LoRA was trained to do just by reading its weights on CPU (LoRA, MLX, GGUF, MoE, merged checkpoints, and 4-bit ONNX). No GPU, no prompts run, no base-model downloads.
Static weight checks give you leads on what to test, not a safety guarantee. Small/4-bit models (≤ 1.5B) are noisier so check decoded words and --probe; wrappers/personas can look structurally similar to backdoors. Tested mainly on macOS (Linux uses a pure-Rust faer fallback).
In regular software we’ve had static inspection for decades — you look at a binary before executing it. With open-weight AI, almost everyone downloads a LoRA or checkpoint and runs it blind.
Most people don’t have spare GPUs just to sanity-check a 30B adapter. Seeing how much signal sits right inside the raw weight diff on a regular laptop CPU makes static checks practical for anyone.
Static math isn’t magic — tiny models get noisy, and surgical weight-removal can look clean on paper while a backdoor still fires live. Publishing real reports (and blind spots) keeps the research honest.
Fetches only the base embed_tokens, lm_head, and final norm (via HTTP Range requests), strips the top 3 shared anisotropy/boilerplate directions, and projects ΔW singular vectors onto the vocabulary.
Scores Lock, Tilt, Gate, Rewire, and Erase against each model’s own vocabulary size and Marchenko–Pastur random baseline (3/d_model) instead of fixed thresholds that over-flag normal fine-tunes.
Measures default SwiGLU output drift analytically via Stein’s identity, classifies per-head ΔOV roles (copy, suppress, remap), and checks <bos> prompt-start attention sinks.
Stacks noisy per-layer READ slices so weak triggers emerge above noise, tests private down_proj ↔ gate/up links and forward vs. reverse relays, and isolates individual MoE experts (plus 4-bit ONNX/GGUF quantization-noise subtraction).