Skip to content

v1.6.0

Latest

Choose a tag to compare

@26zl 26zl released this 02 Dec 23:55
0a0308b

Highlights

  • Git CLIs run through run_tool: 156 of the 194 Git-installed tools have a reviewed launcher, which the installer sets up after cloning and scripts/update.sh refreshes. Source builds resolve to their real binaries, and package extras such as sleuthkit's fls and icat run under their own names.
  • Discovery: list_tools takes query and executable_only. check_installed, get_tool_info and the advisors return an execution block that says how a tool runs and whether it is ready; docs/TOOL_EXECUTION.md covers each launcher.
  • usbkill and Nipe: run only with CYBERSEC_MCP_ALLOW_USBKILL=1 or CYBERSEC_MCP_ALLOW_NIPE=1 (Nipe's network operations also need CYBERSEC_MCP_ALLOW_EXTERNAL=1); help and version work without them.
  • Launch failures reach the client: a launcher that cannot start the sandbox (stale image, no KVM, missing dependencies) answers the client's initialize request with the reason instead of closing the connection.
  • guided_assessment reads the file: file targets are classified by content before extension, and LLM API URLs route to the llm target type.
  • Known-broken tools: six registry entries that no longer install on current toolchains carry a reason. The installer skips them (CYBERSEC_TRY_BROKEN=1 tries anyway), and the advisors give the reason instead of an install command.
  • Installer: ropper and FuzzyAI install on the older Python they need (TOOL_PYTHON_VERSIONS), and remove.sh --dry-run lists what would be removed.
  • Profiles: the new iot profile makes 15; ctf adds the networking and recon modules, mobile adds networking.
  • Skills, 880 in total: eight from ljagiello/ctf-skills, among them solve-challenge. The four SKILL.md files over 256 KiB carry disable-model-invocation: true, so Claude Code runs them only when invoked by name.

Security

  • Tools that run other programs: valgrind, proxychains4, honggfuzz and Metasploit (msfconsole) give help and version output only. rr no longer records or replays, radare2 and rizin refuse -d and -w, gdb refuses call, dump and other commands that run code or write files, and pwntools, volatility3 and frida lose the options that run code on this machine.
  • Argument policies:
    • Blocked: binwalk -D/--dd, ip netns exec, ip -batch, ssh-keygen -D/-w/-K, sed -f and tar -F. nc -e, curl -K and wget -i are also caught inside option bundles (nc -nve).
    • Target lists and config files, which skipped the external-target check, are refused for ffuf, feroxbuster, hydra, naabu, katana and eight other scanners. URL operands of xmllint and exiv2 get the same check, and a URL authority with a backslash, whitespace or control character counts as external.
    • mitm6, krbjack, pretender and azurehound, which reach the network without a target argument, need CYBERSEC_MCP_ALLOW_EXTERNAL=1.
  • Audit log: records carry an outcome (ok, timeout, cancelled, error); curl cookies, --proxy-user and the ldap tools' -w bind password are redacted.
  • Protective switches: an unrecognised value of CYBERSEC_MCP_AUDIT_REQUIRED, CYBERSEC_MCP_AUDIT_STREAM, CYBERSEC_MCP_REDACT_OUTPUT, CYBERSEC_LOCAL_SANDBOX or CYBERSEC_SANDBOX_WORKSPACE_RO turns the protection on with a warning instead of leaving it off.
  • Sandbox launcher:
    • A workspace may not overlap ~/.ssh, ~/.gnupg, cloud and container credentials, agent-client configuration or the toolkit's state, nor contain the audit log or the scope file.
    • The container starts with --pull never and never as root. A scope name that resolves to a loopback, link-local or multicast address is refused unless that address is listed.
  • Host mode: bubblewrap also hides database and registry credentials, shell histories and more agent-client configuration, and makes more shell and editor startup files read-only.
  • Output: Unicode tag characters, variation selectors and other invisible characters are stripped before the injection checks.
  • Installer: the deadsnakes PPA is added on Ubuntu only (1.5.0 added it on every apt distribution) and never in strict mode, and CYBERSEC_ALLOW_PPA=0 skips it. Release asset patterns match to the end of the file name, and backup.sh skips symlinked config paths and restores without the archive's owners and setuid bits.
  • Agent guard: gates every registry CLI outside a development set (compilers, interpreters, debuggers, binutils, git, gitleaks, trivy) and sees through doas, watch, eval and python3 tool.py.
  • Vendored skills: the hidden-text check also covers variation selectors, Hangul fillers, terminal control characters and text pushed off screen. Every offensive-* description must state that it is for authorized work, and a key both sides add with different values is a merge conflict.
  • Releases: a release never overwrites a published image tag; a failed release needs a new tag.

Fixes

  • MCP server: get_tool_info adds --enable-docker for every Docker tool, and repeat_notice also fires on the same output three times in a tool's last eight calls. tshark -r and tcpdump -r no longer read filter words as hosts, and get_cve_info reads KEV membership from the NVD response instead of suggesting the full CISA catalog, which exceeds the output cap.
  • Installer: osquery installs (the safe extractor refused the links in its tarball), and the Metasploit apt key pin moves to the key Rapid7 has used since 2025-06-23. Packages a Debian, Ubuntu or Kali release dropped are skipped or replaced, strict mode falls back to the distribution's Rust, and --tool runs log to cybersec_tool.log.
  • Profile images: a TOOLKIT_PROFILE build keeps the tools that installed when some fail and replaces launcher links into /root with copies; a server-only change reuses the tools layer.
  • Registry, 682 tools: aderyn is retired (archived upstream). manspider installs as man-spider, apktool from distribution packages, and commix and SpiderFoot from Git; the old commix, manspider and apktool installs are removed when the replacement installs.

Dependencies

  • FastMCP 4.2.6 (from 4.1.6), pydantic 2.14.4, ruff 0.17.6 and pytest-asyncio 1.5.0; z3-solver 5.4.1, pycryptodome 4.6.0 and pwntools 4.15.1 in the CTF extras. authlib is no longer a dependency.
  • uv 0.13.10 and a newer ubuntu:26.04 digest in both images, and Sandcastle 0.14.1.
  • Vendored skills moved to newer Claude-Red, Trail of Bits and Agentic-Bug-Hunter pins, and ljagiello/ctf-skills is new.
  • zizmor 1.33.1, bats-core, harden-runner v2.23.0, and the CodeQL, Scorecard, setup-uv, markdownlint and create-pull-request actions.
  • CI adds a macOS runner for the MCP server and tooling tests.

Upgrading

  • Rebuild the sandbox image: make sandbox-image. The source hash now also covers the installer (install.sh, lib/, modules/, profiles/, scripts/).
  • Git tools cloned by an earlier release get their launchers from the next scripts/update.sh run, or from an install.sh run for their module.
  • run_tool refuses commands it accepted before. Run a program under valgrind, rr or proxychains4 through run_script (CYBERSEC_MCP_ALLOW_SCRIPTS=1).
  • Installer booleans (SKIP_HEAVY, INCLUDE_C2, REQUIRE_CHECKSUMS, ...) are strict: 1, yes and on now count as true, and an unrecognised value stops the run.
  • Clients that read .agents/skills/ need scripts/sync-skills.sh to see the new skills.
  • aderyn and the spiderfoot/spiderfoot image from an earlier release stay in place; cargo uninstall aderyn and docker image rm spiderfoot/spiderfoot remove them.