GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Passive AppSec scanners as eight parameterless MCP tools; the audited repository is data.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
APPSEC_LANGS你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"appsec-toolbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"APPSEC_LANGS",
"ghcr.io/ai-ronin-systems/appsec-toolbox-mcp:0.3.0"
],
"env": {
"APPSEC_LANGS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add appsec-toolbox --env APPSEC_LANGS=your-value -- docker run -i --rm -e APPSEC_LANGS ghcr.io/ai-ronin-systems/appsec-toolbox-mcp:0.3.0运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"appsec-toolbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"APPSEC_LANGS",
"ghcr.io/ai-ronin-systems/appsec-toolbox-mcp:0.3.0"
],
"env": {
"APPSEC_LANGS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"appsec-toolbox": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"APPSEC_LANGS",
"ghcr.io/ai-ronin-systems/appsec-toolbox-mcp:0.3.0"
],
"env": {
"APPSEC_LANGS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
APPSEC_LANGS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 ai-ronin-systems 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于14天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Let an AI agent audit code you do not trust, without giving it a shell, a path to choose, or the repository's code to run.
Ten pinned security scanners behind eight parameterless MCP tools, in one hardened container. The audited repository is treated as the attacker. The agent only ever collects evidence.
*Recorded from examples/agent_demo.py against examples/vulnerable-sample. Waiting time is shortened; the real scan time is in the last line.*
security.sast, security.secrets, security.dependencies, and so on.Each claim links to the code or test that proves it.
| Problem | Approach | Proof | |||
|---|---|---|---|---|---|
| A prompt-injected agent with a shell can do anything. | The agent's whole surface is eight parameterless tasks, governed by Makefile MCP. Maintenance targets exist but are refused. | .makefile-mcp.yaml, the demo | |||
Scanning untrusted code usually runs it: setup.py, postinstall, Gradle plugins, Go toolchain downloads, scanner plug-ins. | Strictly passive analysis: no build, install, or dependency resolution; Go runs with GOPROXY=off and GOTOOLCHAIN=local. An adversarial review found that a planted .checkov.yaml could make Checkov import the repository's Python; that path is closed and regression-tested. | examples/hostile-sample, tests/image.sh | |||
A hostile repository can silence its own findings with .semgrepignore, .gitleaksignore, # nosec, # nosemgrep... | Every scanner runs on toolbox-owned configuration. Inline suppressions are disabled where the scanner allows it, and every marker found is inventoried for the reviewer either way. | settings table, output/suppressions.json | |||
| Evidence is only worth something if it is tied to what was scanned. | The manifest fingerprints the tree exactly like `find . -type f -print0 \ | LC_ALL=C sort -z \ | xargs -0 sha256sum \ | sha256sum, including file names that are not UTF-8 or that sha256sum` escapes, and records each report's digest, tool versions, and data sources. | scripts/write-manifest.py, tests/unit/test_manifest.py |
| One malformed file should not let the target stop the audit. | Input a scanner cannot read because of the target (an unloadable Go package, a corrupt lockfile) becomes a recorded coverage limit: not a failed bundle, and not a fake clean result. | scripts/run-language-profiles.py, scripts/run-osv.sh | |||
| Results should be reproducible, and a compromised scanner should have nowhere to send the code. | Offline mode: fetch rule and advisory data once, then scan under --network none. The manifest records the data's age and digest. | Offline mode | |||
| A security tool is a supply-chain target. | Every downloaded binary is checked against its published SHA-256 per architecture; the base image is pinned by digest; Actions are pinned by commit; release jobs that run project code hold no write token; images carry signed build provenance. | Dockerfile, release.yml |
Verification in layers. Unit tests cover the scripts. A smoke test drives the Makefile through Makefile MCP with fake scanners whose stubs fail if any hardening flag is missing. The image test runs the real scanners against a known-vulnerable sample, a hostile sample that tries every attack above, and offline mode, under the documented resource limits. Independent adversarial reviews attacked the image; every confirmed finding was fixed with a regression test, and what remains is written down in the threat model.
IMAGE=ghcr.io/ai-ronin-systems/appsec-toolbox-mcp:0.3.0
docker pull "$IMAGE" gh attestation verify "oci://$IMAGE" --owner ai-ronin-systems
Offline mode, the resource limits, and the target-settings hardening are on main and ship in the next release. To use them now: docker build -t appsec-toolbox-mcp:dev . and IMAGE=appsec-toolbox-mcp:dev.
Run it as an MCP stdio server against one repository:
docker run --rm -i \
--read-only --cap-drop=ALL --security-opt=no-new-privileges:true \ --tmpfs /tmp:rw,nosuid,nodev,size=3g --memory=6g --pids-limit=512 \ --user "$(id -u):$(id -g)" \ -v "$PWD/my-project:/runner/target:ro" \ -v "$PWD/appsec-output:/runner/output:rw" \ "$IMAGE"
Register the same command as a stdio server in any MCP client:
{
"mcpServers": { "appsec-toolbox": { "command": "docker", "args": ["run", "--rm", "-i", "--read-only", "--cap-drop=ALL", "--security-opt=no-new-privileges:true", "--tmpfs", "/tmp:rw,nosuid,nodev,size=3g", "--memory=6g", "--pids-limit=512", "-v", "/abs/path/my-project:/runner/target:ro", "-v", "/abs/path/appsec-output:/runner/output:rw", "ghcr.io/ai-ronin-systems/appsec-toolbox-mcp:0.3.0"] } } }
Compose, offline mode, language selection, and every evidence file are in Usage.
untrusted repository (read-only)
| v /runner/target | v trusted Makefile + Makefile MCP | | | | | | Semgrep Gitleaks OSV Trivy Checkov Syft | +---- language profile selection ----+ | | | | Bandit FindSecBugs njsscan gosec Python Java Node/JS Go | v /runner/output reports, run-manifest.json, suppressions.json, audit log
The operator mounts exactly one repository at /runner/target and one writable directory at /runner/output. The audited path is never an MCP parameter, so the agent has no host-path capability. A trusted Makefile holds every scanner command; Makefile MCP decides which of its targets the agent may call. Language specialists are picked by detection (APPSEC_LANGS=auto) or by the operator, never by the agent.
| Capability | Tool | Evidence |
|---|---|---|
security.audit | everything below | complete bundle |
security.sast | Semgrep + suppression inventory | semgrep.json, suppressions.json |
security.secrets | Gitleaks | gitleaks.json |
security.dependencies | OSV-Scanner | osv.json |
security.repository | Trivy | trivy.json |
security.iac | Checkov | checkov.json |
security.language | Bandit, FindSecBugs, njsscan, gosec as applicable | language-profile.json + reports |
supply_chain.sbom | Syft | sbom.cdx.json (CycloneDX) |
The audited repository is the attacker, and the agent reading its reports may be steered by it. Read the [threat model](docs/threat-model.md): attacker goals, sixteen threats with their controls and residual risks, what is and is not guaranteed, and an operator checklist.
| Protected | Not protected |
|---|---|
| Target builds, installs, hooks, and Makefiles never run. | Scanner parser bugs; the container is the boundary. |
| Target-owned scanner settings files cannot suppress findings or load code. | Inline trivy:ignore and njsscan-ignore comments; Checkov lists its inline skips as skipped_checks. All are inventoried. |
| The agent cannot pick the target or run anything but the eight scans. | An agent that misreports what the reports say. |
| No credentials in the container; read-only, unprivileged, non-root, resource-capped. | Exfiltration by a compromised scanner in online mode. Offline mode runs with no network. |
| Each run's manifest ties report digests to a fingerprint of the scanned tree. | Tampering by anyone who can write output/; the manifest is not signed. |
It is not an autonomous auditor, an LLM agent, a DAST engine, a credential manager, a report normalizer, or a shell server.
appsec-audit-hound (planned) decides why to scan, correlates evidence, writes findings
| MCP appsec-toolbox-mcp collects governed, passive evidence <- this repository | built on makefile-mcp exposes trusted Make targets to agents, deny-by-default
Makefile MCP is published on PyPI and the official MCP Registry, with its own threat model.
| Document | What it covers |
|---|---|
| Threat model | Attacker goals, threats and controls, guarantees, limits, operator checklist |
| Usage | Running, tools and evidence files, language profiles, offline mode, scanner behaviour, network use, versions, development |
| Architecture | Trust boundary, ownership, design rules |
| Tooling | Pinned versions, settings each scanner ignores, update policy |
| Security policy | Supported versions and private vulnerability reporting |
| Changelog | Released and unreleased changes |
| Contributing | How to add a scanner without widening the boundary |
pipx install pytest==8.4.2 && pipx install ruff==0.14.0
make test # ruff, unit tests, smoke test make image make test-image # the real image: known positives, hostile sample, offline mode
More in Usage.
Apache-2.0.