Commit Graph
404 Commits
Author SHA1 Message Date
CyberSecurityUP 0b69e54a6b chore(setup): one-step installers (CLI / web / all) and install docs 2026-12-01 18:58:31 -03:00
Joas A Santos 84634ceb54 Merge pull request #90 from JoasASantos/feat/ui-redesign-v5
v5 console redesign: test-type-aware reports, graph and continuous testing
2026-12-01 16:29:32 -03:00
Joas A SantosandClaude Opus 5.5 aa89175a82 chore: use neutral example names in comments and tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:28:54 -03:00
Joas A SantosandClaude Opus 5.5 a1573d0e9c feat(web,harness): v5 console redesign, test-type-aware reports and graph
Web console
- New design system (dark/light), grouped sidebar, command palette, mobile app bar.
- Home quick-start with type detection, setup checklist, resumable wizard drafts.
- 4-step wizard with per-test-type fields, asset picker, depth presets and
  allow-listed "More options" CLI flags; agent step with surface/OWASP/category
  facets and per-type recommendations.
- Finding sheet: structured narrative, step-by-step PoC, white-box code viewer
  (real source, syntax colours, evidence-anchored vulnerable lines).
- Attack graph: type-aware lanes, compact nodes, per-node inspector, path focus,
  asset anchoring, decluttered overview.
- Chains, dependencies, traces, deliverables, projects portfolio, assets,
  toolbox, settings (single AI key, subscriptions check, Neo4j), scope & safety
  split (global vs per test) with engagement-authorization letter.
- Continuous testing for GitHub repos: PR/commit triage by security relevance,
  test only changes above a threshold.

Server
- Routes: subscriptions check, source excerpts, authorization letter,
  continuous testing, run flag allow-list.

Harness
- Test kind classifier (web/code/infra/mobile/ai/cloud) stamped on findings;
  kind-aware report layout and repro steps (no curl for AD/code).
- Report redesign; rejected findings no longer shown as confirmed;
  attribution sentence removed from findings.
- Evidence integrity accepts declared pivots; credential-exposure CWE floor.
- Graph memory anchors findings to the real host (IP + hostname, pivots).
- NEUROSPLOIT_AUTHORIZATION env for every run mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:27:55 -03:00
CyberSecurityUP 2d93fff91a docs: update README with phishing, economy, worker tools, AD chain, C2 reuse, collection/exfil/evasion and Bedrock 2026-12-01 14:41:22 -03:00
CyberSecurityUP e820cc6ebb feat(web): console UI redesign (v5) 2026-12-01 14:38:58 -03:00
Joas A Santos 4510617dd0 Merge pull request #89 from JoasASantos/feat/collection-exfil-evasion
feat(ops): collection, exfiltration and OPSEC/evasion
2026-12-01 14:23:50 -03:00
CyberSecurityUP 8aca22eeed feat(ops): collection, exfiltration and OPSEC/evasion
- collect: per-run collection manifest (size + SHA-256 + sensitivity), file
  staging/verification, and context checklists
- exfil: chunked HTTPS upload to an operator endpoint, size-capped and
  hash-verified, gated by the operator checkpoint (exfil id)
- evasion: OPSEC profile + fingerprint self-check; --evasion drops the
  X-NeuroSploit-Scan header to reduce attribution
- CLI: neurosploit collect|exfil|evasion
2026-12-01 14:23:28 -03:00
CyberSecurityUP 324d3d0507 feat(c2): HTTP MCP transport + C2 auto-tasking (any MCP C2)
- 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
2026-12-01 14:15:53 -03:00
CyberSecurityUP bf44396522 feat(c2): generic MCP C2 session reuse (any stdio MCP, not just ours)
- mcp_client: minimal stdio MCP client (initialize/tools.list/tools.call),
  newline JSON-RPC, ${VAR:-default} expansion
- c2_reuse: import/normalize sessions from any C2 (Sliver/Havoc/Mythic/Adaptix/CS
  export shapes), pick the best existing session for a target, persist 0600,
  inject a reuse prompt block into chain/worker prompts
