name: pqsafe-pay-v1 description: Post-quantum signed SpendEnvelopes for AI agent payments. ML-DSA-65 (NIST FIPS 204) signatures over Airwallex, Wise, Stripe, USDC-Base, and x402 rails. version: 0.1.0 metadata: openclaw: requires: env: - PQSAFE_API_KEY bins: - node primaryEnv: PQSAFE_API_KEY envVars: - name: PQSAFE_API_KEY required: true description: PQSafe AgentPay API key from dashboard.pqsafe.xyz - name: PQSAFE_KEY_ID required: false description: ML-DSA-65 signing key ID (defaults to account default key) - name: PQSAFE_TEST_MODE required: false description: Set to "true" to use in-memory mocks for local development emoji: "🔐" homepage: https://pqsafe.xyz/openclaw-skill os: ["macos", "linux", "windows"] install: - kind: npm package: "@pqsafe/openclaw"
pqsafe.pay.v1)Post-quantum signed SpendEnvelopes for AI agent payments. ML-DSA-65 (NIST FIPS 204) signatures over Airwallex, Wise, Stripe, USDC-Base, and x402 rails.
npm install @pqsafe/openclaw
import { OpenClawClient } from "@openclaw/sdk";
import "@pqsafe/openclaw"; // registers pqsafe.pay.v1
const claw = new OpenClawClient();
const envelope = await claw.invoke("pqsafe.pay.v1/create_envelope", {
agentId: "agent_my_bot_v1",
payerId: "payer_usr_abc123",
maxAmount: "100.00",
currency: "USD",
rail: "wise",
expiresAt: "2026-12-31T23:59:59Z",
});
Set PQSAFE_TEST_MODE=true for local development — no real keys or network calls required.
| Operation | Description |
|---|---|
create_envelope |
Issue a new ML-DSA-65 signed SpendEnvelope with spend cap, rail, and expiry |
verify_envelope |
Verify signature integrity, expiry, nonce uniqueness, and key ID validity |
revoke_envelope |
Append envelope ID to the real-time revocation list (append-only, timestamped) |
expiresAt is part of the signed content; an attacker
cannot extend expiry without invalidating the signaturerevoke_envelope appends to a low-latency revocation list
checked on every verify_envelope call发现更多技能插件,请访问7w4.net。
| Rail | Status | Currency |
|---|---|---|
airwallex |
LIVE sandbox | Multi-currency (real test transfers) |
wise |
LIVE sandbox | 40+ fiat currencies (real test transfers) |
stripe |
mock-ready | USD + 135 others |
usdc-base |
mock-ready | USDC |
x402 |
mock-ready | USDC + ETH |
LIVE sandbox = validated end-to-end with sandbox rails. Mock-ready = SpendEnvelope creation and verification are fully functional; live rail integration is in progress.
| Parameter | Value |
|---|---|
| Standard | NIST FIPS 204 |
| Security level | NIST Level 3 |
| Public key size | 1,952 bytes |
| Secret key size | 4,032 bytes |
| Signature size | 3,309 bytes |
| Hardness assumption | Module-LWE + Module-SIS |
Apache-2.0 — Security disclosures: security@pqsafe.xyz
这个 Skill 质量较好,文档详尽且通俗,量子安全签名方案可靠,测试覆盖也比较全面。优点是支持多种支付渠道,有本地测试模式便于开发,错误处理清晰。主要不足是文档之间存在参数命名不一致的问题,可能导致开发者在使用时产生困惑;另外测试环境使用固定数据,若配置不当可能带来安全隐患。建议开发团队统一文档规范后再使用。