ViKernel Scanner: Audit Local Ollama, LM Studio, and vLLM Models for Shell Exploits in 60 Seconds

TL;DR: VIDRAFT and the FINAL-Bench research team released ViKernel Scanner, a free Apache-2.0 CLI tool that probes any locally-running LLM against 100 real-world shell and tool-call attack prompts, assigning an A–F security grade in roughly 60 seconds. A benchmark sweep of 20 popular open-weight models conducted in November 2026 found every single one failed. If you're wiring local models to MCP servers, coding terminals, or file systems, this is a mandatory addition to your security workflow.

What it is

ViKernel Scanner is a security auditing tool purpose-built for the local LLM deployment stack. It is released under the Apache-2.0 license and is available both as a GitHub CLI and as a browser-based Hugging Face Space, making it accessible without any infrastructure setup.

The tool is designed to answer one practical question: if an adversarial string reaches your locally-running model through an agentic pipeline, will the model execute dangerous shell or tool-call instructions?

Key characteristics from the source:

  • Target runtimes: Ollama, LM Studio, and vLLM (any locally-served model endpoint)
  • Attack suite: 100 real-world attack prompts covering shell exploits and malicious tool-call patterns
  • Scoring: Instant A–F letter grade per model
  • License: Apache-2.0 (free for commercial and research use)
  • Release window: November 18–23, 2026, alongside a benchmark report from VIDRAFT and the FINAL-Bench team

How it works

The core threat model ViKernel Scanner addresses is prompt injection via agentic tool use. Running a model locally with Ollama or LM Studio does keep your prompts off external servers — but the moment that model gains access to MCP servers, shell executors, email clients, or local file system tools, the attack surface changes dramatically.

A malicious payload embedded in a GitHub README, a scraped webpage, or a document fed into a RAG pipeline can be relayed to the model. If the model doesn't correctly refuse the injected instruction, it may execute destructive shell commands on behalf of the attacker — entirely locally, with whatever OS permissions the model's tool runtime holds.

ViKernel Scanner's approach at a conceptual level:

  1. Connect to your local model endpoint — the CLI or Space sends prompts directly to your locally-running inference server.
  2. Replay the attack suite — 100 adversarial prompts, covering categories such as shell command injection and malicious tool-call hijacking, are sent sequentially.
  3. Evaluate responses — each model response is assessed for whether it complied with, partially executed, or correctly refused the malicious instruction.
  4. Aggregate and grade — results are rolled up into the A–F rubric, giving you an at-a-glance security posture for that model in that configuration.

No data leaves your machine during the scan; the Scanner talks only to your local inference endpoint.

Benchmarks & results

Between November 18 and November 23, 2026, the VIDRAFT and FINAL-Bench research team ran ViKernel Scanner against 20 open-weight models across the Ollama/LM Studio/vLLM ecosystem. The result was unambiguous and alarming:

  • All 20 models received an F grade. Not a single model in the evaluated set passed the 100-prompt shell exploit benchmark.

The source does not break down per-model scores or identify which specific models were tested, so no individual model names or numeric pass-rates are reported here. What the benchmark establishes qualitatively is that the default refusal behavior of current open-weight models is insufficient protection once those models are embedded in agentic pipelines with real tool access. Standard local model refusals can be bypassed by the attack patterns included in the suite.

How to try it

ViKernel Scanner is publicly accessible through two channels confirmed in the source:

1. Hugging Face Space (browser-based, no install required)
Navigate to the ViKernel Scanner Space on Hugging Face. You can point it at a locally-exposed model endpoint directly from the browser UI — useful for a quick one-off audit.

2. GitHub CLI (Apache-2.0)
The CLI is available on GitHub. Because the exact repository URL and package name are not specified in the source, search for ViKernel Scanner or FINAL-Bench in the VIDRAFT organization on GitHub and Hugging Face to locate the canonical repo.

A generic usage pattern for any locally-served OpenAI-compatible endpoint, once you have cloned the repo and followed its README install steps, would follow the standard pattern of pointing the scanner at http://localhost:<port> — but refer to the official README for the exact flags and options rather than any invented commands here.

FAQ

Q: Does ViKernel Scanner send my prompts or model responses to VIDRAFT's servers?
A: No. The scanner communicates only with your local inference endpoint (Ollama, LM Studio, or vLLM running on your machine). Your data stays local — that is an explicit design property highlighted by the tool's positioning around local-model privacy.

Q: If my model scores an F, what should I do before using it in an agentic pipeline?
A: The source advises treating the F grade as a signal to add defensive layers at the tool-execution layer, not just the model layer. This means implementing input sanitization before prompts reach the model, adding an approval step or sandbox around any shell or file-system tool calls, and re-running the scanner after each mitigation to track improvement. The model's inherent refusal behavior alone is not sufficient.

Q: Does this tool work with cloud-hosted models or only local ones?
A: Based on the source, ViKernel Scanner is specifically designed for local runtimes — Ollama, LM Studio, and vLLM. Cloud API endpoints are not mentioned as supported targets.

Originally reported by Egy Monitor (이집트) (2026-11-26) — source article.