- c2x sync --profile <sliver|havoc|mythic|adaptix> or --command <stdio-mcp>:
  discovers the session-listing tool (sliver_sessions/havoc_demons/mythic_callbacks/
  get_live_beacons, or pattern), calls it, imports the result — provider-agnostic
- CLI: neurosploit c2x {sync,import,list,reuse,context}
2026-12-01 14:08:36 -03:00
CyberSecurityUP bb9fcbbb14 feat(pivot): health-aware route selection + auto-reroute
- 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
2026-12-01 13:58:51 -03:00
CyberSecurityUP 3a1612effd feat(checkpoint): operator gates for high-impact actions
- 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
2026-12-01 13:55:12 -03:00
CyberSecurityUP ffa6f8cae5 feat(ad): deterministic AD receipts + fact-gated AD chain planning
- 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}
2026-12-01 13:45:49 -03:00
CyberSecurityUP dfe6f7bab6 feat: step-level worker activity + cost-governed worker tool loop
- 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
2026-12-01 11:17:57 -03:00
CyberSecurityUP b0378e8df5 feat: credential economy, phishing run wiring and AWS Bedrock provider
- economy module: redacted vault for phishing captures + secrets harvested from
  JS/source/config; CLI (list/status/harvest/secret/export/reuse), creds.yaml
  export, loot/attack-path folding and redacted prompt reuse
- wire --phish/--phish-authorization/--phish-capture/--economy into the run;
  fail-closed bootstrap, doctrine + live artifact context injection
- phish captures auto-record into the economy (password + session cookies)
- add AWS Bedrock provider: native SigV4-signed Converse API (no OpenAI shim),
  AWS credential/region env chain, bedrock:<model-id>
- bump version to 4.5.0
v4.5.0
2026-11-30 22:41:44 -03:00
CyberSecurityUP f0c14141fb feat: add Evilginx phishing module with phishlet generation, web UI and audit gating
- harness phish module: policy/allow-lists, phishlet templates, Evilginx
  lifecycle, campaign/lure records and capture ingestion (0600 + audit.jsonl)
- disabled by default; enable requires an authorization reference; target and
  lure domains must be allow-listed; capture requires explicit opt-in; secrets
  redacted in API responses
- CLI: neurosploit phish status/enable/install/setup/start/stop/phishlet/
  campaign/capture/events
