TinkerLab
ARTIFACT // AUDIT-GGUF-AND-RUN-TESS45-NAMAZU-LLAMACPP11.SH (SHELL)

GGUF Supply-Chain Audit (gguf-radar & CVE-2026-137567) + Tess-4.5 & Namazu Small llama.cpp v1.1.0 Launcher (audit-gguf-and-run-tess45-namazu-llamacpp11.sh)

Audits downloaded GGUFs with gguf-radar for trailing RAT payloads or hijacked Jinja2 chat templates, verifies llama.cpp >= b12658 (CVE-2026-137567 fix), and launches Tess-4.5-26B-A3B or Namazu Small with Q8_0 KV cache on iBUYPOWER AI Halo or Minisforum M2 PRO-358H.

[KEY VERIFIED TAKEAWAY / TL;DR]This reproducible configuration artifact "GGUF Supply-Chain Audit (gguf-radar & CVE-2026-137567) + Tess-4.5 & Namazu Small llama.cpp v1.1.0 Launcher" (audit-gguf-and-run-tess45-namazu-llamacpp11.sh, SHELL) is paired with Tinker AI Lab's hardware-verified guide "ibuypower-ai-halo-minisforum-m2-pro-sakana-namazu-tess45-llamacpp11-gguf-security". It exposes 5 customizable browser variables (RUN_MODE=gguf_radar_audit, GGUF_PATH=./models/Tess-4.5-26B-A3B-NVFP4.gguf, CHAT_TEMPLATE_FILE=./templates/tess-4.5-clean.jinja, CTX_SIZE=65536, LISTEN_PORT=8080) with loopback-first security defaults.
01 // HOMELABLocal AI / HomeLab· Verified: 2026-11-30
Browse All 76 Artifacts →
audit-gguf-and-run-tess45-namazu-llamacpp11.sh

GGUF Supply-Chain Audit (gguf-radar & CVE-2026-137567) + Tess-4.5 & Namazu Small llama.cpp v1.1.0 Launcher

Audits downloaded GGUFs with gguf-radar for trailing RAT payloads or hijacked Jinja2 chat templates, verifies llama.cpp >= b12658 (CVE-2026-137567 fix), and launches Tess-4.5-26B-A3B or Namazu Small with Q8_0 KV cache on iBUYPOWER AI Halo or Minisforum M2 PRO-358H.

View Paired Guide →
Customizable Variables (Saved in Browser)
UTF-8 Encoded · Live Client-Side Compilation
#!/usr/bin/env bash
# Tinker AI — GGUF Supply-Chain Audit & Tess-4.5 / Namazu Small Launcher (Guide #72)
set -euo pipefail

MODE="gguf_radar_audit"
MODEL="./models/Tess-4.5-26B-A3B-NVFP4.gguf"
TEMPLATE="./templates/tess-4.5-clean.jinja"
CTX="65536"
PORT="8080"

if [ "$MODE" = "gguf_radar_audit" ]; then
  echo "=== [1/2] Static GGUF Poisoning & Trailing-Payload Scan (gguf-radar) ==="
  if [ ! -f "$MODEL" ]; then
    echo "[ERROR] Model file not found: $MODEL" >&2
    exit 1
  fi
  shasum -a 256 "$MODEL" 2>/dev/null || sha256sum "$MODEL"
  if ! command -v gguf-radar >/dev/null 2>&1; then
    echo "[ERROR] gguf-radar CLI not found. Install from https://github.com/Root0ne/gguf-radar" >&2
    exit 1
  fi
  echo "=== [2/2] Inspecting tokenizer.chat_template & Post-Tensor EOF Bounds ==="
  exec gguf-radar scan "$MODEL"
elif [ "$MODE" = "rpc_cve_check" ]; then
  echo "=== [1/2] Checking llama.cpp Version (CVE-2026-137567 fixed in >= b12658 / v1.1.0) ==="
  llama-server --version 2>&1 || true
  echo "=== [2/2] Checking Exposed rpc-server Listeners (Never bind 0.0.0.0) ==="
  ss -tlnp 2>/dev/null | grep -E "rpc-server|50052" || lsof -iTCP -sTCP:LISTEN -nP 2>/dev/null | grep -E "rpc-server|50052" || echo "[OK] No exposed rpc-server listener found."
  exit 0
elif [ "$MODE" = "tess45_llamacpp11" ]; then
  echo "=== [Tess-4.5-26B-A3B · 48-Pass Looped MoE · Q8_0 KV + Pinned Chat Template] ==="
  echo "[INFO] 48 logical KV layers require --cache-type-k q8_0 --cache-type-v q8_0 on 24GB-32GB hosts."
  TEMPLATE_FLAG=()
  if [ -f "$TEMPLATE" ]; then
    TEMPLATE_FLAG=(--chat-template-file "$TEMPLATE")
  else
    echo "[WARN] Clean template file not found at $TEMPLATE; ensure GGUF passed gguf-radar before running." >&2
  fi
  exec llama-server -m "$MODEL" \
    -ngl 99 -fa on \
    --cache-type-k q8_0 --cache-type-v q8_0 \
    -c "$CTX" \
    ${TEMPLATE_FLAG[@]+"${TEMPLATE_FLAG[@]}"} \
    --host 127.0.0.1 --port "$PORT"
