Skip to content

LANCET Nano v0.6.0

Latest

Choose a tag to compare

@TannerMidd TannerMidd released this 28 Nov 21:17
· 1 commit to main since this release

LANCET Nano v0.6.0 (Round 74 · branchB-ep02)

#1 of 24 guards across 4 benchmarks (77.08 overall · 77.69 Bench 3 · 75.55 #1 unseen local on third-party yannelli/cli-command-risk test) — a 149M-parameter local CPU encoder running completely offline in 46.5 ms median (335 MB steady-state RSS, 33% faster than v0.5.0) with 5.1% pooled safe-command interruption.

Highlights

  • #1 overall across internal + independent third-party benchmarks (77.08): Beats every local challenger (Yannelli d1-3B v1.5: 56.27, OpenVulcan v1-flash: 49.96, v1-standard: 46.43, v1-mini: 31.94) and every hosted frontier decision API tested (Google Gemini Decision 1: 70.57, Perplexity Decider v1.2: 69.69, TypeSafe Jev 1.14: 62.78). Even dropping ShellRisk completely (100% strictly unseen), LANCET Nano v0.6.0 stays #1 (74.49).
  • #1 unseen local model on yannelli/cli-command-risk test (14,055 rows, CC BY 4.0): 75.55 zero-shot (89.3% critical catch, 75.6% high+critical catch, 8.2% safe false alarms, 0 / 4,758 safe hard blocks).
  • Unseen Bench 3 Core: 79.55 (+8.24 over v0.5.0's 71.31), catching 79.55% of risky commands at 9.00% safe interruption (7/3,423 safe blocks).
  • Lowest false-alarm friction among top guards: 5.1% pooled safe interruption across 8,743 unique safe commands (less than half of hosted frontier APIs at 11.5%–21.0%).
  • Modern 1,024-token encoder (jhu-clsp/ettin-encoder-150m, MIT base) + GeGLU Hybrid-W8/INT8 ONNX (145.9 MB): Protects the 22 GeGLU mlp/Wo down-projections with 8-bit weight-only MatMulNBits (FP32 activations) + dynamic INT8 rest (0.0194 median quantization drift), running natively on CPU (onnxruntime==1.32.0) and in browsers (onnxruntime-web@1.30.0).

Benchmark disclosures: Per owner policy (evals/protected-19.json), v0.6.0 fitted on ShellRisk-Bench train+test (GPL gtfobins/nl2bash excluded); ShellRisk (97.41) is in-distribution for v0.6.0 and is not an external check. Bench 3 Core (79.55), Neutral (52.40), and Yannelli CLI-Risk test (75.55, 99.3% unique unseen) remained strictly unseen (Guard.assert_clean verified, zero commands executed). No hosted language-model output (including TypeSafe Jev) was used as training data, labels, teacher targets, or selection signal.

Artifacts & verification

  • lancet-v0.6.0-nano-cpu-int8.zip (159,896,526 bytes / 152.5 MiB)
  • SHA-256: 28eb0eb75f22d28f284a0f000835c1b6b5de20f56594ef52a5fa5a55aee071e3
  • encoder-int8.onnx SHA-256: 71925e633be0e615a0957f337d5edd6069c149b728a9a8b2e5b735bad2925156
sha256sum -c SHA256SUMS.txt
unzip lancet-v0.6.0-nano-cpu-int8.zip
cd lancet-v0.6.0-nano-cpu-int8
python verify_bundle.py --strict
python -m venv .venv && .venv/bin/python -m pip install -r requirements.txt
OPENBLAS_NUM_THREADS=1 printf '{"command":"kubectl delete namespace production","shell":"bash"}\n' | .venv/bin/python classify.py --model model

Links

Licenses

  • Model weights, tokenizer & metadata: Apache-2.0 (upstream jhu-clsp/ettin-encoder-150m is MIT)
  • Runtime & project code: MIT