A tiny wrapper that points Strix — the open-source autonomous AI security‑testing agent — at a local OMLX MLX inference server, so it runs entirely on your own Apple‑Silicon machine against an abliterated ("Heretic'd") uncensored model.
This repository is not Strix. It is a thin set of setup scripts around the upstream project. All the real work — the agent, the tools, the scanning — is usestrix/strix (Apache‑2.0). Please star and support the upstream project. 🙏
📊 Looking for benchmarks and comparisons? See the companion repo sw30labs/strix-research — model comparisons, run results, and analysis of Strix across different models and backends.
Strix normally runs against a frontier hosted model. This wrapper instead wires
it to a model served locally by OMLX — a local, OpenAI‑compatible
MLX inference server with an admin dashboard
at http://127.0.0.1:8000/admin/dashboard. Because OMLX speaks the OpenAI API,
Strix reaches it through LiteLLM's openai/ routing.
The model used here is MiniMax-M2.7-ultra-uncensored-heretic-oQ4-MLX: a
MiniMax‑M2 checkpoint that has been abliterated with
Heretic — an automated tool that removes a
model's built‑in refusal directions. Safety‑tuned models frequently refuse
legitimate offensive‑security work (writing an exploit for a lab target,
enumerating a vulnerable app, crafting a payload). An abliterated model
cooperates with those authorized tasks, which is what makes it useful as the
engine behind a pentest agent.
Running the model locally also means your targets, prompts, and findings never leave your machine — no data goes to a hosted API.
| Script | Backend | Endpoint (default) |
|---|---|---|
setup-strix-omlx.sh |
OMLX (local MLX, Apple Silicon) | http://127.0.0.1:8000/v1 |
setup-strix-ollama.sh |
Ollama | http://localhost:11434/v1 |
setup-strix-sglang-dgx.sh |
SGLang (NVIDIA DGX) | http://localhost:30000/v1 |
run-strix.sh |
generated launcher (reads ~/.strix/cli-config.json) |
— |
Strix decomposing a security assessment of the demo e-banking app into five specialized agents — SQL injection, IDOR, XSS, CSRF/business-logic, and API security — each handed a concrete test plan, all driven by the local model:
One of those agents working inside its isolated Docker sandbox: listing
/workspace/ebanking, reading the intentionally-vulnerable Flask app, and
surfacing an unsanitized SQL UPDATE (a textbook SQL-injection sink):
That sandbox is a real container — Docker Desktop showing the
usestrix/strix-sandbox image running. Strix spins one up per run, so all
tooling and exploitation stay isolated from your host:
The OMLX admin dashboard serving MiniMax-M2.7-ultra-uncensored-heretic-oQ4-MLX
to all five agents concurrently — ~89% prompt-cache efficiency and per-request
token generation, entirely on one Apple-Silicon box:
The same run seen from the metal — macmon on the Apple M3 Ultra (80-core GPU,
512 GB unified memory): the model resident in ~245 GB of RAM, the GPU pinned at
96%, pulling ~132 W. No discrete GPU, no cloud:
Strix reaches that model through LiteLLM's openai/ routing — note the active
model badge, openai/MiniMax-M2.7-ultra-uncensored-heretic-oQ4-MLX:
Prerequisites: macOS on Apple Silicon, Python 3.12+, Docker Desktop running
(Strix sandboxes its agent in a container), and an OMLX server already serving
MiniMax-M2.7-ultra-uncensored-heretic-oQ4-MLX.
git clone https://github.com/sw30labs/strix-omlx.git
cd strix-omlx
./setup-strix-omlx.shThe script will:
-
Check prerequisites (Python 3.12+, Docker, Apple‑Silicon host).
-
Ask for your OMLX URL (default
http://127.0.0.1:8000/v1) and API key (defaulttest), then list the models the server is serving (sending the requiredAuthorization: Bearerheader). -
Ask for the model name (default
MiniMax-M2.7-ultra-uncensored-heretic-oQ4-MLX). -
Install
strix-agentinto a local.strix-venv/. -
Write
~/.strix/cli-config.json:{ "env": { "STRIX_LLM": "openai/MiniMax-M2.7-ultra-uncensored-heretic-oQ4-MLX", "LLM_API_BASE": "http://127.0.0.1:8000/v1", "LLM_API_KEY": "test" } } -
Generate
run-strix.sh.
Then run Strix against a target:
./run-strix.sh --target ./your-app-directory
./run-strix.sh --target https://github.com/org/repo
./run-strix.sh --target https://your-app.comNote: OMLX loads models on demand, so the first request may be slow while the model is loaded into memory. Watch progress on the admin dashboard at
http://127.0.0.1:8000/admin/dashboard.
Strix is an offensive‑security tool and the model here is deliberately uncensored. Only run it against systems you own or are explicitly authorized to test (your own apps, CTF/lab targets, engagements with written permission). Unauthorized scanning or exploitation is illegal. You are responsible for how you use this.
- sw30labs/strix-research — companion repo with model comparisons, benchmarks, and run analysis.
- usestrix/strix — the agent this wraps.
- ml-explore/mlx — Apple's array framework for on‑device inference.
- p-e-w/heretic — the abliteration tool.
Apache‑2.0 (see LICENSE), matching upstream Strix. The upstream
project retains its own copyright and license.