elif [ "$MODE" = "namazu_30b_uma_or_api" ]; then
  echo "=== [Sakana Namazu Small / Nemotron 3 Nano 30B-A3B · AI Halo (96GB UMA) vs M2 PRO-358H (32GB)] ==="
  free -h 2>/dev/null || vm_stat | head -n 8
  echo "[TIP] On iBUYPOWER Pro AMD AI Halo (128GB), verify >=96GB VRAM UMA before serving large contexts."
  echo "[TIP] On Minisforum M2 PRO-358H (32GB LPDDR5X-7467), stay on Q4_K_M + q8_0 KV (32K-64K ctx) to avoid swap."
  exec llama-server -m "$MODEL" \
    -ngl 99 -fa on \
    --cache-type-k q8_0 --cache-type-v q8_0 \
    -c "$CTX" --host 127.0.0.1 --port "$PORT"
else
  echo "Unknown RUN_MODE=$MODE" >&2
  exit 1
fi
PARAMETER SPECIFICATION // 参数化变量规范说明表

Customizable Parameter Reference for audit-gguf-and-run-tess45-namazu-llamacpp11.sh

This SHELL artifact exposes 5 template variables compiled client-side in your browser.

Template TokenParameter DescriptionVerified DefaultExample Format
{{RUN_MODE}}Mode (gguf_radar_audit | rpc_cve_check | tess45_llamacpp11 | namazu_30b_uma_or_api)gguf_radar_auditgguf_radar_audit
{{GGUF_PATH}}Local GGUF Model Path./models/Tess-4.5-26B-A3B-NVFP4.gguf./models/Tess-4.5-26B-A3B-NVFP4.gguf
{{CHAT_TEMPLATE_FILE}}Pinned Clean Chat Template Path./templates/tess-4.5-clean.jinja./templates/tess-4.5-clean.jinja
{{CTX_SIZE}}Context Size (-c)6553665536
{{LISTEN_PORT}}Local Listen Port80808080
PAIRED HARDWARE MANIFEST // 配套实测环境与边界记录

Verified Environment for "Late-Nov 2026 Compact AI Workstations, Single-GPU 1M-Ctx Models & GGUF Hardening: iBUYPOWER Pro AMD AI Halo (128GB) & Minisforum M2 PRO-358H (180 TOPS) Running Sakana Namazu Small (30B-A3B) & Tess-4.5-26B-A3B on llama.cpp v1.1.0 (+ CVE-2026-137567 & gguf-radar)"

Tested Hardware & OS

iBUYPOWER Pro AMD AI Halo (128GB LPDDR5X · 96GB UMA), Minisforum M2 PRO-358H (32GB · 180 TOPS · 24TB NVMe), & 24GB–32GB Discrete GPU / Mac Hosts

Pinned Stack & Model Versions
llama.cpp v1.1.0 (build >= b12658 · CVE-2026-137567 fixed)Root0ne/gguf-radar (static GGUF scanner & sanitizer)migtissera/Tess-4.5-26B-A3B (Apache 2.0 · 1M ctx)Sakana Namazu Small (30B-A3B · Nov 25, 2026)
Offline Boundary (Tess-4.5 GGUF 100% Offline; Namazu Small On-Prem Rolls Out Dec 2026)

Tess-4.5-26B-A3B weights run 100% air-gapped via llama.cpp v1.1.0 once audited by gguf-radar. Sakana Namazu Small launched Nov 25 via hosted API (sakana-namazu) with corporate on-prem packages rolling out early-to-mid December 2026.

Known Operational Limits & Failure Modes
  • Numbers reflect late-Nov 2026 vendor hardware specs, Sakana/Continuity benchmark disclosures, and NIST NVD CVE-2026-137567 advisories (spec-estimate), not yet benchmarked in-house.
  • Minisforum M2 PRO-358H ships with 32GB soldered LPDDR5X-7467: exceeding ~26 GB combined weights + KV cache triggers SSD swap even with 24TB NVMe slots installed.
  • Sakana Namazu Small scores 6.8 on closed-book SimpleQA Verified—always pair it with local RAG documents or search tools rather than relying on ungrounded parametric recall.
DEPLOYMENT CHECKLIST // 配置落地核验步骤

4-Step Verification Checklist After Deploying audit-gguf-and-run-tess45-namazu-llamacpp11.sh

  1. Upgraded llama.cpp to v1.1.0 (>= b12658) to patch CVE-2026-137567 and enable native looped-layer support, while binding rpc-server strictly to 127.0.0.1 or private WireGuard.
  2. Audited community GGUF checkpoints with gguf-radar for trailing post-tensor blobs and hijacked tokenizer.chat_template strings, and pinned --chat-template-file on launch.
  3. Passed --cache-type-k q8_0 --cache-type-v q8_0 for Tess-4.5-26B-A3B (48 logical KV layers) so 32GB M2 PRO-358H / 24GB GPUs stay below OOM limits.
  4. Paired Sakana Namazu Small (30B-A3B) with local RAG or web-search tools rather than relying on closed-book recall (SimpleQA Verified 6.8).