Skip to main content

WHAXON

WHAXON is a framework for authorized penetration testing. Point it at a target. It chains your tools, correlates what they find, optionally assists with AI, and produces an accurate report — deterministically, with every AI action gated by a human-approved executor.

WHAXON web interface — Findings

Scope Threat Intel Compliance

CI PyPI PyPI - Python Version License: AGPL-3.0-or-later

Three things it does that most tools do not

Deterministic auto-chaining. When nmap finds an HTTP port on 127.0.0.1:8090, WHAXON queues nikto against that specific port automatically. Rule-based, no LLM in the loop. Turn it off with WHAXON_AUTOCHAIN=false.

Cross-tool correlation. nmap says port 8090 is open. nikto says /login.php is on 8090. WHAXON emits a web_login_surface finding that says both, because that is what a pentester wants to know. Eight rules today, all deterministic, all testable offline.

AI with hard guardrails. An optional AI layer proposes the next action. A deterministic executor validates every proposal before anything runs: catalog check, scope check, target lock, dedup guard, stagnation stop. The planner proposes; the executor disposes.

Try WHAXON in 60 seconds

pip install whaxon
whaxon init --demo
whaxon run nmap scanme.nmap.org --extra "-F -T4"

That last command scans scanme.nmap.org — a public host Nmap's authors maintain specifically for people to test their scanners against. You get:

[2 findings]
  [MEDIUM  ] open_port  22/tcp  open  ssh    OpenSSH 6.6.1p1
  [INFO    ] open_port  80/tcp  open  http   Apache httpd 2.4.7

job: 9a52ab3c5b7b
report: whaxon report 9a52ab3c5b7b

Then:

whaxon findings scanme.nmap.org        # every finding against that target
whaxon report 9a52ab3c5b7b --open      # view the report

The demo scope permits only 127.0.0.1, ::1, and scanme.nmap.org. Try google.com and it will refuse — that is what fail-closed scope looks like.

Status

v0.9.0 — deterministic pipeline, cross-tool correlation, session transports, optional AI with executor guardrails, four working interfaces.

Working now

Feature Status
Headless core (catalog + runner + event bus) Working
Terminal interface (Textual) Working
Desktop interface (PySide6 + QWebEngineView) Working
Web interface (Flask + SSE + Basic auth) Working
Production WSGI server (whaxon serve --daemon) Working
Tool catalog with argument templates Working (21 tools + echo test fixture)
Adapter layer Working (25 adapters)
Enriched findings (CVSS, CWE, impact, remediation) Working
Fail-closed scope enforcement Working
Deterministic auto-chain (nmap -> nikto per web port) Working
Correlation engine Working (8 rules)
Pivot chain graph + rendering Working
Burp XML import Working
SQLite persistence across all interfaces Working
Reports (per-job MD/HTML/PDF + engagement MD/JSON/PDF) Working
Evidence attachments Working
Metasploit RPC integration Working
SSH transport Working (live-verified)
SMB transport Working (live-verified)
WMI transport Working (mocked)
Phase-gated catalog Working
Session-scoped tools Working
AI layer (null / rules / Ollama / OpenAI / Anthropic / Google) Working, opt-in
AI modes (interactive / --auto / --resume) Working, opt-in
Approval queue (store + API + web UI + CLI) Working
Plugin API (entry-point adapters) Working
HAR ingestion (browser traffic capture) Working (bounty add-on input layer)
Published to PyPI PyPI
Test suite 620 passing

Planned

Feature Priority
Web UI file upload for Burp XML Near term
Multi-user auth + projects Medium term
Demo GIF + video walkthrough Near term

Install

pip install whaxon

Optional extras:

pip install "whaxon[tui]"           # Terminal UI (Textual)
pip install "whaxon[gui]"           # Desktop app (PySide6)
pip install "whaxon[web]"           # Web interface (Flask)
pip install "whaxon[metasploit]"    # Metasploit RPC client
pip install "whaxon[tui,gui,web]"   # Everything

Then:

whaxon init                # create data/ with strict default scope
whaxon tui                 # Terminal UI (Textual)
whaxon gui                 # Desktop app (PySide6)
whaxon serve --daemon      # Production web server
whaxon web                 # Web, foreground (dev)

Quick start (from source)

git clone https://github.com/andreipath26/WHAXON.git
cd WHAXON
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[tui,gui,web]"

DVWA findings parsed by the nikto adapter

Requires Python 3.11+.

whaxon init                # create data/ with strict default scope
whaxon tui                 # Terminal UI (Textual)
whaxon gui                 # Desktop app (PySide6)
whaxon serve --daemon      # Production web server
whaxon web                 # Web, foreground (dev)

Web UI: http://127.0.0.1:5001/ui

