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 分