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.
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.
#!/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
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 Token | Parameter Description | Verified Default | Example Format |
|---|---|---|---|
{{RUN_MODE}} | Mode (gguf_radar_audit | rpc_cve_check | tess45_llamacpp11 | namazu_30b_uma_or_api) | gguf_radar_audit | gguf_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) | 65536 | 65536 |
{{LISTEN_PORT}} | Local Listen Port | 8080 | 8080 |
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)"
iBUYPOWER Pro AMD AI Halo (128GB LPDDR5X · 96GB UMA), Minisforum M2 PRO-358H (32GB · 180 TOPS · 24TB NVMe), & 24GB–32GB Discrete GPU / Mac Hosts
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.
- 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.
4-Step Verification Checklist After Deploying audit-gguf-and-run-tess45-namazu-llamacpp11.sh
- Upgraded
llama.cpptov1.1.0(>= b12658) to patchCVE-2026-137567and enable native looped-layer support, while bindingrpc-serverstrictly to127.0.0.1or private WireGuard. - Audited community GGUF checkpoints with
gguf-radarfor trailing post-tensor blobs and hijackedtokenizer.chat_templatestrings, and pinned--chat-template-fileon launch. - Passed
--cache-type-k q8_0 --cache-type-v q8_0forTess-4.5-26B-A3B(48logical KV layers) so 32GB M2 PRO-358H / 24GB GPUs stay below OOM limits. - Paired Sakana Namazu Small (
30B-A3B) with local RAG or web-search tools rather than relying on closed-book recall (SimpleQA Verified 6.8).