APC Security Reference Server

io.github.Aleph-Lab-s由 GitHub 账号 Aleph-Lab-s 发布v0.1.0-alpha.1更新于 Nov 7, 2026

Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin...

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

概览

AI 生成的概览

APC 动作安全评估的参考 MCP 服务器:报告运行时健康与集成状态,并执行无外部副作用的合成动作评估。

可以做什么
  • 查询运行时健康状态与当前运行模式
  • 列出集成目录条目及其实现状态标签
  • 对合成动作进行评估并返回结果,不产生任何外部副作用
  • 在刻意启用 LAB 模式时,仅写入本地 SQLite 沙箱
适用场景
适合希望了解或演示如何把审批上下文绑定到具体动作、并在受保护边界处重新校验的开发者,也适合想用本地沙箱试用 APC 评估流程的人。它不用于保护真实的支付、账户变更或基础设施操作。
运行要求
以本地 stdio 进程运行,可通过 uvx 从 PyPI 安装或从源码检出安装;需要 Python 3.11 或更高版本。未声明认证、环境变量或请求头,但 LAB 模式需通过 APC_MCP_ENABLE_LAB 变量启用。
安装前请注意
该项目是社区 alpha 与开发者评估版本,并非生产级安全认证,不要用它授权真实支付、账户变更或基础设施变更。它不会拦截其他 MCP 服务器,也不会检查宿主进程中的每次工具调用,且许多列出的适配器为模拟或不可用。LAB 模式只写入本地 SQLite 沙箱,默认引擎使用进程内临时签名密钥,而非受管密钥服务。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

APC — Action • Proof • Control

Open-source community alpha. APC explores how an agent's authority can remain bound to the exact operation, target, and material parameters that reach a protected side-effect boundary—and how the result can be evidenced.

Important: This repository is a developer-evaluation release, not a production security certification. Do not use it to authorize live payments, account changes, infrastructure mutations, or other sensitive external actions. The bundled runtime defaults to synthetic DEMO mode. Its LAB mode writes to a local SQLite sandbox only.

Why APC exists

Agent systems cross model, tool, workflow, and provider boundaries. An approval at one point does not by itself prove that the same operation and parameters reach the final system. APC's design goal is to bind approval context to an action and re-check that binding at the final protected effect boundary.

APC is complementary to—not a replacement for—customer identity providers, OAuth/OIDC, policy decision points such as OPA or Cedar, agent frameworks, MCP, workflow orchestrators, cloud IAM, provider idempotency, or SIEM platforms.

Repository contents

AreaWhat is includedStatus
src/apc_yReusable authority, delegation, cryptographic, continuity and finality kernelInternal tests available; not independently reviewed
src/apc_productAPC 7.1.4 candidate service/runtime, API, evidence, SQLite LAB sink and CLIDEMO/LAB evaluation profile
src/apcSecurity-event and sink integration modulesVerify each adapter before use
src/apc_mcpMCP SDK v2 reference server exposing health, catalog and synthetic evaluationReference/demo; no universal MCP interception
testsPackage, runtime and adversarial kernel testsLocal tests only; see release report
deploy/helmSingle-replica Kubernetes evaluation chartStatic artifact; cluster deployment not validated here
experimentsNVIDIA-inspired control candidatesExperimental, unintegrated, unsupported
specDraft action-authority and continuity protocol descriptionNon-standard draft; cross-language conformance not established
docsArchitecture, security assumptions, status, roadmap and contribution materialCommunity review requested

Quick start — source checkout

Requires Python 3.11 or newer.

bash
git clone https://github.com/Aleph-Lab-s/apc-open-core.gitcd apc-open-corepython -m venv .venv. .venv/bin/activate                 # Windows: .venv\Scripts\activatepython -m pip install --upgrade pippython -m pip install -e ".[test,mcp]"apc statusapc integrations

The GitHub URL above is the intended repository name, not a claim that it has already been created. The root server.json is a draft MCP Registry descriptor; it has not been submitted or approved. Until the package is published to PyPI, install from a local checkout as shown above. After publication, the planned install form is:

bash
python -m pip install "apc-action-security[mcp]"

Run the MCP reference server

bash
python -m pip install -e ".[mcp]"apc-mcp

The server uses stdio. Add it to an MCP client using that client's local process configuration. Available tools:

  • apc_health — runtime health and mode.
  • apc_integration_status — catalog with honest implementation labels.
  • apc_evaluate_action — synthetic action evaluation; no external side effect.
  • apc_lab_sqlite_action — disabled by default; when deliberately enabled with APC_MCP_ENABLE_LAB=1, writes only to a local SQLite sandbox using a test-only ALLOW fixture.

This server does not transparently instrument other MCP servers, inspect every tool call in a host process, or guarantee coverage of bypass paths. A protected integration must be added server-side, and the actual provider mutation must pass through the protected wrapper.

Run the local tests

bash
python -m pytest -qPYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python tests/deep_security_test.py

Actual implementation limits

  • APC_MODE=DEMO is synthetic and performs no protected external effect.
  • LAB uses local SQLite as a reference sink. It is not a real customer/provider adapter.
  • PILOT and PRODUCTION effect execution are blocked by the current service until a customer integration/profile exists.
  • The default evaluation engine generates in-process ephemeral signing keys. This is not a deployment-grade KMS/HSM/key-rotation design.
  • The current Kubernetes chart is one replica with local SQLite/RWO storage. It is not an HA/distributed profile.
  • OPA and Cedar entries are simulated; Okta, GitHub, AWS and GCP event/effect adapters are unavailable in this build; Stripe entry is a sandbox declaration only. See docs/integration-status.md.
  • No independent penetration test, cryptographic review, formal verification, certification, production SLA, or live-provider conformance is claimed.

Project status and release note

Public package version: 0.1.0a1 (community alpha). The included apc_product runtime identifies its source snapshot as APC Enterprise 7.1.4, release channel certification-candidate. The 7.1.4 internal candidate test evidence is not an external certification and is not a production guarantee. See docs/release-validation.md and docs/production-readiness.md.

Contribute

We want tough technical review: threat-model criticism, bypass demonstrations in controlled test environments, reproducible bugs, adapter conformance ideas, documentation improvements, and integration pull requests. Start with CONTRIBUTING.md, SECURITY.md, spec/APC-Action-Continuity-Protocol-0.1-DRAFT.md, and docs/roadmap.md.

License

Apache License 2.0 is proposed for this public source release. Before pushing publicly, the project owner must confirm copyright ownership, contributor authority, source provenance, and dependency/license obligations. See docs/licensing-and-ownership.md.

来源:README.md,提交 9384ae7

工具

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

版本历史

1
  1. v0.1.0-alpha.1最新Nov 7, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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