CyberSecurityUP 54e8b13035 feat: pluggable LLM providers, kernel/binary recon, iterative tool-calling, mobile/binary pipeline
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.
2026-11-28 14:18:53 -03:00
2026-07-01 17:14:42 -03:00

NeuroSploit

NeuroSploit

Autonomous penetration-testing harness — Rust, multi-model, CLI-first.

Stars Forks Issues


Rust License Agents Modes MCP Profiles Providers


Website · Docs & Tutorial · TUTORIAL.md · BENCHMARK.md


What is NeuroSploit?

Point it at a target. It runs the security assessment autonomously and hands you a report — recon, exploitation, chaining, validation — no human driving each step.

The harness is the pentester, not the model. A Rust engine runs the methodology: picks specialist agents for what it finds, runs them in parallel, re-sends every claim over the wire to confirm it's real, and has a second model check each finding before reporting. The LLMs are the hands; the harness is the discipline.

recon ─▶ select agents ─▶ exploit in parallel ─▶ wire-check ─▶ cross-model vote ─▶ chain ─▶ report

Install

# Linux / macOS (x64 & arm64)
curl -fsSL https://raw.githubusercontent.com/JoasASantos/NeuroSploit/main/setup.sh | bash

# Windows (PowerShell)
irm https://raw.githubusercontent.com/JoasASantos/NeuroSploit/main/install.ps1 | iex

# From source
git clone https://github.com/JoasASantos/NeuroSploit && cd NeuroSploit/neurosploit-rs
cargo build --release      # → target/release/neurosploit

Quick Start

# Interactive wizard (asks everything):
neurosploit

# Black-box with subscription:
neurosploit run http://target.com --subscription --model anthropic:claude-opus-4-8 -v

# White-box source review:
neurosploit whitebox /path/to/repo --subscription --model anthropic:claude-opus-4-8 -v

# Host / AD / infra:
neurosploit host 10.0.0.5 --subscription --model anthropic:claude-opus-4-8 -v

# Web console:
cd web && npm start     # → http://localhost:3000

Modes

Mode Command Surface
Black-box neurosploit run <url> Web apps, APIs — recon → exploit → vote → report
White-box neurosploit whitebox <repo> Source / SAST review (file:line evidence)
Grey-box neurosploit greybox <repo> --url <app> Code review + live exploitation
Host / Infra neurosploit host <ip> Linux, Windows, AD, cloud (AWS/GCP/Azure)
AI / LLM neurosploit aitest <ai-url> Jailbreaks, prompt injection, OWASP LLM Top 10
Mobile neurosploit mobile <app.apk|.ipa> APK/IPA RE (Ghidra / MobSF / Frida)
Container neurosploit container <image:tag> OCI scan + SBOM (trivy/grype/syft)
Mission Control neurosploit tui <url> Live TUI with mid-run composer

Architecture

┌─────────────────────────────────────────────────────────────┐
│                     NeuroSploit Harness                      │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐  ┌────────────┐  │
│  │  Recon   │─▶│  Select  │─▶│ Parallel │─▶│  Validate  │  │
│  │  Engine  │  │  486 MDs │  │  Exploit │  │  Wire+Vote │  │
│  └──────────┘  └──────────┘  └──────────┘  └────────────┘  │
│       │              │              │              │         │
│       ▼              ▼              ▼              ▼         │
│  ┌──────────────────────────────────────────────────────┐   │
│  │          Attack Knowledge Graph (Neo4j opt.)         │   │
│  │   Host → Service → Finding → Credential → Impact    │   │
│  └──────────────────────────────────────────────────────┘   │
│       │                                      │              │
│       ▼                                      ▼              │
│  ┌──────────┐                        ┌────────────┐         │
│  │  Chain   │                        │   Report   │         │
│  │  Engine  │                        │ HTML·PDF·MD│         │
│  └──────────┘                        └────────────┘         │
├─────────────────────────────────────────────────────────────┤
│  LLM Pool: Claude · GPT · Gemini · Grok · GLM · DeepSeek  │
│  Qwen · Kimi · Mistral · Ollama · LiteLLM · 19 providers  │
└─────────────────────────────────────────────────────────────┘