Configuration

Variable Default Purpose
WHAXON_HOST 127.0.0.1 Bind address
WHAXON_PORT 5001 Port
WHAXON_DATA data Data directory
WHAXON_AUTH_USER whaxon Basic auth username
WHAXON_AUTH_PASS whaxon Basic auth password (hashed at startup)
WHAXON_AUTH_PASS_HASH (unset) Pre-hashed password; takes priority over WHAXON_AUTH_PASS
WHAXON_AUTOCHAIN true nmap -> nikto auto-chain on web ports
WHAXON_MSF_AUTOCHAIN false Run post modules after a Metasploit exploit session opens
WHAXON_MSF_TIMEOUT (unset) Timeout for Metasploit RPC calls
WHAXON_AI_SCOPE_EXPANSION strict AI scope-expansion policy. v1 ships strict only.
WHAXON_AI_ENABLED false Master switch for the AI planner layer
WHAXON_AI_PROVIDER null null / rules / ollama / openai / anthropic / google
WHAXON_AI_MODEL per-backend Model name for the selected provider
WHAXON_AI_MAX_STEPS 12 Step budget per AI run
WHAXON_AI_MIN_CONFIDENCE 0.55 Actions below this confidence become ask_human
WHAXON_AI_AUTO_ALLOW (unset) Master gate for --auto; must be 1
WHAXON_AI_AUTO_PHASES (empty) Phase whitelist for unattended transitions
WHAXON_AI_AUTO_CONFIRM (unset) Force interactive confirm even in --auto
WHAXON_AI_AUTO_MAX_STEPS 50 Step budget per --auto run
WHAXON_OLLAMA_HOST http://127.0.0.1:11434 Ollama backend endpoint
WHAXON_OPENAI_HOST (OpenAI default) OpenAI-compatible endpoint override
WHAXON_ANTHROPIC_HOST (Anthropic default) Anthropic endpoint override
WHAXON_GOOGLE_HOST (Google default) Google/Gemini endpoint override

Change the auth credentials before exposing WHAXON on any network.

Adapters

Every tool can have an adapter — a Python class that parses its output and enriches findings.

WHAXON web interface — Findings

Scope Threat Intel Compliance

Built-in (25): arjun, burp, dig, dnsrecon, ffuf, gobuster, har, hashcat, impacket, msf, msf_getuid, msf_hashdump, msf_sysinfo, netexec, nikto, nmap, nuclei, smb_ls, smb_shares, sqlmap, theharvester, whatweb, whois, wmi_exec, wpscan.

Catalog tools without an adapter still run; their output just isn't enriched.

See docs/adapters.md for the built-in adapter layer.

For shipping an adapter as a separate pip package, see docs/plugins.md.

Scope

Fail-closed. Missing data/scope.json gets a strict default on first load. Unreadable config raises.

whaxon scope --show
whaxon scope --check <target>
whaxon scope --set scope.json
whaxon scope --enable / --disable
whaxon scope --clear

See docs/scope.md.

Interfaces

  • Terminal (whaxon tui): r run, x cancel, g chain, s save report, i target input, a AI runs, Ctrl+Q quit.
  • Desktop (whaxon gui): native window hosting the web UI in a QWebEngineView.
  • Web (whaxon serve --daemon): Flask + SSE. API + browser UI at /ui.
  • CLI: 21 subcommands — see docs/interfaces.md. Includes:
    • whaxon lookup — offline exploit search via searchsploit (search, --cve, --id, --save)
    • whaxon cve — online CVE lookup via NVD with a local SQLite cache (exact ID, --keyword)

Reports

whaxon report <job_id>                              # Per-job, Markdown
whaxon report <job_id> --format html                # Per-job, HTML
whaxon report <job_id> --format pdf --out scan.pdf  # Per-job, PDF
whaxon report --engagement default --format md      # Engagement, Markdown
whaxon report --all --format whaxon                 # Engagement, signed .whaxon
curl -u whaxon:whaxon "http://127.0.0.1:5001/api/report?format=md"   # Engagement via HTTP

Correlated findings in a WHAXON PDF report

HTML output is escaped — a raw_line with <script> can't execute in a browser.

Roadmap

WHAXON is a solo-founder project. Scope is tracked in full on the founder's Desktop roadmap; this section is the summary.

Shipped (v0.9.0)

  • Deterministic pipeline, cross-tool correlation (8 rules)
  • Four interfaces: CLI, TUI, Web, GUI
  • Four transports: MSF, SSH, SMB (live-verified), WMI (mocked)
  • Six AI providers, three AI modes (interactive, --auto, --resume)
  • Approval queue, phase-gated catalog, session-scoped tools
  • CVE lookup (NVD) and offline exploit search (searchsploit)
  • 21 tools + echo test fixture, 25 adapters
  • HAR ingestion adapter (browser traffic capture — bounty add-on input layer)
  • Bug-bounty add-on design (§26, docs/bounty-addon.md) — per-program policy, differential analysis, invariant engine, workflow inference
  • 612 tests passing

