360 Secure SkillHub
360 安全技能中心

AffixIO

面向支付、外发、破坏性操作等特权动作的鉴权封装:通过本地 MCP 工具或 Node SDK 生成并验证签名证明,在特权工具调用前做允许/拒绝闸门,策略为失败即拒绝;材料称不把凭据或个人信息送出本机,并支持离线本地模式与本地仪表盘。

affixio
affixio
热度 15.95
最近更新 2026-09-19 01:46:02
分类:安全依赖:MCP 服务 / 第三方 API / 代码执行应用场景:工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add affixio
Metadata
name
affixio
description
Host-side AffixIO attestation before high-value agent actions; signed allow/deny without sending PII off-host.
metadata
{"openclaw":{"emoji":"🔏","homepage":"https://github.com/AffixIO/affixio-mcp","requires":{"bins":["npx"],"env":["AFFIX_API_KEY"]},"primaryEnv":"AFFIX_API_KEY"}}

AffixIO attestation

Use AffixIO when the agent is about to take a privileged or irreversible action (payments, tool gates, outbound sends, destructive ops). Prove the action on the host first. Do not send raw credentials or PII to AffixIO.

Preferred path: local MCP

If @affixio/mcp is available, prefer the MCP tools:

  • attest_action — signed yes/no that an action happened on the host
  • verify_action — check an attestation or receipt
  • gate_tool_call — allow/deny before a privileged tool call

Install / probe:

npx -y @affixio/mcp@0.1.0 probe

Claude Desktop / Cursor-style config:

{
  "mcpServers": {
    "affixio": {
      "command": "npx",
      "args": ["-y", "@affixio/mcp@0.1.0"],
      "env": {
        "AFFIX_API_KEY": "local_operator",
        "AFFIX_MCP_HOME": "${HOME}/.affix-mcp"
      }
    }
  }
}

AFFIX_API_KEY may be local_operator for offline local use.

SDK path

When wiring scripts or custom tools:

npm i affixio
import { AffixSDK } from "affixio";

const affix = new AffixSDK({ apiKey: process.env.AFFIX_API_KEY });
const proof = await affix.prove({ claim: "approved" });

For agent trust / spend gates, use the SDK helpers documented in https://github.com/AffixIO/SDK (createAgentTrust, mcpToolGate, x402BeforePay).

Rules

  • Attest before the high-value tool runs; fail closed on deny or verify failure.
  • Keep tool arguments hashed or summarized; do not paste secrets into AffixIO prompts.
  • Prefer HMAC prove for latency; UltraHonk only when a stronger proof is required.
  • Dashboard (optional): npx affixio dashboard → http://127.0.0.1:8787

When not to use

Skip AffixIO for read-only, local, low-risk lookups (docs search, status checks).