Commit Graph
454 Commits
Author SHA1 Message Date
Joas A SantosandClaude Opus 4.6 9a087833a6 fix(harness): resolve 37 compilation warnings and 3 bugs
Bug fixes:
- attack_graph.rs: remove unreachable duplicate CWE match arms (915, 384, 770, 799)
- pipeline.rs: wire technology detection flags into agent negative scoring
- pipeline.rs: add Hermes/DeepSeek V2 format detection to looks_like_tool_call

Cleanup: remove 10 unused imports, prefix 7 unused vars, remove 2 unnecessary
mut qualifiers, mark 5 dead code items, remove 1 unnecessary parenthesis.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-12-04 01:36:34 -03:00
CyberSecurityUPandClaude Haiku 5.5 9e50dcbfec feat(harness): recover tool calls written as model markup
Models such as DeepSeek emit DSML, Hermes or JSON action markup instead of
findings JSON, which dropped the agent's work. Parse those dialects, map
shell-style calls onto catalog tools (refusing chaining and redirects), and
run them in scope before asking the model for findings. The agentic loop
accepts the same recovered call as a normal action.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-12-04 00:19:59 -03:00
Joas A Santos 5238f9b03f feat: add reproducible NimbusCart benchmark harness (#116) 2026-12-03 23:22:33 -03:00
Joas A Santos 00c5c87bff feat: add traffic store for browser captures (#115) 2026-12-03 22:48:50 -03:00
Joas A Santos f793e90a08 Merge pull request #114 from JoasASantos/feat/browser-capture
feat: real-browser capture for SPA/Cloudflare (P0 milestone 2)
2026-12-03 22:05:26 -03:00
CyberSecurityUP 16c33e79f9 feat: real-browser capture feeds SPA APIs into recon
- Playwright Chromium records same-origin XHR/fetch, JS bundles and cookie names
- raw capture saved under traffic/; compact endpoint block injected into recon
- scope/auth/evasion UA honored; 60s timeout kills node + Chromium group
- best-effort with NEUROSPLOIT_BROWSER_RECON=0 opt-out
2026-12-03 22:05:19 -03:00
Joas A Santos 40bfa2c9d3 Merge pull request #113 from JoasASantos/feat/wire-deterministic-gates
feat: wire-first deterministic gates (P0 refactor)
2026-12-03 16:18:04 -03:00
CyberSecurityUP fde91c0b74 feat: wire-first deterministic gates for sourcemap/admin/rate/IDOR
- replay a safe GET and store the real request/response as evidence
- sourcemap must be served and parse; admin rejects redirect/WAF/SPA/shell;
  rate/IDOR without a receipt become leads; generic findings go through judge
- only validated findings are reported; the rest are leads
2026-12-03 16:17:47 -03:00
Joas A Santos bec432d3a6 Merge pull request #112 from JoasASantos/fix/evasion-browser-ua
fix: --evasion uses a browser User-Agent
2026-12-03 11:30:32 -03:00
CyberSecurityUP 207be99ebe fix: --evasion uses a browser User-Agent (harness + tool recon)
- default UA is the browser UA under evasion; explicit NEUROSPLOIT_UA still wins
- browser Accept/Accept-Language; scan header stays dropped
- recon curl/katana/nuclei/ffuf carry the same UA
2026-12-03 11:30:22 -03:00
Joas A Santos 821742ce7f Merge pull request #111 from JoasASantos/fix/model-select-race
fix(web): model selection race and stale custom id
2026-12-03 11:16:39 -03:00
CyberSecurityUP 7e8110350d fix(web): model selection race + stale custom id override
- live catalog no longer re-applies the old/default model after the operator
  changed it while the fetch was in flight
- custom provider:model is cleared when it conflicts with the selected provider
- model card, selects and run body stay in sync
2026-12-03 11:16:20 -03:00
Joas A Santos 48fe6182b7 Merge pull request #110 from JoasASantos/fix/console-continue-newtab-grep
fix(web): Continue state, open run in new tab, portable recon grep
2026-12-03 11:09:59 -03:00
CyberSecurityUP 2173ac8930 fix(web): continue phase + run deep-link/new-tab; portable recon grep
- replace GNU grep -P in recon with perl (macOS/BSD)
- pause/continue sets phase running and recognises the CLI's resuming lines
- runs open in a new tab via ?run=<id>, Ctrl/Cmd/middle-click or the new link
2026-12-03 11:09:52 -03:00
Joas A Santos 3cda602f42 Merge pull request #109 from JoasASantos/fix/report-validated-only
fix: report only validated findings (candidates become leads)
2026-12-03 10:02:10 -03:00
CyberSecurityUP e9cb75128d fix: report only validated findings; keep candidates as leads
- validate_with_persist returns validated only; needs-review/rejected go to leads.json
- web reloads findings.json at job completion so the final table is the validated list
- no more agent-recorded candidates counted as High/Medium findings
2026-12-03 10:01:45 -03:00
Joas A Santos 6961466c03 Merge pull request #108 from JoasASantos/fix/settings-reactive-prefill
fix(web): apply Settings Engine choice to the wizard
2026-12-03 09:37:37 -03:00
CyberSecurityUP b29917381f fix(web): apply Settings Engine (reactive/phased) to the wizard
- choosing Phased in Settings now unchecks the wizard Reactive engine box
- avoids the checkbox default re-enabling reactive and skipping tool recon
2026-12-03 09:37:30 -03:00
Joas A Santos b35bfb15c5 Merge pull request #107 from JoasASantos/fix/cap-pinned-agents
fix: apply --max-agents to pinned agents
2026-12-03 09:36:18 -03:00
CyberSecurityUP 8ce411d060 fix: apply --max-agents to pinned agents
- pinned sets no longer bypass the cap (252 pinned + /agents 3 now runs 3)
- log the dropped count and make the REPL banner show the cap
2026-12-03 09:34:57 -03:00
Joas A Santos 83989ad1c1 Merge pull request #106 from JoasASantos/fix/settings-saved-model
fix(web): Settings saves the selected model (live catalog)
2026-12-03 09:28:32 -03:00
CyberSecurityUP 80748b0c74 fix(web): keep the saved default model after the live catalog loads
- the saved model can exist only in the live /models list, not the seed
  list; the select fell back to the first model and Save persisted it
- Settings and the wizard now re-select the saved/preferred model after the
  live catalog replaces the options
2026-12-03 09:28:15 -03:00
CyberSecurityUP 53cef9e5a9 fix(web): authentication button always opens the Target login tab
- reset the Auth & Keys tab on every open instead of keeping the last one
- Authentication -> Target login, rules -> Scope, infra creds -> Files
2026-12-03 09:23:06 -03:00
Joas A Santos e66ba3c1aa Merge pull request #104 from JoasASantos/fix/admin-false-positive-evasion
fix: /admin WAF/SPA false positives + evasion prompt
2026-12-02 22:35:45 -03:00
CyberSecurityUP 4e61368f16 fix: collapse and reject /admin WAF/SPA false positives; evasion prompt
- evasion prompt no longer instructs agents to send X-NeuroSploit-Scan
- inject WAF bypass doctrine whenever a CDN/WAF is detected
- admin guard: 3xx/block/SPA/public-JS routes are not exposed admin
- dedup admin claims across agents; reject redirect/identical-baseline claims
- web: do not add --agent-tools twice
2026-12-02 22:35:32 -03:00
Joas A Santos e52204b430 Merge pull request #103 from JoasASantos/fix/waf-200-block-page
fix: reject HTTP 200 WAF block pages (admin false positive)
2026-12-02 22:01:13 -03:00
CyberSecurityUP 9e64896631 fix: treat HTTP 200 WAF block pages as edge responses and reject them
- Cloudflare can serve the block page with 200; classify it via the specific
  'Sorry, you have been blocked' / 'Cloudflare Ray ID' wording
- judge_evidence rejects findings whose attack exchange is edge-blocked or
  throttled (the app was never tested)
- regression test for the 200 block page
2026-12-02 22:01:00 -03:00
Joas A Santos 65972fc4b2 Merge pull request #102 from JoasASantos/fix/recon-timeout-toolcall-neo4j
fix: recon timeout leak, tool-call reply recovery, Neo4j circuit-break
2026-12-02 21:40:18 -03:00
CyberSecurityUP de41c9769b fix: kill leaked recon pipelines, recover tool-call replies, Neo4j circuit-break
- host recon runs in its own process group and SIGKILLs the group on timeout (gau/katana no longer outlive the run)
- when an agent replies with tool-call markup instead of JSON, ask once for a JSON-only answer over the same evidence
- remember an unreachable Neo4j for the process so later graph phases skip it silently
- warn when many agents are pinned with --max-agents 0 and when vote-n exceeds distinct models
2026-12-02 21:40:07 -03:00
Joas A Santos 06c6497f54 Merge pull request #101 from JoasASantos/docs/orcarouter-auto-config
docs: OrcaRouter, auto-config defaults, live catalogs, pipeline AD
2026-12-02 21:39:38 -03:00
CyberSecurityUP c52d5a975e docs: OrcaRouter, auto-config defaults, live catalogs, pipeline AD 2026-12-02 21:39:26 -03:00
Joas A Santos ed85096ef9 Merge pull request #100 from JoasASantos/feat/orcarouter-provider
feat: add OrcaRouter provider + two-step default model picker
2026-12-02 20:57:00 -03:00
CyberSecurityUP fe98870c0e feat: add OrcaRouter provider and two-step default model picker
- OrcaRouter (api.orcarouter.ai/v1, ORCAROUTER_API_KEY): registry,
  sk-orca- prefix detection, auto-config, web catalog + key verify
- Settings > Defaults: provider -> model, listing only usable providers,
  with the live model catalog
2026-12-02 20:56:51 -03:00
Joas A Santos 5f9c06c350 Merge pull request #98 from JoasASantos/feat/pipeline-ad-receipts
feat: classify AD/host receipts in the phased pipeline
2026-12-02 15:15:54 -03:00
CyberSecurityUP 20676c3b56 feat: classify AD/host receipts in the phased pipeline
- add ad_evidence::classify_auto (all tool families, deduped by fact)
- persist receipts to graphs/ad-facts.json via ad_recipe::record and read
  them in facts_from_run
- classify recon/tool output, every agent transcript, and each chain
  round so the AD/privesc recipe chain advances in the phased pipeline
2026-12-02 15:15:41 -03:00
Joas A Santos f91fe942c7 Merge pull request #97 from JoasASantos/fix/cli-web-parity-and-ad-facts
fix: CLI/web parity for auto-config opt-outs + AD facts from dual graph
2026-12-02 15:04:23 -03:00
CyberSecurityUP d2e464ff4f fix: CLI/web parity for auto-config opt-outs; AD facts from dual graph
- add --no-revalidate / --no-evasion / --no-sandbox for CLI parity
- web resume preserves sandbox/reactive/revalidate/evasion and forwards
  the NEUROSPLOIT_NO_* opt-outs
- autoconfig no longer overrides explicitly-set env (including 0)
- ad_recipe facts_from_run reads dual-graph.json as well as reactive-state
2026-12-02 15:04:11 -03:00
Joas A Santos 3b43302bf0 Merge pull request #96 from JoasASantos/fix/reactive-quiescent-and-off-switch
fix: reactive quiesced with 0 findings; add manual off switch
2026-12-02 14:44:43 -03:00
CyberSecurityUP 2ed7ec6a51 fix: reactive seeds target from prose recon; add --no-reactive off switch
- add_recon always seeds the target asset and extracts in-scope URLs /
  subdomains from free text, so a prose recon answer no longer leaves the
  graph empty (which made the planner quiesce with 0 findings)
- --no-reactive / NEUROSPLOIT_NO_REACTIVE=1 and unchecking the web toggle
  now actually disable reactive and fall back to the phased pipeline
2026-12-02 14:44:32 -03:00
Joas A Santos 2d8ffe70d0 Merge pull request #95 from JoasASantos/feat/web-auto-defaults
feat(web): surface auto-config defaults in the wizard
2026-12-02 13:16:11 -03:00
CyberSecurityUP 60f6b40fc9 feat(web): surface auto-config defaults in the wizard
- 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
2026-12-02 13:15:59 -03:00
Joas A Santos fca1c2714a Merge pull request #94 from JoasASantos/feat/auto-config-live-models
feat: auto-config safe defaults, live model catalogs, CVE/AD in flow
2026-12-02 13:09:24 -03:00
CyberSecurityUP bf4c31dacb feat: auto-config safe defaults, live model catalogs, CVE/AD in flow
- 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
2026-12-02 13:08:55 -03:00
Joas A Santos b4c0d0e371 Merge pull request #93 from JoasASantos/feat/cve-lookup-privesc-evidence
feat: fingerprint→CVE lookup and host/AD privilege receipts
2026-12-02 12:03:13 -03:00
CyberSecurityUP 2c0ac06735 feat: fingerprint→CVE lookup and host/AD privilege receipts
- 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
2026-12-02 12:03:04 -03:00
CyberSecurityUP 983b00a1dc chore(release): v4.6.0 — MCP & C2 operator tools, installers, red-team engine v4.6.0 2026-12-01 23:58:34 -03:00
Joas A Santos cc42f469a2 Merge pull request #92 from JoasASantos/docs/console-screenshots
docs: web console screenshots in README
2026-12-01 19:17:15 -03:00
Joas A SantosandClaude Opus 5.5 2a3977b1bf docs: web console screenshots (dark and light) in README
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>
2026-12-01 19:16:54 -03:00
Joas A Santos f31677d1e3 Merge pull request #91 from JoasASantos/feat/setup-installers
feat: one-step installers + MCP & C2 operator tools
2026-12-01 18:58:48 -03:00
CyberSecurityUP b02f10569a feat(web): MCP & C2 operator tools + built-in profiles
- new MCP & C2 page under Operator tools: connect a C2 (profile / configured
  MCP server / HTTP URL) in a modal, list built-in C2 profiles (sliver/havoc/
  mythic/adaptix/cobaltstrike), test MCP servers with a real initialize+tools/list,
  add/remove custom MCP servers, and task reused sessions
- backend /api/operator/* routes proxying c2x and probing stdio/HTTP MCP
- CLI: neurosploit tools mcp profiles (+ json resolves C2 profiles)
- simplified captions, centered layout, sane empty states, single input focus ring
2026-12-01 18:58:31 -03:00