- PoC re-validation and OPSEC evasion default on; sandbox defaults to Auto
(Kali if available)
- unchecking a default or picking "This host" sends the matching
NEUROSPLOIT_NO_* opt-out so the front-end choice wins
- wire --evasion into run/session args; drop the duplicate More options toggle
- autoconfig enables reactive (Black), models, tools, MCP, economy, PoC
re-validation, OPSEC evasion and an already-present Kali sandbox, each
with a NEUROSPLOIT_NO_* opt-out; authorization/safety stays explicit
- CVE lookup folded into pipeline/reactive recon (no separate cve command)
- AD/privesc recipes injected into agent prompts from run facts
- web: live model catalog for every provider plus a custom model id, and
OpenRouter model ids fixed
- cve_lookup: extract product/version fingerprints from headers/banners/nmap,
look up known CVEs via an embedded high-signal index and optional NVD 2.0;
CLI
- reactive worker: fingerprints in tool output add facts to the graph
- ad_evidence: classify host privesc receipts (sudo NOPASSWD, SYSTEM,
SeImpersonate, kernel CVE, SUID, AlwaysInstallElevated, unquoted service)
- prompt doctrine: look up CVEs the moment a concrete version is fingerprinted
Captured from an empty console instance (no runs, projects or keys),
9 pages in both themes under docs/screenshots.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- mcp_client: Streamable-HTTP MCP client (initialize/tools.list/tools.call,
JSON or SSE, mcp-session-id) + a transport-agnostic McpTransport enum
- c2_reuse: sync via stdio OR http; auto-task a reused session with the C2's
exec tool (per-C2 preferred tool, schema-aware arg mapping via inputSchema),
gated by the operator checkpoint and recorded in activity
- c2x: sync --http/--header, task (execute through the best existing session);
works for Sliver/Havoc/Mythic/Adaptix and any custom stdio/HTTP MCP server
- verified end-to-end with mock stdio and mock HTTP MCP servers
- select_route: longest-prefix subnet match, alive-only, SOCKS preferred at equal prefix
- find_pivot_for picks the most specific pivot subnet (/24 over /16)
- ensure_tunnel reuses the best alive route (port-proxy requires an exact forward)
- health_check_all probes each tunnel's local SOCKS/forward port and marks dead
tunnels so the next chain round rebuilds instead of failing through a stale proxy
- route_for(target_ip, port) returns the per-host proxy/env; pipeline sweeps
tunnel health at the start of each chain round
- classify DCSync/ADCS abuse/delegation abuse/credential dumping/persistence/
lateral exec/phishing launch/destructive commands
- enforcement off|record|enforce (default off); enforce blocks unless the action
id is allow-listed (NEUROSPLOIT_CHECKPOINT_ALLOW / ALLOW_HIGH)
- gate in the agentic tool loop: blocked actions return an observation and are
recorded in activity/audit; --checkpoints flag + checkpoint classify CLI
- no behavior change when off
- ad_evidence: classify netexec/impacket/certipy output into typed receipts
(tgt, tgs, asrep, ldapbind, smbadmin, dcsync, adcs, delegation, cred) ->
facts ad:<kind>:<principal>@<host>; conservative by tool family + marker
- ad_recipe: dependency-gated AD chain (smb-auth -> roast/enum -> abuse* ->
dcsync* -> trust*), each step unlocks only when its prerequisite facts exist;
high_impact flag for the operator-checkpoint layer
- reactive worker (worker-tools path) classifies each tool run and feeds AD
facts into the exploration graph
- CLI: neurosploit adchain {classify,plan}
- activity store: append-only per-step log under <run>/activity with cross-worker
search/list/get and a prompt block (Artex-style process-level exchange)
- wire reactive workers to record tool steps and model observations by intent
- --worker-tools: bounded agentic tool loop per reactive worker (opt-in, off by
default) with a shared ToolBudget (calls/rounds/concurrency), priority-weighted
rounds, and cross-worker dedupe that reuses identical command output
- CLI + web /api/runs/:id/{activity,todolist} and a new
Workers tab (planner todolist + worker tape)
- no behavior change when the flag is off
Credential testing (credtest.rs) now covers tokens/API keys from a sourcemap
or .env leak (new "bearer" service, probed against common API paths) and
password logins to a web form (new "http-form" service, differential
Set-Cookie/error-text check) alongside the existing ssh/smb/winrm/http-basic
probes — a secret found by a whitebox/blackbox agent that previously had no
matching service now actually gets tried.
New privesc.rs: after credtest verifies an ssh/winrm foothold, runs the
standard enumeration (sudo -l, SUID/capabilities/cron on Linux; whoami /priv
and group membership on Windows) over that SAME session. NOPASSWD sudo and
local-admin-group membership are auto-confirmed and reported as verified
root/administrator access; SUID GTFOBins hits and SeImpersonate/
SeAssignPrimaryToken become cited hypotheses for the next round, not a
command the model has to invent from raw text. Wired into attack_chain right
after the existing credtest block.
New svc_probe.rs: run_host now runs nmap -sV deterministically against every
infra/network/AD/host target (not left to the model remembering to ask for
it), parses open ports/services/versions, runs a fixed read-only enrichment
probe per service (SNMP/LDAP/SMB/SQL/Redis/Mongo/NFS/RPC/VNC/FTP/Elastic/
Docker-API/WinRM/Kerberos), and looks each service+version up in the local
searchsploit mirror for candidate CVEs/exploits — "found a port, validated
the version, checked for a known exploit" now happens every run.
Web console: the "Host/Infra" tile is joined by separate Network and Active
Directory tiles (so an operator without a domain stops getting AD-only
agents), a new Mobile/Binary tile with a file-upload field wired to the
existing /api/upload endpoint and the CLI's --platform flag, and buildArgs
now forwards --platform for mobile runs. This finishes the mode/upload work
server.js already had in progress from the previous PR.
760 tests passing; release build clean.
Model integration:
- neurosploit key add/list/remove/detect: identify a provider from its key,
list real callable models, save it — CLI, REPL and web console share one
detector/keystore.
- custom_providers.rs: register any OpenAI-compatible endpoint under its own
name (mycorp:<model>) with no source change or rebuild; several can coexist.
- Added deepseek-v4-1-flash-1017, Venice AI, vLLM and LM Studio providers.
- Fixed --sandbox/--stealth/--neo4j/--engagement being silently dropped by
mobile/container/host/network/ad/cloud/greybox/tui/aitest (only `run` wired
them before).
Recon depth:
- codeindex.rs: whole-repo indexing for whitebox review (functions, routes,
call graph, sources/sinks/sanitizers) with cross-file attack-flow tracing,
replacing the old first-200-files slice. Multi-pass per-agent context within
a budget, plus a variant/circumvention-review doctrine for every SAST agent.
- kernel_recon.rs: deterministic Linux kernel facts over an authorized SSH
session (version, modules, SUID surface, sysctls) for the LLM to reason from.
- winbin_harvest.rs: pulls third-party Windows driver/service binaries off an
authorized host over SMB and runs them through the same deep binary pass.
- re_tools.rs: embedded read-only radare2/Ghidra/IDA/Frida helper scripts and
headless drivers, shared by the mobile/binary and Windows-harvest pipelines.
- 38 new mobile/iOS/Android/native-binary research agents (agents_md/mobile/
was empty before — `neurosploit mobile` ran zero agents).
- artifact.rs: resolve a local path or URL, classify by magic bytes, hash.
- profile.rs: network vs AD vs cloud:<provider> vs web agent-set restriction;
`run` now defaults to web-only agents (--all-agents lifts it).
Agentic capability / opsec:
- agentic_tools.rs: a real iterative tool-calling loop (call a tool, read its
actual output, decide the next one) replacing the one-shot batch picker;
wired into the existing recon tool round.
- noise_governor.rs: the per-host rate/jitter governor existed but was never
called anywhere — wired it into the new tool-calling loop under --stealth.
- credtest.rs: credentials surfaced by the attack-chain loop are now actually
tested (SSH/SMB/WinRM/HTTP-basic) between rounds instead of left for the
model to maybe act on; a verified one becomes a confirmed-foothold fact for
the next round.
- teamboard.rs: exploit agents in the same wave see each other's leads
(credentials, endpoints) as they land, with IDs so a finding can cite the
lead it was chained from (chains_from is now actually parsed and recorded).
- poc_gate.rs: lints PoC scripts for known false-positive patterns (success
printed in an error handler, unconditional success, self-injection, a script
that reimplements the bug instead of exercising the target) and lowers
confidence instead of trusting the script blindly.
- taint.rs: detects and strips "poison the AI agent" decoy comments (the
SpikeStrip pattern — a random hex key followed by a fabricated CVE/route)
regardless of payload wording, by their structural fingerprint.
- recon_compact.rs: semantic compaction of recon JSON (halves the largest
array, keeps every key) instead of a hard character truncation that silently
dropped the tail of the reply.
751 tests passing; release build clean.
setup.sh runs with set -e and pkg_install swallowed the package manager's
output, so a failed apt-get install nodejs killed the installer right after
"node missing — installing…" with no message. pkg_install is now best-effort
and prints the tail of the package manager's error on failure.