Penthera
Offline, rule-based security checks for your repo, dependencies, AI agent config and local app.
作者提供的说明(英文原文)
Authorization-gated MCP server to discover and run 670+ security tools for CTF, pentest, and DFIR.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
CYBERSEC_MCP_ALLOW_EXTERNAL, CYBERSEC_MCP_ALLOW_SCRIPTS你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"cybersec-toolkit": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CYBERSEC_MCP_ALLOW_EXTERNAL",
"-e",
"CYBERSEC_MCP_ALLOW_SCRIPTS",
"ghcr.io/26zl/cybersec-toolkit:1.4.0",
"run",
"--directory",
"mcp_server",
"fastmcp",
"run",
"server.py",
"--transport",
"stdio",
"--no-banner"
],
"env": {
"CYBERSEC_MCP_ALLOW_EXTERNAL": "your-value",
"CYBERSEC_MCP_ALLOW_SCRIPTS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add cybersec-toolkit --env CYBERSEC_MCP_ALLOW_EXTERNAL=your-value --env CYBERSEC_MCP_ALLOW_SCRIPTS=your-value -- docker run -i --rm -e CYBERSEC_MCP_ALLOW_EXTERNAL -e CYBERSEC_MCP_ALLOW_SCRIPTS ghcr.io/26zl/cybersec-toolkit:1.4.0 run --directory mcp_server fastmcp run server.py --transport stdio --no-banner运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"cybersec-toolkit": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CYBERSEC_MCP_ALLOW_EXTERNAL",
"-e",
"CYBERSEC_MCP_ALLOW_SCRIPTS",
"ghcr.io/26zl/cybersec-toolkit:1.4.0",
"run",
"--directory",
"mcp_server",
"fastmcp",
"run",
"server.py",
"--transport",
"stdio",
"--no-banner"
],
"env": {
"CYBERSEC_MCP_ALLOW_EXTERNAL": "your-value",
"CYBERSEC_MCP_ALLOW_SCRIPTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"cybersec-toolkit": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CYBERSEC_MCP_ALLOW_EXTERNAL",
"-e",
"CYBERSEC_MCP_ALLOW_SCRIPTS",
"ghcr.io/26zl/cybersec-toolkit:1.4.0",
"run",
"--directory",
"mcp_server",
"fastmcp",
"run",
"server.py",
"--transport",
"stdio",
"--no-banner"
],
"env": {
"CYBERSEC_MCP_ALLOW_EXTERNAL": "your-value",
"CYBERSEC_MCP_ALLOW_SCRIPTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
CYBERSEC_MCP_ALLOW_EXTERNAL envCYBERSEC_MCP_ALLOW_SCRIPTS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 26zl 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.4.0)于24天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Penthera, Draugr, Harbor
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Offline, rule-based security checks for your repo, dependencies, AI agent config and local app.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
Read-only access to Harbor: projects, artifacts, vulnerabilities, robots, replication, agent skills.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
/\ /\ ______ __ _____
(o ) ( o) / ____/_ __/ /_ _ _/ _/_ ___ \ \_/ / / / / / / / __ \/ _ \/ _/\ \/ _ \/ _/ <==\ /==> / /_/ /_/ / /_/ / / / _/ / / / \ V / \__/\, /_._/\_/_/ /__/\_/\___/ /_ _\ /____/ by 26zl |_| Toolkit
A security toolkit that AI agents can drive, under rules you set. One command installs 670+ security tools on Linux or Termux. An MCP (Model Context Protocol) server lets Claude Code, Codex, Gemini CLI, OpenCode, and other MCP clients discover, recommend, and run those tools through a governed execution path, inside a disposable Kata Containers VM by default. 872 Agent Skills supply the methodology for CTF, pentest, bug bounty, DFIR, and blue-team work.
| Component | What you get |
|---|---|
| Installer | 670+ tools in 18 modules, 14 profiles, and 12 install methods for Debian/Ubuntu/Kali/Parrot, Fedora/RHEL, Arch, openSUSE, and Termux |
| MCP server | 15 tools for discovery, advice, and governed execution; external targets and script execution are off by default |
| Sandbox | One Kata Containers VM per session by default; --local runs the server on the host |
| Agent Skills | 872 skills (31 project-authored, 841 curated), also installable as a Claude Code plugin |
What makes it different: most toolkits stop at _installing_ tools. Here an AI can also _drive_ them: infer the problem type, pick tools from every module and profile, and work through the problem with you step by step. When you explicitly authorize it, the same toolchain runs an autonomous solver loop. Companion by default; autonomous only when you ask. It complements Kali, Parrot, or BlackArch rather than replacing them: it runs on the machine you already have, Termux included.
Quick start · How it works · Trust & safety · Installer · MCP server · Agent Skills · Development · License
1. Install the tools on a supported Linux distro or on Termux:
git clone --depth 1 --branch v1.4.0 https://github.com/26zl/cybersec-toolkit.git && cd cybersec-toolkit
./install.sh --doctor # read-only preflight: distro, prerequisites, MCP server, sandbox sudo ./install.sh --profile ctf # one profile; with no flags, all 18 modules
2. Connect an AI client. The tracked configs for Claude Code (.mcp.json, also read by the GitHub Copilot CLI), Codex, Gemini CLI, and OpenCode start the server through scripts/mcp-launch.sh, with external targets and script execution disabled. Choose where the tools run:
| Mode | Tools run | Host needs | One-time setup |
|---|---|---|---|
| Sandbox (default) | In a disposable Kata VM, from the sandbox image | Linux with KVM, Docker 23+ with a Kata runtime, Node.js 22+ | make sandbox-image, then npm --prefix sandbox ci --ignore-scripts |
Host (--local) | As your user, with the tools install.sh installed | uv | Add --local to the launcher, or set CYBERSEC_SANDBOX_MODE=local in the client's env |
Kata needs KVM: on macOS, on Windows, and in VMs without nested virtualization, use host mode.
3. Restart the client. The 15 tools appear (/mcp in Claude Code). Then ask for what you need, for example "triage this binary" or "map the attack surface of my lab at 10.10.0.0/24".
Two entry points share one tool registry. An operator runs the bash installer to put tools on disk: on the host, or into the sandbox image at build time. An AI agent talks to the MCP server, which runs inside a Kata VM by default, to discover, recommend, and execute those tools through one governed path. tools_config.json is the single source of truth that the modules define and the MCP advisors read; CI validators keep the Python and bash sides in sync.
Solid arrows are runtime or installation actions; dashed arrows are validation and context relationships. Client configurations enter through the root-aware launcher, which boots the VM through a Sandcastle Kata provider (sandbox/kata.mjs) — or, with --local, starts the server on the host. security.py governs run_tool and run_pipeline through the allowlist, argument checks, and network policy without invoking a shell. run_script is a separate, disabled-by-default capability that runs arbitrary code. Agent Skills stay outside the execution path: .claude/skills/ is canonical, and scripts/sync-skills.sh generates .agents/skills/ for clients that read the portable mirror. Mermaid source: assets/how-it-works.mmd.
What runs, and what is gated:
CYBERSEC_MCP_ALLOW_EXTERNAL=0 rejects network targets that do not resolve to private or loopback ranges, and CYBERSEC_MCP_ALLOW_SCRIPTS=0 disables run_script. External scopes and scripting are explicit opt-ins.mcp_server/security.py): registry allowlist, no shell (create_subprocess_exec, never shell=True), argument sanitization, a per-tool blocked-flag denylist (e.g. sqlmap --os-shell, nmap -iL, file-list and target-injection flags), target and network policy, rate limiting, output caps, and timeouts. The policy knows enough CLI grammar to tell a target from a header, wordlist, output path, or target-list flag. Tool output reaches the model without terminal escape sequences or LLM control markers, and lines addressed to an AI reader are flagged.CYBERSEC_SANDBOX_WORKSPACE mount, no Docker socket, a non-root user with every capability dropped, and memory, CPU, and process limits. It is destroyed when the client disconnects. Startup fails closed instead of falling back to the host; --local is the explicit opt-out.CYBERSEC_MCP_ALLOW_EXTERNAL is a preflight check on resolved addresses, not a firewall (set CYBERSEC_SANDBOX_NETWORK=none or use a filtered network). Inside the VM, and on your host in --local mode, allowed tools run with the server user's permissions, and some of them spawn child processes or load plugins.CYBERSEC_MCP_REDACT_OUTPUT=1 to also redact credential-shaped strings from what the client receives. If an engagement's rules forbid sharing client data with a third party, drive the server from a local model (see AI clients)..claude/settings.json: scripts/agent-guard.sh at session start and before each Bash command. They only emit routing context or a deny decision, make no network calls, and fail open; set CYBERSEC_AGENT_GUARD=0 to disable them.0600), rotating log under the user's state directory (~/.local/state/cybersec-tools-mcp/audit.log by default). Script bodies are never stored, only their SHA256 and length, and credential-shaped strings are redacted from tool arguments. A sandboxed server mirrors its records to the same host log, and records are hash-chained, so an edited or deleted record inside a chain shows up in make audit-verify (limits).$SUDO_USER) for cloned-repo builds, go/cargo/gem builds, and project setup steps (theHarvester, pwndbg); binary releases are SHA256-verified when checksums are published. pipx installs (into the shared /opt/pipx) and global npm installs still run as root, so their build and install scripts execute with root privileges — see the supply chain model. Go binaries are copied into /usr/local/bin as root-owned files; cargo, gem, cloned-repo, source-build, patator and Foundry tools are exposed there as links or wrappers into trees the invoking user owns, so that user can change what those commands run.--include-c2 (the redteam and full profiles set it); the MCP layer reflects this and never auto-runs them.SECURITY.md, the supply chain model, and the disclaimer.A supported Linux distro (Debian/Ubuntu/Kali/Parrot, Fedora/RHEL, Arch, openSUSE) or Termux. Runtimes (Python, Go, Ruby, Java, Rust, Node.js), dev libraries, pipx, and build tools are installed automatically. The installer does not run on macOS or native Windows; use WSL or Docker.
--enable-docker (C2 frameworks, MobSF, BeEF, BloodHound, TheHive, Cortex) and for the blueteam, redteam, blockchain, and mobile profiles, which enable Docker images by default (see Profiles). Install it yourself: Docker Engine docs.只显示了开头部分;其余内容请在仓库中阅读