- web console: Phishing view + /api/phish routes; toolbox + .env entries
2026-11-30 17:01:02 -03:00
Joas A Santos 2dfd0f7797 chore: remove MERGED-ALL-CADP run artifacts (#88)
Lab run output (hashes, loot, report) should not live in the repo.
2026-11-30 11:00:22 -03:00
Joas A Santos 88af455c2a Merge pull request #87 from JoasASantos/feat/chisel-pivot-complete
feat: complete chisel auto-pivot + browser handoff v4.4.3
v4.4.3
2026-11-29 16:17:57 -03:00
CyberSecurityUP e95b040826 feat: complete chisel auto-pivot module with PivotManager, proxychains, OS detection
Chisel auto-pivot (chisel_pivot.rs):
- Full PivotManager with async tunnel lifecycle (allocate/active/failed/teardown)
- OS detection from shell output (Linux/Windows/Unknown)
- Upload method selection (curl/wget/certutil/powershell/scp/smb)
- Proxychains config generation and command wrapping
- Nmap proxy args, chisel client/server command builders
- Internal range extraction from ifconfig/ipconfig output
- auto_pivot probe with runner closure pattern
- 32 tests (unit + async integration)

Browser handoff (browser_handoff.rs) — previously committed, unchanged:
- 27 tests passing

Version bump to v4.4.3
2026-11-29 16:17:34 -03:00
Joas A Santos 67c4c60346 Merge pull request #86 from JoasASantos/feat/browser-handoff-chisel-pivot
feat: browser handoff + chisel auto-pivot
2026-11-29 16:14:27 -03:00
CyberSecurityUP c66d49f624 feat: bidirectional browser handoff and chisel auto-pivot modules
Browser handoff (browser_handoff.rs):
- BrowserOwner state machine (Agent/Operator/Idle)
- HandoffManager with session lifecycle, takeover/handback
- CDP command builders (navigate, cookies, screenshot)
- State capture/restore JS scripts (localStorage, forms, scroll)
- Agent prompt integration (pause/resume messages)
- Web UI SSE events (browser:takeover, browser:handback)
- 27 tests

Chisel auto-pivot (chisel_pivot.rs):
- PivotTunnel with full lifecycle (Pending/Deploying/Active/Failed/Closed)
- ChiselPivotManager with tunnel creation, routing, subnet mapping
- Shell command generators (server, client, upload for Linux/Windows)
- Proxychains config generation and command wrapping
- Agent prompt context injection for active tunnels/routes
- Web UI SSE events (pivot:established, pivot:closed)
- 26 tests
2026-11-29 16:14:01 -03:00
Joas A Santos b91f2f4328 Merge pull request #85 from JoasASantos/feat/reactive-probes-c2-cvss4
feat: reactive probe integration, Havoc/Mythic C2, CVSS 4.0
2026-11-29 14:25:29 -03:00
CyberSecurityUP aae74e7597 feat: reactive probe integration, Havoc/Mythic C2 profiles, CVSS 4.0 scoring
- reactive_bridge.rs: wire DNS, TLS/SSL, cloud, GraphQL deterministic probes
  into reactive engine — probes run after recon, before LLM agents, loot feeds
  dual graph and agent prompt context via shell runner closure
- mcp_profiles.rs: Havoc C2 profile (15 tools: demons, listeners, shell, BOF,
  .NET assembly, token manipulation, SMB pivot, credential store) and Mythic C2
  profile (16 tools: callbacks, tasks, payloads, credentials, SOCKS, port
  forwarding, lateral movement, persistence, assembly, BOF, keylogger)
- reactive_bridge.rs: profile matching for havoc/mythic keywords
- setup.sh: optional install for Havoc C2 (NEUROSPLOIT_HAVOC_C2=1) and Mythic
  C2 (NEUROSPLOIT_MYTHIC_C2=1)
- cvss.rs: CVSS 4.0 support — Cvss4 struct, parse/score/severity, detect_version,
  parse_any unified parser, formula-based scoring with exploit maturity modifier,
  22 new tests (961 total passing)
2026-11-29 14:25:06 -03:00
Joas A Santos 86b26e0bb4 Merge pull request #84 from JoasASantos/feat/deterministic-probes-dns-ssl-cloud-graphql
feat: DNS, TLS/SSL, cloud, and GraphQL deterministic probes + cloud doctrines
2026-11-29 14:10:57 -03:00
CyberSecurityUP b93bedb225 feat: deterministic DNS, TLS/SSL, cloud, and GraphQL security probes + cloud doctrines
- dns_probe.rs (370 lines, 27 tests): zone transfer (AXFR), SPF/DKIM/DMARC
  analysis, DNSSEC check, NS/MX/SOA/TXT enumeration, reverse DNS, subdomain
  discovery via common DKIM selectors
- ssl_probe.rs (530 lines, 28 tests): certificate chain parsing, expiry check,
  weak protocol detection (SSLv3/TLS1.0/TLS1.1), HSTS validation, self-signed
  detection, weak key/SHA-1 signature, hostname mismatch, wildcard matching
- cloud_probe.rs (340 lines, 29 tests): IMDS v1/v2 reachability, Azure/GCP
  metadata endpoints, S3 bucket ACL, Azure blob anonymous access, GCS bucket
  enumeration, cloud target extraction from recon text
- graphql_probe.rs (380 lines, 16 tests): introspection detection, field
  suggestion abuse, batch query DoS test, debug mode detection, sensitive field
  enumeration, mutation listing
- cloud_infrastructure.md: 10-method cloud pentesting doctrine (CWE-16)
- container_kubernetes.md: 10-method K8s/container security doctrine (CWE-250)

940 tests passing (was 840). All probes follow runner closure pattern — no LLM,
deterministic fact extraction only.
2026-11-29 14:10:32 -03:00
Joas A Santos 6804d93aee Merge pull request #83 from JoasASantos/feat/c2-mcp-sliver-adaptix
feat: Sliver C2 + AdaptixC2 MCP integration with C2 operations doctrine
2026-11-29 12:49:26 -03:00
CyberSecurityUP e91fdb383b feat: Sliver C2 + AdaptixC2 MCP profiles, C2 operations doctrine, setup integration
- mcp_profiles.rs: SliverC2 profile (sessions, beacons, listeners, pivoting, creds, hosts)
  and AdaptixC2 profile (80+ tools: BOFs, execute-assembly, Kerberos, SOCKS, port-forwarding,
  UAC bypass, privesc checks, credential dumping)
- reactive_bridge.rs: profile matching for sliver/adaptix/c2 keywords
- c2_operations.md: 12-method doctrine for C2 post-exploitation (listener setup, session
  management, enumeration, lateral movement) with authorization-gated boundaries
- setup.sh: optional install for sec-sliver-c2-mcp (NEUROSPLOIT_SLIVER_C2=1) and
  AdaptixC2_mcp (NEUROSPLOIT_ADAPTIX_C2=1) with dependency management
2026-11-29 12:48:59 -03:00
Joas A Santos 4d802e9d68 Merge pull request #82 from JoasASantos/feat/goals-decomposition-tracker
feat: goal decomposition and tracking for attack chain
2026-11-29 12:37:28 -03:00
CyberSecurityUP 3285dd5a46 feat: deterministic goal decomposition and tracking for attack chain
- goals.rs: GoalTracker with per-profile standard goal sets (infra/web/mobile/cloud),
  operator instruction parsing, loot-based auto-marking, and structured planner context
- 27 tests covering goal lifecycle, sub-goal completion propagation, profile generation,
  instruction parsing, loot pattern matching, and JSON serialization
2026-11-29 12:37:04 -03:00
Joas A Santos ba123c7edf Merge pull request #81 from JoasASantos/feat/nday-restore-deep-sast-zeroday
feat: nday auto-exploit verification + deep SAST 0day analysis
2026-11-28 20:40:18 -03:00
CyberSecurityUP 7064338872 feat: nday auto-exploit verification, deep SAST 0day analysis, binary/source doctrine
- nday_restore.rs: 3-phase CVE verification (nuclei templates, exploit-db PoC classification, GitHub PoC search), safe types auto-verified, destructive types never run
- deep_sast.rs: 60+ regex patterns across 15 languages for 0day-class vulnerabilities (function pointers, callbacks, type confusion, integer overflow, UAF, double-free, format strings, deserialization, TOCTOU, vtable corruption, jump tables, symbol hijack, syscalls, race conditions)
- Pipeline wiring: nday_restore in infra pre-agent phase after svc_probe, deep_sast in whitebox pre-agent phase injected as FACTS to LLM doctrine
- 3 doctrine files: nday_exploit_verification.md (10 methods), zeroday_code_analysis.md (12 methods), binary_zeroday_analysis.md (10 methods)
- 814 tests passing (+45 new from nday_restore + deep_sast)
2026-11-28 20:39:53 -03:00
Joas A Santos 447d6b63d2 Merge pull request #80 from JoasASantos/feat/jwt-probe-doctrine-knowledge-base
feat: JWT probe, 35-file attack knowledge base, MITRE ATT&CK doctrine
2026-11-28 20:19:55 -03:00
CyberSecurityUP 4298d339b5 feat: JWT deterministic probe, 35-file attack knowledge base, full MITRE-ATT&CK doctrine coverage
- jwt_probe.rs: deterministic JWT attack module (alg:none, kid path-traversal,
  weak-HMAC cracking, RS256→HS256 key-confusion) with live curl verification,
  wired into attack_chain pipeline alongside credtest/privesc/svc_probe

- 25 vuln doctrine files covering web attack classes: SQLi, NoSQLi, XSS, SSRF,
  SSTI, XXE, CSRF, CORS, IDOR, OAuth, JWT, deserialization, race conditions,
  path traversal, prototype pollution, GraphQL, business logic, HTTP smuggling,
  file upload, command injection, weak crypto, cache poisoning, WebSocket,
  SAML, XS-Leaks

- 10 infra doctrine files covering full-host/AD attack lifecycle: privilege
  escalation (89 lines, 30+ CVEs per OS, GTFOBins/LOLBAS as living refs),
  persistence (8 Linux + 20 Windows methods), credential access, defense
  evasion, discovery/lateral movement with pivoting, initial access, binary
  exploitation, code/process injection (14 techniques), CTF methodology,
  Active Directory (45 techniques across 8 categories including ADCS ESC1-15,
  Kerberos ticket abuse, delegation, coercion, trust abuse)

- All doctrine files are generic methodology (not hardcoded answers), loaded
  by knowledge.rs regex parser and agents.rs folder-keyed loader

Sources: ired.team, HackTricks, PortSwigger labs, Juice Shop solutions,
HTB writeups, Awesome-Red-Team-Operations, /opt/Labs/ course material
2026-11-28 20:19:27 -03:00
Joas A Santos 6982ea4b4c Merge pull request #79 from JoasASantos/feat/credential-privesc-svcprobe-web-ui
Deterministic credential/privesc chaining, service->CVE lookup, web console modes
2026-11-28 17:17:04 -03:00
CyberSecurityUP dc7fd3e7a2 feat: deterministic cred/privesc chaining, service->CVE lookup, web console modes
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.
2026-11-28 17:16:40 -03:00
Joas A Santos 98c2385291 Merge pull request #78 from JoasASantos/feat/model-plugin-kernel-ssh-agentic-tools
Pluggable LLM providers, kernel/binary recon, iterative tool-calling, mobile pipeline
2026-11-28 14:19:25 -03:00
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
Joas A Santos ac0b6419a3 Merge pull request #77 from JoasASantos/fix/setup-silent-abort-node-install
fix(setup): don't abort silently when a dependency install fails
2026-11-26 11:18:17 -03:00
CyberSecurityUP 55f7990bc6 fix(setup): don't abort silently when a dependency install fails
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.
2026-11-26 11:18:03 -03:00
CyberSecurityUP 54d8e86039 fix(web): correct API contract, wiring, XSS, graph and report bugs
- API: per-finding re-validate now POSTs /retest (was a 404 /poc/:fid);
  snapshot lifecycle uses phase/interrupted; run timestamps use ts.
- Wiring: recreate Neo4j graph button, drop dead listeners, re-run
  restores mode via selectMode, modals close on Esc/outside click.
- Security: JS-string-safe inline handlers (jsq), escape WAF/chains/todo
  fields that were injected raw.
- Robustness: boot survives a failing endpoint, SSE frames parsed
  defensively, guarded currentJob, loadDetail/dashboard/stop errors.
- Terminal: swallow unknown CSI sequences, fix clear/complete cursor.
- Projects: collapse duplicate runs, targets on their own line.
- Runs: expose launch mode (whitebox no longer shown as blackbox).
- Attack graph: merge run findings missing from graph.json, warn to
  recompute; normalized confidence and review-status across views.
- Report nav: replace dead report anchors with real HTML/PDF/MD links
  plus in-app Findings/Attack graph shortcuts.
2026-11-24 02:32:21 -03:00
CyberSecurityUP b85f5a2867 fix: register threat_actors module so the harness builds
report.rs already calls crate::threat_actors::{markdown,match_actors}
but the module was never declared in lib.rs and the file was missing,
so main failed with E0433 (cannot find threat_actors in crate root).

Adds the threat-actor TTP-overlap module and registers it.

Closes #76
2026-11-24 02:25:13 -03:00
CyberSecurityUP c27afff929 fix: robust multi-model markup stripping, finding quality fields, improved finding modal
json_extract: strip DeepSeek v4.1 single-pipe DSML XML tags, Qwen/Llama/Gemma/Mistral
special tokens, function_call/invoke/parameter wrappers with attributes. Fixes #74.

types/pipeline: 7 new Finding fields (finding_type, validation_level, detection_method,
source_file, affected_endpoint, evidence_type, preconditions_checked), clean_finding_title(),
SAST-aware findings_md() with validation levels and preconditions section.

report: separate Source Location vs Affected Endpoint rows, validation level display,
preconditions checked highlight box.

frontend: wider finding modal (960px), collapsible script cards with language badges,
lazy-load script content, copy buttons on PoC steps/payload/evidence, filtered
"Related scripts" section (only scripts matching the finding's context).
2026-11-23 19:47:47 -03:00
CyberSecurityUP 3aa2beb4b8 feat: expand Mistral provider — add mistral-small, mistral-medium, ministral-8b, ministral-3b models 2026-11-22 16:44:51 -03:00
CyberSecurityUP bf5520eac8 docs: update TUTORIAL.md to v4.4.0 — stealth, planner-model, engagement, Neo4j intelligence, CADP benchmark 2026-11-22 13:19:26 -03:00
Joas A Santos 0f3f8ae70a Merge pull request #73 from JoasASantos/feat/validator-chain-graph-stealth-multimodel
feat: CADP upgrades — Neo4j planner, kill chain, stealth, multimodel, engagement marker
2026-11-22 13:13:30 -03:00
CyberSecurityUP 7a77378ef9 feat: Neo4j planner intelligence, kill chain highlight, engagement edges, SIGIL rename, frontend fixes
- Neo4j shortestPath + attack suggestions wired into planner context (upgrade #5)
- Kill chain toggle with golden glow highlight on attack path nodes/edges (upgrade #4)
- Engagement ID stamped on Neo4j edges, not just nodes (upgrade #8)
- SIGIL renamed from JOASNSCOPE to NEUROSPLOIT in provenance + oob
- Frontend: CVSS overflow fix, filter labels, sidebar filter sync, project matching,
  project column in pentests, manage-runs modal, chains layout fix
2026-11-22 13:11:29 -03:00
Joas A Santos 51f50c5ec5 Merge pull request #72 from JoasASantos/feat/validator-chain-graph-stealth-multimodel
feat: graph asset context, DSML fix, engagement, doctor, Neo4j queries, UI improvements
2026-11-22 11:47:40 -03:00
CyberSecurityUP dba1902431 feat: graph asset context, DSML fix, engagement marker, doctor, Neo4j queries, agent detail, chains UI
- Graph finding detail: show target host, domain, access method (direct/pivot), kill chain position
- Graph filters: severity/status/subnet dropdowns, kill chain coverage bar
- Agents tab: clickable rows expand to show per-agent findings with severity/status
- Chains tab: color-coded edge badges, confidence bars, move cards with type classification
- Re-validate button per finding in graph detail panel
- Fix #71: strip DeepSeek DSML/tool_call markup before JSON extraction
- --engagement/--test-id flag: stamps runs, Neo4j nodes, status.json for grouping
- neurosploit doctor: pre-flight health check (API keys, tools, Neo4j, Docker, agents, disk)
- Neo4j queryable: shortestPath, owned nodes, next moves queries for planner
- Multi-range scope: parse comma/semicolon-separated CIDRs
- Structured logging: StructuredLog with agent/phase/level context
- Prior findings reuse: load confirmed findings from previous runs of same target
- Coverage API: kill chain + OWASP + MITRE mapping endpoint
- Engagement field in runs listing and detail
2026-11-22 11:47:03 -03:00
Joas A Santos 396fb05677 Merge pull request #70 from JoasASantos/feat/validator-chain-graph-stealth-multimodel
feat: MCP profiles, graph filters, harness modules, frontend improvements
2026-11-22 02:20:47 -03:00
CyberSecurityUP 512f041910 feat: MCP profiles, graph filters, OpenSearch, cache, ingest, improve, repro, tunnel
New harness modules: cache (universal completion cache), improve (self-review),
ingest (IP/Swagger/OVPN/RoE parser), logship (OpenSearch integration), limits
(rate/budget guards), repro (PoC reproduction with REVEALSECRET vault), tunnel
(ngrok + HTTP callback sink). MCP profiles for 12 testing modes (Web, Mobile,
Binary, BurpSuite, CobaltStrike, Infra, AD, Cloud, Kali, Nmap, Full, Custom).

Frontend: clickable graph legend filters, node IP/domain/port info subtitles,
wider nodes for readability, projects/orgs views, vault/guardrails/integrations
views, scope subdomain expansion, version badge removal.

CLI: new subcommands (logs, tunnel, ingest, improve, repro), MCP profile flag.
README redesigned with architecture diagram, MCP profiles table, provider list.
2026-11-22 02:20:18 -03:00