From c1a15f2e84440fe6f44ce179b9ec560990469063 Mon Sep 17 00:00:00 2001 From: CyberSecurityUP Date: Sun, 15 Nov 2026 23:04:45 -0300 Subject: [PATCH] =?UTF-8?q?chore(release):=20v4.4.2=20=E2=80=94=20managed?= =?UTF-8?q?=20Neo4j=20and=20populated=20exploration=20graph?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +-- RELEASE.md | 32 ++++++++++++++++++++++++ install.ps1 | 4 +-- neurosploit-rs/Cargo.lock | 4 +-- neurosploit-rs/Cargo.toml | 2 +- neurosploit-rs/crates/harness/src/lib.rs | 2 +- setup.bat | 2 +- setup.sh | 6 ++--- web/package.json | 4 +-- web/public/app.js | 2 +- web/public/index.html | 4 +-- web/server.js | 4 +-- 12 files changed, 51 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index a7b9ff0..dac4c6b 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

๐Ÿง  NeuroSploit v4.4.1

+

๐Ÿง  NeuroSploit v4.4.2

Stars @@ -7,7 +7,7 @@

- + diff --git a/RELEASE.md b/RELEASE.md index 5866efa..36ecb69 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,35 @@ +# NeuroSploit v4.4.2 โ€” Release Notes + +**Credits:** Joas A Santos & Red Team Leaders + +## v4.4.2 โ€” Managed Neo4j and a populated exploration graph + +- **Managed Neo4j.** `neurosploit neo4j up|down|status|info|sync` starts a local Neo4j in + Docker (ports bound to `127.0.0.1` only), generates a password, saves the connection to + `~/.neurosploit/neo4j.json` (mode `0600`) and hands the password to Docker through the + environment, never on a command line. Once up, runs use it automatically; an explicit + `--neo4j` or `NEO4J_URI` always wins. `down` keeps the data and disables auto-use; + `down --purge` deletes data and the saved connection. `docker-compose.neo4j.yml` is provided + for those who prefer compose. +- **Exploration graph in Neo4j.** Assets and the exploration graph (goals, intents, facts, + negatives, findings, anchors) are MERGEd with closed-enum labels and relationship types; + free text only travels as parameters. A chain query surfaces untested assets sitting next to + something already broken and injects them into agent prompts as unverified hypotheses. +- **The graph is now actually populated.** At every graph checkpoint the pipeline writes + `graphs/dual-graph.json` from recon (in-scope hosts, subdomains, endpoints, parameters) and + findings (intent -> finding with anchors). Idempotent; validation updates status in place; + out-of-scope hosts and URLs never enter. +- **Operator constraints and cold digests are wired into the pipeline** (from 4.4.1's + modules): extracted constraints reach every recon/exploit prompt and are enforced on recon + commands; settled exploration history is folded into digests in the prompt block. +- **Web backend.** `GET /api/neo4j/status`, `POST /api/neo4j/up`, `POST /api/neo4j/down`, + `POST /api/runs//neo4j-sync`. + +Known gap: the intent queue, wrap-up and retest modules from 4.4.1 are library-only; their +drivers in the agent loop are not wired yet. + +--- + # NeuroSploit v4.4.1 โ€” Release Notes **Credits:** Joas A Santos & Red Team Leaders diff --git a/install.ps1 b/install.ps1 index 574ee5f..ee9fcd8 100644 --- a/install.ps1 +++ b/install.ps1 @@ -14,7 +14,7 @@ function Ok ($m) { Write-Host " + $m" -ForegroundColor Green } function Warn($m){ Write-Host " ! $m" -ForegroundColor Yellow } Write-Host "" -Write-Host " NeuroSploit installer (Windows) โ€” v4.4.1" -ForegroundColor Cyan +Write-Host " NeuroSploit installer (Windows) โ€” v4.4.2" -ForegroundColor Cyan # arch โ†’ asset arch (only x64 prebuilt today; arm64 falls back to source) $rawArch = $env:PROCESSOR_ARCHITECTURE @@ -29,7 +29,7 @@ $ref = $env:NEUROSPLOIT_REF if (-not $ref) { try { $ref = (Invoke-RestMethod "https://api.github.com/repos/$slug/releases/latest").tag_name } catch { } } -if (-not $ref) { $ref = "v4.4.1" } +if (-not $ref) { $ref = "v4.4.2" } Say "Release: $ref" New-Item -ItemType Directory -Force -Path $dir | Out-Null diff --git a/neurosploit-rs/Cargo.lock b/neurosploit-rs/Cargo.lock index b602ab3..9b18072 100644 --- a/neurosploit-rs/Cargo.lock +++ b/neurosploit-rs/Cargo.lock @@ -940,7 +940,7 @@ dependencies = [ [[package]] name = "neurosploit" -version = "4.4.1" +version = "4.4.2" dependencies = [ "anyhow", "clap", @@ -957,7 +957,7 @@ dependencies = [ [[package]] name = "neurosploit-harness" -version = "4.4.1" +version = "4.4.2" dependencies = [ "anyhow", "base64", diff --git a/neurosploit-rs/Cargo.toml b/neurosploit-rs/Cargo.toml index ee41c8c..93301a6 100644 --- a/neurosploit-rs/Cargo.toml +++ b/neurosploit-rs/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/harness", "app"] resolver = "2" [workspace.package] -version = "4.4.1" +version = "4.4.2" edition = "2021" license = "MIT" repository = "https://github.com/JoasASantos/NeuroSploit" diff --git a/neurosploit-rs/crates/harness/src/lib.rs b/neurosploit-rs/crates/harness/src/lib.rs index 0c574d9..c800929 100644 --- a/neurosploit-rs/crates/harness/src/lib.rs +++ b/neurosploit-rs/crates/harness/src/lib.rs @@ -1,4 +1,4 @@ -//! NeuroSploit v4.4.1 harness โ€” a robust multi-model runtime for the +//! NeuroSploit v4.4.2 harness โ€” a robust multi-model runtime for the //! markdown-driven autonomous pentest engine. //! //! The harness loads the `agents_md/` library, drives a *pool* of LLM models diff --git a/setup.bat b/setup.bat index b058e27..261f29f 100644 --- a/setup.bat +++ b/setup.bat @@ -11,7 +11,7 @@ REM Env (optional): NEUROSPLOIT_REF, NEUROSPLOIT_DIR, NEUROSPLOIT_BUILD=1, REM NEUROSPLOIT_NO_DEPS=1, NEUROSPLOIT_RUN=1 setlocal echo. -echo NeuroSploit installer (Windows) v4.4.1 +echo NeuroSploit installer (Windows) v4.4.2 echo -------------------------------------- where powershell >nul 2>&1 diff --git a/setup.sh b/setup.sh index df72da5..d307937 100755 --- a/setup.sh +++ b/setup.sh @@ -28,10 +28,10 @@ cat <<'BANNER' โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•— NeuroSploit installer - โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ v4.4.1 โ€” Rust harness + โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ v4.4.2 โ€” Rust harness โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ by Joas A Santos โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• & Red Team Leaders - โ•šโ•โ• โ•šโ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• v4.4.1 + โ•šโ•โ• โ•šโ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• v4.4.2 BANNER # ---- platform detection (Linux / macOS / Windows-WSL ยท x64 / arm64) ---- @@ -63,7 +63,7 @@ if [ -z "$REF" ]; then REF="$(dl "https://api.github.com/repos/${REPO_SLUG}/releases/latest" /dev/stdout 2>/dev/null \ | grep -m1 '"tag_name"' | sed -E 's/.*"tag_name" *: *"([^"]+)".*/\1/' || true)" fi -[ -z "$REF" ] && REF="v4.4.1" +[ -z "$REF" ] && REF="v4.4.2" say "Release: $REF" installed=0 diff --git a/web/package.json b/web/package.json index 07f3d65..e0db531 100644 --- a/web/package.json +++ b/web/package.json @@ -1,8 +1,8 @@ { "name": "neurosploit-web", - "version": "4.4.1", + "version": "4.4.2", "private": true, - "description": "NeuroSploit v4.4.1 web console โ€” lead board + REPL, backed by the neurosploit CLI harness.", + "description": "NeuroSploit v4.4.2 web console โ€” lead board + REPL, backed by the neurosploit CLI harness.", "main": "server.js", "scripts": { "start": "node server.js" diff --git a/web/public/app.js b/web/public/app.js index e5c8b3d..4c79d2d 100644 --- a/web/public/app.js +++ b/web/public/app.js @@ -1,5 +1,5 @@ 'use strict'; -/* NeuroSploit v4.4.1 โ€” web console frontend. Vanilla JS, no build step. */ +/* NeuroSploit v4.4.2 โ€” web console frontend. Vanilla JS, no build step. */ const $ = (sel, root = document) => root.querySelector(sel); const $$ = (sel, root = document) => Array.from(root.querySelectorAll(sel)); diff --git a/web/public/index.html b/web/public/index.html index 402fbad..0195a88 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -3,7 +3,7 @@ -NeuroSploit v4.4.1 โ€” Console +NeuroSploit v4.4.2 โ€” Console @@ -67,7 +67,7 @@

- v4.4.1 + v4.4.2
diff --git a/web/server.js b/web/server.js index d82b675..993bfa9 100644 --- a/web/server.js +++ b/web/server.js @@ -1,7 +1,7 @@ #!/usr/bin/env node 'use strict'; /** - * NeuroSploit v4.4.1 โ€” web console backend. + * NeuroSploit v4.4.2 โ€” web console backend. * * Zero-dependency Node HTTP server that: * - serves the static SPA in ./public @@ -109,7 +109,7 @@ const BIN = findBinary(); // string. This keeps the web UI and the CLI binary in lockstep: bump the crate, // rebuild, and the title/badge/UA all move together with no web edit. Falls back // to the package string only when the binary is missing. -const FALLBACK_VERSION = '4.4.1'; +const FALLBACK_VERSION = '4.4.2'; function binaryVersion() { if (!BIN) return FALLBACK_VERSION; try {