Urgent (next)

  • UI redesign. All four interfaces, unified design system. Design mockup complete. Web UI rebuilt to ui-v4 (session 59). TUI, GUI, and CLI passes queued.
  • PTaaS delivery layer. Client portal, self-service scoping, on-demand test launches.

Near-term (~271h)

  • Deferred items from v0.9.0
  • Full tool adoption: 21 to 120 tools (Tier 1 = 44, Tier 2 = 42, Tier 3 = 14)
  • Cloud scope design and first cloud tool
  • Distro portability (beyond Kali/Debian)
  • AI modes: confidence-gated auto-approval, escalation path, budget caps
  • Bug-bounty add-on implementation (§26.1–§26.8): policy layer, differential session analysis, invariant engine, workflow inference, report generation
  • Five web UI backends: Retest finding lifecycle; Monitoring scheduled recon + diff; Audit Log append-only hash-chained events; Threat Intel routes over existing whaxon cve / lookup; Compliance framework mapping from finding kind

Team-ready (~53-62h)

  • MCP server - expose the catalog via Model Context Protocol so Claude Desktop, Cursor, and Codex can drive WHAXON. The keystone for team work.
  • Verification layer - findings become candidates, then verified or refuted
  • Persistent knowledge graph, multi-agent split, RAG for pentest knowledge
  • Team-scale approvals with role gating

Company-grade (~125-170h)

  • Organization layer: orgs, teams, users, engagements
  • RBAC: Owner, Admin, Pentester, Reviewer, Client-viewer, Auditor
  • Client engagement lifecycle, compliance and audit (immutable log)
  • Deployment: Docker, Kubernetes, air-gapped, cloud
  • Commercial layer: licensing, billing, support tooling

Market coverage (~185-235h)

  • PTaaS delivery, remediation tracking, ASM / continuous monitoring
  • Client reporting, compliance framework mapping
  • Collaboration, threat intel, training mode, i18n, air-gapped
  • Full CSPM / CIEM, BAS / AEV

Explicitly out of scope (never built)

Wireless, SDR, forensics, reverse-engineering, malware analysis, social engineering, hardware, unstructured network attacks, mobile, honeypots, commercial scanners without CLI parity.

Sister projects

WHAXON is one of three projects built to compose:

  • KILN — the fastest local LLM runtime. One binary per platform, one model file, one API. No cloud, no GPU required.
  • Aletheia Framework — the advisor framework. Local-first, modular, governed personal AI. Indexes everything, remembers with provenance, advises — never acts without authorization.

WHAXON is the deterministic domain expert in that stack: KILN provides local inference, Aletheia provides memory and governance, WHAXON provides the security testing pipeline.

Each project stands alone. None requires the others to run. Integration between them (MCP/ACP) is designed but not yet built.

Testing

python -m pytest tests/ -q

612 tests passing.

Documentation

docs/ — getting started, architecture, adapters, plugins, tools, scope, interfaces, findings, reports, API, deployment, troubleshooting, changelog.

Responsible use

Authorized testing only. Use on systems you own or have explicit permission to assess.

Licensing

AGPL-3.0-or-later. See LICENSE-COMMERCIAL.md and LICENSE-ENTERPRISE.md.

Metadata

Release files for whaxon 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whaxon 0.10.0
File Size Uploaded Provenance
whaxon-0.10.0.tar.gz 232.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for whaxon 0.10.0
File Interpreter ABI Platform
whaxon-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 471.2 kB

Release files / whaxon-0.10.0.tar.gz

Download URL whaxon-0.10.0.tar.gz
Size 232.2 kB
Tags Source
SHA-256 checksum
How to use checksums
95ab2b9f0106ba3dc7f88060de4d44fbfcbf85b8ef67dbeb52d393a18bd9a6b2
BLAKE2b-256 checksum
How to use checksums
b1c09110a629e2b0c82fceee9b1ca0feaaab30002d9c3497ba8a1cbb2f208c5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / whaxon-0.10.0-py3-none-any.whl

Download URL whaxon-0.10.0-py3-none-any.whl
Size 239.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
223d5aa772dfbae61a79bab79b5d870f66185c4c6130dd3dedbc90ac1ba1a373
BLAKE2b-256 checksum
How to use checksums
76e5558dda7d03842f96f677acc5e065d2122b553242bd9d149e2a1e8b6ac208
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for whaxon 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page