DeepSeek API only accepts deepseek-v4-pro and deepseek-flash.
Previous names (deepseek-r2, deepseek-v4.1, deepseek-v4) returned
400 Bad Request, causing all agents to fail silently.
Also wires Settings default model into New Engagement wizard so
the provider/model pre-selects when creating a new run.
- Replace free-text model input with grouped select dropdown (19 providers)
- Add DeepSeek R2/V4/V4.1/V4 Pro models to provider registry
- Persist API keys to disk (~/.neurosploit/keys.json, mode 0600) with load on startup
- Add key verification for 13 cloud providers (keyProbe)
- Fix broken select dropdowns in dark mode (remove appearance:none)
- Wire --agent-tools flag into every web-launched test for 200+ toolbox tools
Add standalone MCP installer package (mcp/) that builds, links and
registers the NeuroSploit MCP server globally for Claude Code, Cursor,
Windsurf and VS Code.
New MCP tools (9): neo4j, sandbox, capability, provenance, reactive,
knowledge, graph_chains, mcp_profiles, config — total 48 tools.
Install: bash mcp/install.sh
C2 framework: local daemon with HTTP listener, session management, task
dispatch, beacon protocol. WebShell support for persistent access through
web endpoints. Full CLI surface (neurosploit c2/webshell), MCP tools, REPL
commands, and web console integration with real-time session monitoring.
Toolbox: 200+ real security tools catalog (nmap, ffuf, sqlmap, nuclei, etc.)
with structured output parsing, MCP tool server integration, and auto-install.
Runner executes tools with timeout, audit trail, and output capture. Catalog
is data-driven via tools/toolbox.json.
MCP: expanded tool surface for C2 sessions, task management, webshell
operations, and toolbox execution. All tools share one implementation with
CLI, REPL, and web console.
Web UI: C2 dashboard with session cards, task panels, webshell terminal.
Toolbox browser with search, run modal, and output viewer. API endpoints
for all operations.
Pipeline: toolbox integration for auto-running tools during engagements
when autonomy level permits.
0 build errors, test suite passes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reactive engine (--reactive): event-driven planner/worker loop replaces fixed
phases. Planner wakes on graph changes, workers claim intents from shared queue.
Includes heartbeat lease for worker liveness, intelligent reason trigger (skip
replan when graph unchanged), hint injection for operator-in-the-loop, and
session resume/conclude fallback to salvage partial work on failure.
Graph reasoning: BFS chain discovery from confirmed findings to untested assets,
LLM-driven strategy decisions, graph enrichment after findings. Wired into
planner loop (chain discovery when idle) and worker loop (enrich neighbors).
Knowledge base: agent markdowns as searchable methodology repository. Keyword
overlap scoring with CWE bonus. Dynamically injected into worker prompts per
task for context-aware testing guidance.
MCP profiles: pre-configured tool sets per test type (Web/Playwright,
MobileAndroid/REA, MobileIos/REA, BinaryAnalysis/REA, BurpSuite). Auto-register
via --mcp-profile flag. Tool allowlists and prompt context per profile.
CLI: --reactive, --mcp-profile, --autonomy flags. Web UI: wizard fields for
autonomy/MCP profile/reactive toggle, Reactive Engine info modal with feature
grid, MCP Profile modal with tool cards, Settings page reactive config card.
604 tests pass, 0 errors.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dual_build adds in-scope recon assets and records findings as intent->finding with
anchors; idempotent, validation updates status in place, out-of-scope hosts and URLs
never enter. graphs/dual-graph.json now exists for the planner prompt, cold digests
and the Neo4j sync.
- inject extracted operator constraints into every recon/exploit prompt
- skip recon commands that violate a constraint (e.g. no port scan)
- fold settled exploration history into digests in the prompt block, persisted
next to the graph; any I/O error falls back to the plain summary
Add five pure, unit-tested harness modules inspired by Artex's operating model:
- cold_digest: fold settled exploration nodes into digests for the planner prompt
- constraints: self-contained operator deny/allow rules with command-level blocking
- intent_queue: single-generator queue (only planner/operator create intents)
- wrapup: settlement phase when turns or time run out
- retest: reproduced/fixed/inconclusive verdicts with an explicit evidence bar
Bump version to 4.4.1 (Cargo, web, installers, README) and add release notes.
OLLAMA_BASE_URL without the /v1 suffix produced requests to
/chat/completions instead of /v1/chat/completions, causing every
Ollama call to 404. Also default to the provider's first listed model
when --model ollama: is passed with an empty model name.
Closes#52
- usage.rs records provider-reported input/output/cached tokens per agent
(HTTP API, claude CLI, codex) and writes usage.json plus a run summary.
Observational only; budget gates are unchanged.
- NEUROSPLOIT_PROMPT_PREFIX=1 moves the block shared by all exploit agents
to the front of the system message so provider prompt caches can hit.
Off by default; the prompt is unchanged when unset.
Temperature was hardcoded to 0.2 in the API chat body. Add a
temperature_for() helper reading NEUROSPLOIT_TEMPERATURE (clamped to
0.0..=2.0, default 0.2) and a global --temperature CLI flag that sets it
before dispatch, so both run and the REPL honour it. HTTP API path only;
subscription-CLI backends expose no temperature knob.
Closes#49
Add Website + Docs badges and a website/live-docs line to the header, pointing
to the new GitHub Pages site and its tutorial page.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pipeline: keep ALL candidate findings after validation instead of
discarding vote-rejected ones. Rejected findings are marked with
review_status="rejected" so the UI can distinguish them visually.
Previously 11 findings during a run would shrink to 2 after validation
— now all 13 appear with their status clearly indicated.
Web console: implement working search/filter for Pentests list
(#pentestSearch) and Issues page (#issuesSearch, severity dropdown,
status dropdown). Previously the search inputs existed in HTML but had
no event listeners — typing in them did nothing.
Replace the naive heuristic_select() with a recon-driven scoring engine that
analyzes 30+ surface detection flags (WAF, CDN, SPA, frameworks, cloud, DB,
auth, API, etc.) and uses them to:
- Negatively filter agents for technologies NOT detected in recon (-10 penalty)
- Conditionally apply baseline scores only when surface supports the class
- Boost WAF-bypass/smuggling agents when WAF/CDN is detected (+8)
- Reduce injection baseline behind WAFs (sqli_error gets +1 not +4)
- Context-boost auth/API/SPA/CDN/template agents per detected surface
- Expand signal mappings from ~23 to 60+ (frameworks, CDNs, WAFs, patterns)
Also improve the LLM selector (SELECT_SYS) with explicit elimination rules
and hard exclusions (no DB agents without direct DB port, no cloud agents
without cloud endpoints), and double the recon context from 3000 to 6000 chars.
- mcp_hot_reload.rs: watches mcp.servers.json for mid-run changes,
rewrites .mcp.json so next agent spawn picks up new MCP servers
(e.g. Playwright) without restarting the engagement. Includes
add_server/remove_server helpers for REPL integration.
- reference_prompts: new RunConfig field accepting paths to .md files
(e.g. pentest methodology guides) injected into every agent prompt
as supplementary testing material (capped at 8000 chars each).
- autonomy levels: "cautious", "standard", "aggressive", "full" —
shape how aggressively agents explore. Higher levels encourage
creative lateral testing, tool installs, WAF bypasses, zero-day
hunting, and exhaustive business logic exploration.
- LLM-based finding dedup: fast-path deterministic (title+endpoint, CWE+endpoint) + LLM semantic judge for fuzzy cases
- Progressive budget warnings at 70/85/95% with stop-new-agents gate at 95%
- Token tracking on ModelPool (record_tokens on every completion, set_token_limit from budget config)
- Agent lifecycle nudge: retry failed agents up to 3x with progressively simplified prompts
- Image budget enforcement: cap base64 screenshots in prompts, strip-all for recovery
- Run snapshot/resume: persist RunSnapshot to workdir, skip already-completed agents on resume
- 21 unit tests for all new features (500 total pass)
Adds a "Re-run" button to the run detail view that opens the wizard
pre-populated with the previous run's settings (target, model, votes,
chain depth, recon, max agents, mode flags). Server now includes
launch params in the detail API response by looking up the persisted
job file. Previous findings and reports are preserved (new run ID).
- Remove filter that dropped terminal AttackStep nodes, which caused
the graph to show only isolated Finding nodes
- Rewrite hostOf to use OBSERVED_IN edges (Finding -> Endpoint) and
climb structural edges (HAS_ENDPOINT, EXPOSES, HAS_ASSET) to reach
host/asset nodes
- Hide all views (including pentestsView) when navigating to live/detail
- Scroll to top on all view transitions
- Treat all-agents-selected same as none (let recon decide)
- attachLiveJob now hides ALL views (including pentestsView) before
showing liveView, fixing the detail appearing below the pentests list
- Scroll to top on all view transitions (detail, live, fallback)
- When all agents are selected, treat as none selected so recon decides
which agents to run instead of pinning all 300+ agents
Add Max Agents input to Run Settings section in wizard. Wire maxAgents
through POST body, sanitizeLaunch, buildArgs (CLI), and buildReplScript
(REPL /agents command). Also pass --quick and --research as CLI flags
in buildArgs for modes that support them (run/whitebox/greybox).
Include needs-review in severity counts in report template and rename
KPI card from "Confirmed" to "Validated" combining both confirmed and
needs-review statuses.
Server-side credential validation for GitHub, GitLab, Jira, Slack, AWS, GCP, Azure before saving.
Modal pre-populates existing config and shows previous validation status on reopen.
Replace browser prompt() dialogs with proper floating modals for
Add Repository, Add Domain, and Add Network buttons. Replace
placeholder configureIntegration toast with real per-service config
modal (GitHub, GitLab, Jira, Slack, MCP). Add overlay click and
Escape key to close all modals. Fix Issues page to show real target
URL from run meta.json. Hide run history sidebar on asset pages.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UqW6BbQgqGkEDn3RYuCVoM