MCP Profiles

Built-in profiles swap the tool surface at runtime:

Profile Tools Use Case
Web Playwright browser automation Web app testing
MobileAndroid / MobileIos REA reverse engineering APK/IPA analysis
BinaryAnalysis REA decompiler, call graphs Native binary RE
BurpSuite Burp REST API Proxy-driven testing
CobaltStrike Official CS MCP (team server) C2 integration
Infra / Nmap Nmap MCP server Network discovery
AD / Kali Kali MCP (80+ tools) AD / full toolkit
Cloud Trivy, Prowler, ScoutSuite Cloud posture
neurosploit run http://target.com --mcp-profile web
neurosploit host 10.0.0.5 --mcp-profile ad

Toolbox & C2

  • Toolbox (225 tools): nmap, rustscan, httpx, nuclei, ffuf, netexec, impacket, bloodhound, trivy, apktool, ghidra and more. neurosploit tools list
  • MCP servers: neurosploit tools mcp add nmap then --mcp
  • C2 & WebShell: Authorized engagements only. Listeners, sessions, tasks, payloads, audit trail under .neurosploit/c2/
  • Pivot Proxy: Multi-hop tunnel engine through compromised hosts — portproxy, chisel, SOCKS. --pivot-proxy auto

What Makes It Different

Feature How
Wire-bound evidence Every claim re-sent through scope-guarded replay engine
Attack knowledge graph Typed graph: hosts, services, findings, credentials, impact
Per-CWE validators Deterministic judgment on measured bytes, not prose
Secret redaction Credentials become $SECRET_n in reports; raw in vault only
Execution resilience 7 error types, exponential backoff, crash-state salvage, resume
LLM-powered dedup Fast-path exact + semantic judge for same root cause
Multi-hop pivoting Auto-detect unreachable subnets, establish tunnel chains
Universal cache Identical prompts served from memory/disk — token savings

Providers

19 LLM providers supported — API key or local subscription:

anthropic · openai · gemini · azure · xai · nvidia_nim · deepseek · mistral · qwen · zai · moonshot · groq · together · openrouter · opencode · nous · ollama · litellm

Multi-model voting: --model anthropic:claude-opus-4-8 --model openai:gpt-5.1 --vote-n 3


Web Console

cd web && npm start     # → http://localhost:3000
  • Attack graph — host → service → finding → credential → impact, with clickable filters
  • Wire evidence — real request/response pairs with wire provenance
  • Re-test — re-run proof through replay engine
  • Chains & todo — attack chains with validation status
  • Transcript viewer — per-agent run split into navigable blocks
  • PDF export — via Typst

Run Output

Every run → runs/ns-<ts>-<target>/:

File Contents
report.html · .pdf · .md Report (PDF via Typst), secrets redacted
findings.json / .md Validated findings for tooling & re-testing
report.sarif SARIF 2.1.0 for CI code-scanning
graph/ Attack chains, todo, Cypher + JSON export
attack-paths.json · .mmd Cross-domain paths (graph + Mermaid)
loot.json Credentials, tokens, hosts, endpoints
pocs/ · evidence/ Runnable PoCs and proof screenshots

Integrations

GitHub / GitLab PR review gate · @neurosploit mention bot · Jira cards per finding · MCP server (neurosploit mcp) · Compliance mapping (PCI-DSS / HIPAA / SOC 2 / GDPR) · Neo4j graph · OpenSearch logs


Safety

For authorized testing only. Agents stay in scope, never run destructive/DoS actions, and require proof of exploitation. You are responsible for having permission for every target.


Joas A Santos & Red Team Leaders — MIT License

Languages
Rust 75.3%
JavaScript 15.3%
CSS 4.4%
HTML 2.4%
Python 0.8%
Other 1.7%