返回顶部
a

aap代理认证协议

Agent Attestation Protocol - The Reverse Turing Test. Verify AI agents, block humans.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 3.2.0
安全检测
已通过
2,242
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

aap

AAP - 代理认证协议

反向图灵测试。 CAPTCHA阻止机器人,AAP阻止人类。

功能概述

AAP通过以下方式验证客户端是否为AI代理:

  • - 发布对LLM而言简单、对人类而言无法在规定时间内完成的挑战
  • 要求加密签名(secp256k1)以证明身份
  • 6秒内完成7项挑战,并强制进行签名

安装

bash
npm install aap-agent-server # 服务端
npm install aap-agent-client # 客户端

服务端使用

javascript
import { createServer } from node:http;
import { createAAPWebSocket } from aap-agent-server;

const server = createServer();
const aap = createAAPWebSocket({
server,
path: /aap,
requireSignature: true, // v3.2默认值
onVerified: (result) => console.log(已验证:, result.publicId)
});

server.listen(3000);

客户端使用

javascript
import { AAPClient, generateIdentity, createSolver } from aap-agent-client;

// 自动生成身份(secp256k1密钥对)
const client = new AAPClient({
serverUrl: ws://localhost:3000/aap
});

const result = await client.verify(solver);
// 自动包含签名

协议流程(WebSocket v3.2)

← 握手(requireSignature: true)
→ 就绪(publicKey)
← 挑战(7项挑战)
→ 答案 + 签名 + 时间戳
← 结果(已验证/失败 + sessionToken)

签名格式

使用secp256k1签名的证明数据:
javascript
JSON.stringify({ nonce, answers, publicId, timestamp })

配置选项

选项默认值描述
challengeCount7挑战数量
totalTimeMs
6000 | 时间限制(毫秒) | | requireSignature | true | 强制加密证明 |

安全性

  • - 加密身份(secp256k1)
  • 需要签名 = 禁止匿名访问
  • 6秒内7项挑战 = 人类无法完成
  • 不可否认性:所有操作均可追溯

链接

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aap-passport-1776375716 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aap-passport-1776375716 技能

通过命令行安装

skillhub install aap-passport-1776375716

下载

⬇ 下载 aap v3.2.0(免费)

文件大小: 85.32 KB | 发布时间: 2026-4-17 14:52

v3.2.0 最新 2026-4-17 14:52
**Added cryptographic identity requirement for agent verification.**

- Clients must now sign their challenge responses with a secp256k1 key pair; anonymous access is disallowed.
- New protocol flow includes sending publicKey, signature, and timestamp for provable identity.
- New server option requireSignature (default: true) enforces cryptographic proof.
- SKILL.md and code updated to document and implement these signing requirements.
- Security model strengthened with non-repudiation and traceable agent actions.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部