AI 没有法律人格,但它必须有数字身份。SpendShield 给每个 Agent 定义带消费上限的身份,在「钱该不该动」和「钱怎么动」之间,加一道确定性护栏。
每个 Agent 注册数字身份(KYA),预算/黑名单按身份隔离。未注册默认拒绝。
新收款方、大额转账强制人工确认——防提示注入劫持 Agent 偷花钱。
私钥加密落盘,主密钥不落盘。取密钥必须过闸门,每次取用留审计。
只预览不执行,直到你放行。
硬上限。超支即拒绝。
单次上限 + 收款方频率限制。
人工确认——终端 / Telegram / Webhook。
SpendShield is an open-source AI payment guardrail for Python and MCP servers. It gives AI agents a spend-capped digital identity (KYA), four deterministic gates — dry-run, budget, per-transaction limit, and human approval — and defends against prompt injection: new recipients and large amounts always require human sign-off. Built for developers who let agents spend real money. Star on GitHub →