mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-12-05 02:24:17 +01:00
The console ran on debian-slim and reached tools by spawning a sibling Kali
container per command, through the mounted docker socket. Build the console
FROM the toolbox image instead: nmap, sqlmap, ffuf, nuclei, impacket, Ghidra
and the rest are on PATH in the same container the harness runs in. A run
set to sandbox "host" now executes tools in place; picking an image in the
UI still spawns an isolated sibling, so isolation stays available.
This makes build order load-bearing — the console image cannot resolve its
base until the toolbox image exists. install.sh builds kali-base first, then
neurosploit. Renamed the service from kali-worker to kali-base to say what it
is now: a base layer, not a worker pool.
Add .dockerignore. The build context was 19GB, 18GB of it neurosploit-rs/
target/, which the builder stage recompiles anyway; runs/ carried engagement
data into the context as well. agents_md/ is explicitly preserved.
Dropped NS_WORKER_IMAGE and NS_SANDBOX from the compose environment: neither
is read anywhere in the harness or the web server. The sandbox image comes
from the per-run --sandbox flag.
Also fixes install.sh printing a literal ${NS_PORT:-8787} in its closing
banner, and makes it wait for the console to answer before declaring success.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
45 lines
715 B
Plaintext
45 lines
715 B
Plaintext
# Keep the build context small. Without this it is ~19GB, nearly all of it
|
|
# Rust build artefacts that the builder stage recompiles anyway.
|
|
|
|
# Rust build output (18GB)
|
|
neurosploit-rs/target/
|
|
target/
|
|
|
|
# Engagement data — never belongs in an image
|
|
runs/
|
|
evidence/
|
|
*.log
|
|
|
|
# VCS and local tooling
|
|
.git/
|
|
.github/
|
|
.gitignore
|
|
.claude/
|
|
|
|
# Node modules are installed inside the image
|
|
node_modules/
|
|
web/node_modules/
|
|
|
|
# Secrets and local config
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
*.pem
|
|
*.key
|
|
mcp.servers.json
|
|
creds.json
|
|
|
|
# Editor and OS noise
|
|
.vscode/
|
|
.idea/
|
|
.DS_Store
|
|
*.swp
|
|
|
|
# Docs and scratch. Only root-level docs — agents_md/ is the skill catalogue
|
|
# and must reach the image.
|
|
/README.md
|
|
/CHANGELOG.md
|
|
/CLAUDE.md
|
|
docs/
|
|
bench/
|