
A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

An MCP server and library that emits process isolation policy descriptors, scans subprocess commands for known RCE-vulnerability shapes, tracks canary tokens, and maintains an NDJSON audit log for MCP subprocesses.
MCP server for isolation policy synthesis, CVE-replay scanning, and canary tracking is cataloged as an MCP server attributed to studiomeyer-io. An MCP server and library that emits process isolation policy descriptors, scans subprocess commands for known RCE-vulnerability shapes, tracks canary tokens, and maintains an NDJSON audit log for MCP subprocesses. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for isolation policy synthesis, CVE-replay scanning, and canary tracking are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. v0.1 only emits policy descriptors; applying them via landlock, sandbox-exec, or cgroups-v2 syscalls is the caller's responsibility, with native enforcement planned for v0.2.
No. They are behavioral predicates that check whether a target command matches a shape known to be exploitable.
No. Entries are written unsigned in v0.1; a verified Acra-pattern HMAC chain with an integrated verifier is planned for v0.2.
README.md · 8f14caec705c · 采集于 2026-11-13 13:56:51 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Part of the StudioMeyer MCP Stack — Built in Mallorca 🌴 · ⭐ if you use it
Policy-synthesis + behavioral CVE-replay + canary-tracking library for MCP servers. Foundation Pillar 9.
Be precise about what this is and is not. v0.1 is a building-block library that synthesizes isolation policy descriptors (landlock JSON profiles, sandbox-exec .sb scheme files, cgroups-v2 spec maps) and provides behavioral predicates that scan subprocess commands for known RCE-vulnerability shapes. It does not apply those policies to a running process. The host spawning the subprocess is responsible for translating a descriptor into the platform-specific syscall (Linux landlock, macOS sandbox-exec, cgroups-v2 fs write).
Native enforcement (NAPI-RS landlock binding, sandbox-exec execa wrap, cgroups-v2 file writes with cleanup-on-exit, cross-platform integration tests) is the v0.2 tranche and is not bundled with v0.1. Layered defense relies on the host wiring policy emission to actual enforcement; this library does the first half cleanly.
Use this library if you want:
Do not use v0.1 if you need a sandbox that actually contains a hostile subprocess at the kernel boundary. For that, the v0.1 descriptor needs to be paired with an enforcement helper. v0.2 ships that helper.
mcp-sdk-rce-2026-04-22, cve-2026-27124, nginx-mcp-rce-9.8, mcp-interpreter-eval-rce). Not exploit payloads — predicates that scan a target command for the vulnerable shape. The mcp-interpreter-eval-rce fixture (added 0.1.1) flags interpreter inline-eval sinks (node -e/--eval/-p, python -c, perl -e, ruby -e, php -r, deno eval, bun -e) that execute arbitrary code without a shell binary or shell metacharacter; the shell-metachar predicate also flags newline/CR command separators as of 0.1.1. Exact-token matching keeps benign launch flags (--experimental-vm-modules, --max-old-space-size, --inspect) out of the detection.$MCP_RCE_GUARD_HOME/audit.log. 100MB rotation with max 10 backups. v0.1 ships unsigned (no in-process verifier); v0.2 adds Acra-pattern HMAC chain with key derivation, rotation safety and an integrated verifier.npm install -g mcp-rce-guard
Or run via npx:
npx -y mcp-rce-guard serve
| Tool | Purpose | readOnly | destructive |
|---|---|---|---|
register_subprocess | Register a child MCP server with isolation profile, get back a handle + fingerprint + policy descriptor | yes | no |
audit_subprocess | Verify requested args match registered allowlist (post-NFKC, smell-test for invisibles) | yes | no |
scan_cve_replay | Run behavioral predicates against a target server command | yes | no |
track_canary | Issue a canary token + scan downstream servers for leaks | yes | no |
inject_egress_policy | Emit network-egress allowlist descriptor for a registered subprocess (v0.1 descriptor-only) | yes | no |
get_audit_log | Read NDJSON audit log entries with filters | yes | no |
v0.1 Honesty Note: all six tools are
readOnlyHint=true, destructiveHint=falsein v0.1 because they emit policy descriptors + append to the audit log but do not modify subprocess state. v0.2 will flipinject_egress_policytodestructiveHint=truewhen native enforcement is wired in.
mcp-rce-guard serve # start MCP server on stdio
mcp-rce-guard platform # detect isolation backend (landlock/sandbox-exec/unsupported)
mcp-rce-guard scan-cve <cmd> # one-shot CVE replay against a command
mcp-rce-guard audit-log # tail the audit log
mcp-rce-guard policy <profile.json> # synthesize landlock+cgroups+sandbox-exec from JSON
| Platform | Isolation backend | Network egress | cgroups |
|---|---|---|---|
| Linux >= 5.13 | landlock | nftables hook (out-of-band) | cgroups-v2 |
| Linux < 5.13 | unsupported | unsupported | unsupported |
| macOS 11+ | sandbox-exec (.sb) | sandbox-exec network rules | n/a |
| Windows | unsupported (planned: AppContainer) | n/a | n/a |
Pillar 1 (mcp-protocol-conformance) — protocol input shape
↓
Pillar 8 (mcp-stdio-shellguard) — argv allowlist + invisible-codepoint detection
↓
Pillar 9 (mcp-rce-guard, this lib) — policy synthesis + CVE-replay scan + canary
↓
Host spawner (caller responsibility) — applies the policy descriptor via real syscalls
In v0.2 the bottom box collapses into Pillar 9 (NAPI-RS landlock binding, sandbox-exec exec wrap, cgroups-v2 fs writes with cleanup). Until then, the host has to bridge the descriptor to the platform.
| Tier | mem | pids | egress | use |
|---|---|---|---|---|
LOW | 256MB | 32 | none | untrusted MCP from registry |
MEDIUM | 512MB | 64 | api-only | known vendor with limited scope |
HIGH | 1024MB | 128 | broad | first-party MCP with reviewed source |
CRITICAL | 2048MB | 256 | unrestricted | local OS-integrated MCP, you own the source |
$MCP_RCE_GUARD_HOME/audit.log # default: ~/.mcp-rce-guard/audit.log
Entries are written as one JSON document per line (NDJSON) and read back via
JSON.parse per line, so arbitrary characters inside args strings (tabs,
quotes, embedded escape sequences) round-trip safely. Rotation happens at
100MB; up to 10 backups (audit.log.1 .. audit.log.10) are kept.
v0.1 does not sign entries. The previous MCP_RCE_GUARD_SIGNING_KEY
HMAC-SHA256 path was removed pre-publish: there was no in-process verifier,
no key-length validation, and no rotation strategy, which would have been
security theatre. v0.2 ships a verified Acra-pattern chain (KDF(master) → per-entry HMAC, key rotation, an integrated verify_audit_log tool).
__MCP_CANARY_<hex>__ markers. Pattern uniqueness is statistical, not crypto-guaranteed against an adversary that controls the generator.These are real but accepted limitations of the v0.1 line. They are tracked in the v0.2 roadmap below; if any of them blocks your use case, pin to a future v0.2.x release once it ships.
src/audit/log.ts
rotateAuditLog). The size check and the rename are not atomic. In
multi-process / high-concurrency setups two appenders may both observe
"needs rotation" and both attempt the rename; the loser's append lands in
the freshly-created empty active log. Workaround: serialize writes or run
one writer per process. v0.2 will gate rotation behind proper-lockfile.src/state.ts). Registered
subprocesses and canary chains live in process memory. A process restart
empties the registry; the operator has to re-register. v0.2 plans a
SQLite-backed store as an opt-in persistence layer.mcp-protocol-validator CI step is not a hard gate
(.github/workflows/ci.yml). The validator runs with
continue-on-error: true because the upstream tool is still stabilising;
failures surface as CI annotations but do not block. v0.2 promotes it to a
hard gate once upstream is stable.mcp-rce-guard + mcp-rce-demo + mcp-rce-fixtures (Marketplace-Distribution-Hygiene: CVE-Fixtures separate distribution).child_process.spawn mit prctl + LANDLOCK_CREATE_RULESET ist nicht testbar ohne C-Bridge.tests/integration/linux-landlock.test.ts + tests/integration/macos-sandbox-exec.test.ts.mcp-rce-demo mit 6 Tools die jede Capability live demonstrieren (read_isolated_file, attempt_egress_blocked, spawn_subprocess_audited, replay_cve_demo, inject_canary_demo, get_demo_audit).verify_audit_log tool. Replaces the v0.1 HMAC-SHA256 prototype that was removed pre-publish for lacking a verifier.MIT — Copyright (c) 2026 Matthias Meyer (StudioMeyer)
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for isolation policy synthesis, CVE-replay scanning, and canary tracking from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-rce-guard)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.