Arcstone Mcp Sidecar

io.github.trencinodin-stack由 GitHub 账号 trencinodin-stack 发布v0.1.0更新于 Oct 24, 2026

Deterministic execution boundary and reference MCP sidecar for Arcstone Security Stack

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

实验性本地 sidecar,实现确定性的执行边界,用一次性授权来把关受保护的副作用。

可以做什么
初始化本地运行时目录,用于存放授权、受保护效果和证据运行记录,并为指定动作与资源签发带十六进制载荷的一次性授权记录。对请求文件执行边界检查,仅当存在有效且未消耗的匹配授权时才写入受保护效果,并可查看授权处于已签发还是已消耗状态。拒绝已占用授权的重放,并将授权生命周期、闸门决策、执行结果与观测到的效果分开记录。运行自带的 Rust 测试与验证脚本,检查确定性授权、绑定、消耗、重放和并发占用。
适用场景
仅适合在 Windows 上研究或复现 Arcstone Execution Boundary v0.1 实验的人,例如观察一次性占用如何阻止重复的受保护写入。它是研究用的起步实现,并非用于真实授权或代理安全的通用工具。
运行要求
以本地进程在用户机器上运行,仅限桌面端。实现为 Rust 项目,用 cargo 构建,并提供 Windows 验证脚本;README 示例使用 Windows CMD。未声明账号、API 密钥、请求头或环境变量。README 指出,生产者与资源隔离的证据需要独立的非管理员 Windows 主体,以及带显式 ACL 隔离的一次性运行时。
安装前请注意
README 说明 v0.1 不声称具备生产级授权安全、真实世界恰好一次执行、通用 Windows 沙箱安全、恶意代码隔离或普遍防绕过能力,且当生产者与边界共用同一 Windows 主体时,测试本身无法证明权限隔离。执行请求会在所选运行时根目录下写入受保护效果文件并消耗授权,已消耗的授权无法再次使用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Arcstone Mcp Sidecar,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Arcstone Execution Boundary

Repository identity: arcstone-mcp-sidecar Implementation package: arcstone-execution-boundary Status: Experimental / Downstream / Non-Canonical / Bounded Evidence Version: 0.1.0 implementation starter

This repository is the initial native implementation of the frozen Arcstone Execution Boundary v0.1 experimental specification.

It tests one bounded question:

Can a deterministic downstream execution boundary prevent an untrusted or nondeterministic producer from causing a protected side effect unless an explicit, boundary-controlled authorization condition has been satisfied?

Frozen upstream relationship

text
                 Arcstone Continuity Core                        FROZEN                       /      \                      /        \                     ▼          ▼       Path A Ingress Lab    Execution Boundary          COMPLETE/FROZEN       THIS REPO

The Path A Ingress Lab and Execution Boundary are sibling downstream investigations.

This repository does not modify or reinterpret either frozen upstream repository.

v0.1 invariants

text
I1 — NO VALID AUTHORIZATION     ⇒ ZERO PROTECTED ACTUATION
I2 — ONE VALID SINGLE-USE AUTHORIZATION     ⇒ AT MOST ONE PROTECTED ACTUATION
I3 — UNTRUSTED PRODUCER     ⇏ PROTECTED RESOURCE

The implementation explicitly keeps separate:

text
authorization lifecycle≠ gate decision≠ actuation result≠ observed protected effect

What is intentionally not here

v0.1 does not require or claim:

  • MCP
  • WASM
  • HMAC / signatures / PKI / KMS
  • network APIs
  • generalized policy engines
  • agent frameworks
  • package-manager publication
  • public production distribution guarantees
  • exactly-once real-world execution
  • production authorization security
  • AI alignment or general agent safety

Local data model

The experimental root has this shape:

text
runtime/├── auth/│   ├── issued/│   └── consumed/├── protected/│   └── effect.bin└── evidence/    └── <run-id>/

An authorization record is trusted because the untrusted producer is not permitted to create or modify the auth tree under the tested authority configuration. The authorization identifier itself carries no authority.

The consumed/<authorization-id>.claim file is created with create_new(true). That atomic local reservation is the v0.1 single-use claim primitive.

Build

Windows CMD:

cmd
cargo buildcargo test

or:

cmd
scripts\windows\verify.cmd

Example

Create the runtime directories:

cmd
arcstone-exec init --root runtime

Issue one authorization:

cmd
arcstone-exec issue --root runtime --auth-id AUTH-001 --action WRITE_PROTECTED_FILE --resource-id EFFECT_LOG --payload-hex 48454c4c4f

Create request.json:

json
{  "authorization_id": "AUTH-001",  "action": "WRITE_PROTECTED_FILE",  "resource_id": "EFFECT_LOG",  "payload_hex": "48454c4c4f"}

Execute it:

cmd
arcstone-exec execute --root runtime --request request.json --run-id manual-001

Inspect authorization state:

cmd
arcstone-exec inspect --root runtime --auth-id AUTH-001

A replay of the same request should return a denied result because the claim already exists.

Windows authority-boundary evidence

The Rust tests verify deterministic authorization, binding, consumption, replay, failure separation, and concurrent claiming.

They cannot by themselves prove producer-to-resource authority separation when producer and boundary run under the same Windows principal.

A separate bounded Windows authority experiment was therefore completed using distinct non-administrator producer and authority principals and a dedicated disposable runtime with explicit ACL separation.

Observed results:

  • T7 direct protected-resource bypass: PASS under the tested ACL configuration
  • T8 direct actuator bypass: PASS — bounded public-API/structural result
  • T9 forged authorization issuance: PASS under the tested ACL configuration
  • I2 single-use / at-most-once authority: supported for the tested authorization
  • I3 producer-to-protected-resource separation: supported for the tested Windows configuration

The successful authorized execution transitioned the tested authorization from Issued to Consumed, created the expected protected effect, and a replay was denied before a second actuation attempt.

This evidence does not establish general Windows sandbox security, arbitrary hostile-code containment, production authorization security, or universal bypass resistance.

See docs/WINDOWS-AUTHORITY-BOUNDARY.md for the complete bounded evidence record and freeze limitations.

Machine / AI / autonomous-agent navigation

This repository is intentionally machine-operable and machine-readable.

Start here:

text
AGENTS.mdmachine/system-manifest.jsonmachine/repo-policy.jsonmachine/protocol.jsonmachine/test-matrix.jsonSTATUS.mdBUILD-REPORT.mdEXPERIMENT.md

Recommended automated traversal:

text
1. Read machine/system-manifest.json2. Read machine/repo-policy.json3. Read AGENTS.md4. Read STATUS.md5. Read EXPERIMENT.md6. Run cargo test7. Read docs/WINDOWS-AUTHORITY-BOUNDARY.md before making OS-authority claims

Humans are not required in the deterministic request/decision path. Human-facing prose exists primarily for governance, scientific interpretation, and review.

Working principle

Evidence before expansion. Preserve the core. Test the boundary. Freeze completed evidence.

来源:README.md,提交 466e758

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 18, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分