Most scanners detect. Xalgorix proves. An autonomous AI penetration testing agent works a full 22-phase pentest methodology against your web apps and APIs, then an independent verifier re-exploits every finding before it's reported — so you get proof, not a pile of maybes to triage. Self-hosted, private, and bring-your-own-LLM (or fully local with Ollama). Built in Go + TypeScript.
🚀 Quick Start · 💡 Why Xalgorix · ✨ Features · 🎯 Use Cases · ☁️ Self-host or Cloud · ❓ FAQ · 📖 Docs · 💬 Discussions
🤖 Only need PR reviews? The free Xalgorix GitHub App a security review on every pull request — no account, no API key.
🖥️ Self-hosted dashboard — runs locally on 127.0.0.1:9137
☁️ Xalgorix Cloud dashboard — the managed version at
Xalgorix is supported by proxy-infrastructure partners — handy for checking how your own apps behave across regions. Proxy-Seller speaks HTTP(S) and SOCKS5 , the protocols Xalgorix uses.
This downloads the prebuilt binary for your platform (Linux or macOS, amd64/arm64) from the latest release.
Or install with Go 1.26 or newer:
Ensure $(go env GOPATH)/bin (or your GOBIN ) is on your PATH before running xalgorix .
Then run the interactive setup wizard:
Choose your provider, confirm a model, and enter the API key when prompted. For best results, use a current frontier model with strong reasoning, long-context performance, and reliable tool calling—such as the latest capable GPT, Claude, or Gemini model available to you. Smaller or local models remain supported, but may require more supervision during long autonomous scans. Xalgorix stores the key privately in ~/.xalgorix.env (mode 0600 ) and can launch the dashboard for you. Local Ollama needs no API key.
If you choose not to launch immediately, start later with xalgorix --web and open . You can change providers or advanced options at any time under Settings → LLM , or rerun xalgorix --setup .
Or run with Docker — batteries included, no toolchain needed:
--privileged gives the toolset the same host-like access it has when run natively as root. Docker's default sandbox drops capabilities (like NET_ADMIN ) and applies a seccomp filter, which breaks low-level tools (iptables/route changes, ARP-spoof/MITM, tun/tap VPNs, ptrace-based debuggers, masscan interface tuning). Since an image can't grant itself these, they must be set at run time. The container is a disposable, network-isolated scanning sandbox running as root — privileged is the intended posture; never expose the dashboard publicly without auth. Prefer least-privilege? Swap --privileged for --cap-add=NET_ADMIN --cap-add=NET_RAW --cap-add=SYS_PTRACE --security-opt seccomp=unconfined .
Open . You don't need an LLM key to start — the dashboard launches without one; set the model + API key under Settings → LLM (it persists to the /data volume). If you don't pass XALGORIX_USERNAME / XALGORIX_PASSWORD , a random admin password is generated and printed to the container logs on first run.
Machine-to-machine API access — give automation (your own backend, CI, scripts) a dedicated Authorization: Bearer token instead of dashboard credentials: set XALGORIX_API_TOKEN (or XALGORIX_API_TOKENS for a comma-separated rotation set). Machine tokens authorize /api/* routes and the scan-event WebSocket only — never the dashboard UI or operator-only settings routes — never create browser sessions, never interact with the dashboard login rate limiter, and are matched against stored SHA-256 digests with constant-time comparison. The human dashboard login ( XALGORIX_USERNAME + XALGORIX_PASSWORD_HASH ) keeps working unchanged alongside them.
Easiest — Docker Compose (maps the port + a persistent volume for you):
The image ships an extensive offensive-security toolset preinstalled (nmap, nuclei, httpx, subfinder, katana, ffuf, gobuster, sqlmap, masscan, dalfox, feroxbuster, and more) and keeps every package manager (apt, go, cargo, pipx, npm) available so the agent can still auto-install anything missing at runtime. It runs as root inside the container by design — treat the container as a disposable, network-isolated scanning sandbox and never expose the dashboard without auth. Images are published for both amd64 and arm64.
Or build from source (needs Go 1.26+ and Node.js):
Rather skip the setup? Xalgorix Cloud runs the same exploit-verified engine in your browser — no install, no LLM key, no token bill. Packs from $10, no subscription; credits never expire.
🤖 Review pull requests automatically — free GitHub App
Want a security review on every pull request with zero setup? Install the Xalgorix GitHub App . It reads each PR's diff and a security review — injection, broken auth/IDOR, SSRF, secrets, unsafe patterns — right on the pull request. Updates in place on new commits, and you can @xalgorix review to re-run on demand. No workflow file, no API key, no account — and it's free.
➕ Add Xalgorix to GitHub →
Need merge gating or a full exploit-verified pentest of the running app? Start a Cloud scan from your CI with the REST API and gate on verified findings at the severity you choose.
Use Xalgorix only on systems you own or have explicit permission to test.
Xalgorix is a self-hosted AI penetration testing platform for authorized security testing, vulnerability assessment, and bug bounty workflows. It combines an LLM-driven autonomous agent, browser automation, terminal tooling, a comprehensive 22-phase testing methodology, live WebSocket telemetry, finding management with CVSS scoring, branded PDF report generation, and integrations for AgentMail, Discord, and Telegram.
Unlike cloud-only DAST scanners, Xalgorix runs entirely on your machine. You bring your own LLM provider (OpenAI, Anthropic, DeepSeek, Gemini, Groq, Ollama, MiniMax) and control the model, reasoning effort, rate limits, and proxy configuration. Nothing is sent to Xalgorix: scan context goes only to the LLM provider you configure (or stays local with Ollama), and blind-vulnerability callbacks use public Interactsh servers unless you set XALGORIX_INTERACTSH_SERVER to your own.
The default experience is the Web UI. From one local dashboard you can start scans, monitor active runs, inspect findings, configure model/provider settings, manage environment variables, generate branded PDF reports, and delete or resume historical scans.
Most scanners detect . Xalgorix proves . An autonomous agent works through a 22-phase methodology, then an independent verifier re-tests every candidate finding before it is reported — so you get exploit-verified results with evidence, not a wall of "maybes" to triage.
🧠 An AI agent, not a template engine — reasons auth flows, business logic, IDOR/BOLA, and chained exploits that signature scanners miss.
✅ Exploit-verified findings — a separate verifier independently reproduces each finding; inconclusive ones are flagged for review, never dressed up as confirmed.
🔒 Self-hosted and private — runs on your machine with your own LLM key; nothing is sent to Xalgorix, and with a local model plus your own OOB server, nothing leaves your network except traffic to the target.
🧩 Bring your own LLM — OpenAI, Anthropic, DeepSeek, Gemini, Groq, Ollama, or MiniMax — or any OpenAI-compatible gateway like LiteLLM (GitHub Copilot, Codex, OpenRouter, Azure). You control model, reasoning effort, and cost.
📄 Audit-ready reports — branded PDFs with CVSS scores, proof-of-concept, and remediation.
Directional comparison — Nuclei and ZAP are excellent at what they do. Xalgorix adds the reasoning-heavy discovery and exploit-verification layer on top.
Directional comparison — Nuclei and ZAP are excellent at what they do. Xalgorix adds the reasoning-heavy discovery and exploit-verification layer on top.
☁️ Self-hosted or Xalgorix Cloud?
Xalgorix is free and open source — self-host it forever, no strings attached. Xalgorix Cloud runs the same exploit-verified engine for people who would rather not manage LLM keys and token bills, a ~6–8 GB privileged toolbox container, or their own callback infrastructure. Both are first-class — pick what fits.
Self-host if data must stay on your network, you want full control, or you'll run offline/air-gapped — that's exactly what it's for. Use Cloud if you'd rather skip the API keys, infrastructure and surprise token bills, and pay per target instead of per token.
☁️ Start a Cloud scan → · 💳 See pricing · ⚖️ Full comparison & cost calculator · 🔎 See a real sample report
If Xalgorix saves you a triage cycle, please ⭐ star the repo — it genuinely helps others find it.
Use a prebuilt binary, Go, or a container.
⚡ One-line install (prebuilt binary)
Downloads the latest release binary for your platform (Linux or macOS, amd64 / arm64 ) and installs it to /usr/local/bin (or ~/.local/bin without sudo). Override with XALGORIX_INSTALL_DIR or pin a version with XALGORIX_VERSION=vX.Y.Z .
Complete first-time configuration interactively—no manual environment-file editing required:
The wizard preserves existing settings when rerun, hides API-key input in a terminal, and optionally launches the Web UI when finished.
With Go 1.26 or newer:
Go installs the binary to GOBIN , or to $(go env GOPATH)/bin when GOBIN is unset. Add that directory to your PATH , then run xalgorix --setup .
--privileged (or the narrower --cap-add=NET_ADMIN --cap-add=NET_RAW --cap-add=SYS_PTRACE --security-opt seccomp=unconfined ) gives the toolset host-like access. Docker's default sandbox drops capabilities and filters syscalls, which breaks low-level tooling (iptables/route/interface changes, ARP-spoof/MITM, tun/tap VPNs, ptrace-based debuggers). An image can't grant these to itself — they're a run-time decision — so pass the flag, or use the provided docker-compose.yml , which sets it for you.
The image is batteries-included : an extensive offensive-security toolset is preinstalled (nmap, nuclei, httpx, subfinder, dnsx, naabu, katana, ffuf, gobuster, dalfox, feroxbuster, sqlmap, masscan, nikto, whatweb, hydra, and more), plus Chromium for browser-assisted DAST. It also keeps the full package-manager set (apt, go, cargo, pipx, npm) available, so the agent auto-installs anything missing at runtime. Scan data persists to the /data volume, and the server binds 0.0.0.0 inside the container — set XALGORIX_USERNAME / XALGORIX_PASSWORD before exposing it beyond localhost.
The container runs as root by design (the engine only enables runtime auto-install for uid 0, and apt/go/cargo installs need system write access). Treat it as a disposable, network-isolated scanning sandbox. The same tags publish a multi-platform manifest for linux/amd64 and linux/arm64 , so Docker selects the native image automatically.
On first run, if you don't set dashboard auth the container generates a random admin password and prints it to the logs (the image binds 0.0.0.0 , which the engine won't do without auth). Set XALGORIX_USERNAME + XALGORIX_PASSWORD (or XALGORIX_PASSWORD_HASH ) to use your own. The binary never self-updates inside the container ( XALGORIX_NO_AUTO_UPDATE=1 ) — pull a new image tag to upgrade. The nuclei engine and its vuln templates are refreshed to the latest on every image build (the release CI and redeploy.sh force this); pass --build-arg NUCLEI_VERSION=vX.Y.Z to pin the engine, or NUCLEI_REFRESH=0 ./redeploy.sh to reuse Docker's cache.
A Helm chart is included in the repository at deploy/chart . There is no hosted chart repository, so install from a git checkout:
The dashboard listens on port 9137 . Expose it with ingress.enabled (Ingress controller) or httproute.enabled (Gateway API) — never without dashboard auth.
Scan data and persisted dashboard settings live on a PVC mounted at /data (see persistence in values.yaml ). Settings changed in the dashboard's Settings UI are written to /data/.xalgorix.env and take precedence over chart-provided env vars on restart.
Any XALGORIX_* variable can be passed through env.raw , env.config , or env.secret . Dashboard credentials go in auth , or point auth.existingSecret at a Secret containing XALGORIX_USERNAME / XALGORIX_PASSWORD .
The bundled toolset expects the same elevated permissions as the Docker run ( NET_ADMIN , NET_RAW , SYS_PTRACE , seccomp Unconfined ) — see the securityContext examples in values.yaml .
📋 Requirements (build from source)
Check your Go version:
make build builds the React Web UI into internal/web/static , then builds the Go binary.
Xalgorix loads configuration in this order. Later sources override earlier ones.
Create the local environment file:
For the strongest autonomous scanning results, select a current frontier model. The model ID below is a concrete example; newer compatible model IDs can be entered without waiting for a Xalgorix release.
Custom OpenAI-compatible provider:
🌉 LiteLLM / OpenAI-compatible gateways (GitHub Copilot, Claude Opus, Codex, OpenRouter, Azure, local models)
Because XALGORIX_API_BASE accepts any OpenAI-compatible /v1/chat/completions endpoint, Xalgorix works with a LiteLLM proxy out of the box — no Xalgorix-side changes needed. LiteLLM handles the upstream provider auth (Copilot device login, Azure keys, OpenRouter, Ollama, etc.); Xalgorix just talks OpenAI to the gateway.
Run LiteLLM (example config.yaml ):
Point Xalgorix at it — use the custom/ prefix so the model name is sent verbatim and the OpenAI chat-completions protocol is used:
The same pattern covers GitHub Copilot Business/CLI, Claude Opus, Codex-style models, OpenRouter, Azure OpenAI, and local Ollama models — anything LiteLLM can route. Keep the custom/ (or openai/ ) prefix and a non-Anthropic/Gemini XALGORIX_API_BASE so Xalgorix uses the standard OpenAI request shape that LiteLLM expects.
🔔 Optional Integrations
🔐 Dashboard Authentication
Prefer XALGORIX_PASSWORD_HASH for production deployments.
🆙 Upgrading from versions
This release ships a stability and workspace-isolation pass with one breaking change and a few new knobs worth knowing .
💥 Breaking change: default workspace moved to ~/.xalgorix/data/
Scan output, notes, schedules, and other generated artefacts now live under ~/.xalgorix/data/ instead of $CWD (the directory the binary was launched from).
To retain the behavior, point XALGORIX_DATA_DIR at your current working directory:
A [MIGRATION] warning is emitted at startup when legacy markers ( notes.json , _schedules/ , vulnerabilities.json , or YYYY-MM-DD/scan-* directories) are detected in $CWD and XALGORIX_DATA_DIR is unset. Xalgorix never reads, copies, or deletes those legacy files automatically; the warning is informational and only fires once per process.
🆕 New environment variable
🩺 New health endpoint counters
GET /api/status now exposes:
Use a different port:
Bind to another interface only after enabling dashboard authentication:
The server refuses external binding without dashboard authentication.
With custom instructions:
Install and start as a system service:
For quiet discovery or a paused scan, see diagnosing scan waits .
🌍 Remote Service Access
Expose the service to remote browsers only after enabling dashboard auth:
Then open http:// :9137 .
If the process is listening but the page still does not load remotely, allow TCP port 9137 in the server firewall or cloud security group.
🏠 Scanning local/internal targets
The dashboard's own listener is always protected, even with this enabled.
⚠️ Shared / multi-tenant / hosted deployments: keep this OFF. Enabling it would let a user's scan reach the operator's own machine and internal network. It is off by default, so no action is needed to stay safe — do not set XALGORIX_ALLOW_LOCAL_TARGETS (or pin XALGORIX_ALLOW_LOCAL_TARGETS=false ), and don't expose the engine's Settings page to untrusted users.
⚠️ Shared / multi-tenant / hosted deployments: keep this OFF. Enabling it would let a user's scan reach the operator's own machine and internal network. It is off by default, so no action is needed to stay safe — do not set XALGORIX_ALLOW_LOCAL_TARGETS (or pin XALGORIX_ALLOW_LOCAL_TARGETS=false ), and don't expose the engine's Settings page to untrusted users.
Open the dashboard at .
Go to Settings and confirm the LLM provider, API key, rate limits, and optional integrations.
Create a scan from New Scan.
Select methodology phases when you want a focused run.
Set severity filters when only certain severities should be reported live. The filter affects the real-time dashboard feed and notifications only; the PDF report and /api/findings always include every vulnerability the agent discovered.
Add company name and upload a logo for branded reports.
Monitor progress from Overview, Scan Detail, or Live Feed.
Open finding details, download reports, or manage historical scans from Scans and Reports.
📂 Scan Your Code (no target needed)
Point Xalgorix at a codebase — a Git URL, a local path, or an uploaded zip — and it scans the source directly. No deployed URL, no infrastructure to stand up.
--source accepts a Git URL (shallow-cloned), a local directory, or a path to an uploaded/extracted archive. In the Web UI / hosted app you can also upload a .zip of your codebase ( POST /api/upload-source ).
You can still combine a repo and a live target for classic whitebox augmentation — that path is unchanged. Code-scan modes are for when the codebase is the whole subject.
Provision mode runs your app's build/start commands in the agent's sandbox and only pentests the single loopback port it stood the app up on — the dashboard and everything else on the machine stay out of scope.
Provision mode runs your app's build/start commands in the agent's sandbox and only pentests the single loopback port it stood the app up on — the dashboard and everything else on the machine stay out of scope.
Xalgorix organizes autonomous testing into 22 phases.
Phase selection in the Web UI lets you run every phase or only the subset needed for a specific engagement.
Reports are generated as PDF files and can include:
Reports are available from the scan detail page and the Reports page. Report rows support opening, downloading, and deletion.
Most operational settings can be changed from the Web UI under Settings.
Some settings require a restart because they affect process startup or server binding. The UI marks those fields.
🧾 Environment Variables
🚦 Rate Limits, Proxy, and Runtime
When XALGORIX_API_BASE is empty, Xalgorix infers provider defaults from the model prefix.
Model names are not hard-coded to this list. The Settings page accepts typed model IDs so newer provider models can be used without waiting for a UI dropdown update.
Web-mode scan data is stored under:
The server keeps historical scan records on disk so the UI can recover after refresh or restart.
In the Docker image and the Helm chart, this directory is the /data volume ( XALGORIX_DATA_DIR=/data ), persisted to a named volume or a PVC.
Use Xalgorix only against authorized targets.
Do not run active testing against third-party systems without permission.
Review scan instructions before launching.
Configure rate limits and proxy settings to match engagement rules.
Exposing the dashboard externally requires authentication.
Auto-install is disabled by default for non-root users and should be enabled only when you trust the environment.
Xalgorix is a free, open-source AI penetration testing tool. An autonomous LLM agent runs a 22-phase pentest methodology against web applications and APIs (reconnaissance, injection, SSRF, IDOR, auth bypass, business logic and more), then a separate verifier re-exploits every candidate finding before it is reported. You get exploit-verified vulnerabilities with CVSS scores, proof-of-concept evidence and remediation in a branded PDF report.
Yes. The engine is open source under the Apache 2.0 license and you can self-host it with no limits. You only pay your own LLM provider for the tokens a scan uses, or nothing at all with a local model through Ollama. Xalgorix Cloud is an optional hosted version for people who would rather not run it themselves.
Which LLMs does Xalgorix support?
OpenAI, Anthropic, Google Gemini, DeepSeek, Groq and other hosted providers, local models through Ollama, and any OpenAI-compatible endpoint, including LiteLLM , OpenRouter and Azure OpenAI. See Provider Prefixes for the full list. A current frontier model with strong reasoning and reliable tool calling gives the best results on long autonomous scans.
How is Xalgorix different from Nuclei or OWASP ZAP?
Nuclei matches known templates and ZAP crawls an application and applies active scan rules. Xalgorix is an AI agent that reasons authentication flows, access control and business logic, chains steps together, and then proves each finding by re-exploiting it. The tools complement each other: the Docker image ships nuclei, httpx, ffuf, sqlmap and other scanners that the agent drives itself. See How it compares .
Does Xalgorix send my data anywhere?
Nothing is sent to Xalgorix. Scan context goes only to the LLM provider you configure, or stays on your machine with a local model. Blind-vulnerability (out-of-band) callbacks use public Interactsh servers unless you set XALGORIX_INTERACTSH_SERVER to your own, so with a local model and your own callback server, nothing leaves your network except traffic to the target.
Can I scan source code without a running app?
Yes. xalgorix --source ./my-app --code-scan review audits the code and traces user input to dangerous sinks with no live target. --code-scan provision builds and runs the app locally, then pentests the running instance. See Scan Your Code .
Can I run Xalgorix in CI or on a schedule?
Yes. Run it as a service with xalgorix --start , schedule scans from the dashboard, and send findings to Discord or Telegram. Automation can call the REST API with a machine token ( XALGORIX_API_TOKEN ). For a security review on every pull request, install the free Xalgorix GitHub App .
Is it legal to use Xalgorix?
Only against systems you own or have explicit permission to test. Xalgorix runs real attacks, so treat it like any other offensive-security tool and follow your engagement's scope and rules. See Safety Notes .
Xalgorix is released under the Apache License 2.0. See LICENSE .
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
