ira-hash

Aap Passport

AI 智能体v3.2.0
作者:ira-hash更新于 2026-05-11共 2 个版本 · 最新版本发布于 2026-01-31aap-passport@clawhub_ira-hash/aap-passport
上下文管理工具调用

据 AlphaMoat 统计,截至 2026-09,Aap Passport 累计下载 3,691 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 2,920 位,在「AI 智能体」分类(969 个)中排名第 582 位。

累计安装
475
累计下载
3,691
星标
1
全站排名
#2,920
全站前 58% · 「AI 智能体」前 61%
平台累计安装累计下载星标评论
ClawHub ↗1123,5411-
SkillHub ↗4753,6911—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

文档提供服务端和客户端包示例,通过 WebSocket 交换公钥、挑战、答案、签名与时间戳,并返回验证结果和会话令牌。流程需要配置服务端及客户端密钥身份;其区分人与智能体的有效性仍需验证。

资料发布于 2026-10-27

可以用来做什么

  • 研究带签名的智能体接入验证

什么时候用

  • 需要评估智能体客户端的挑战验证协议时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

梳理挑战、签名和会话令牌的验证流程,并指出需要验证的安全假设。

月度数据趋势

累计下载3,691
2,4313,1083,7842026-03 · 累计下载 2,5242026-05 · 累计下载 2,8312026-06 · 累计下载 2,9892026-07 · 累计下载 3,2742026-08 · 累计下载 3,4112026-09 · 累计下载 3,69126-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,691—1
2026-083,411+4.2%1
2026-073,274+9.5%1
2026-062,989+5.6%1
2026-052,831—1
2026-032,524—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.5 KB · ClawHub v3.2.0
---
name: aap
version: 3.2.0
description: Agent Attestation Protocol - The Reverse Turing Test. Verify AI agents, block humans.
homepage: https://github.com/ira-hash/agent-attestation-protocol
metadata: {"clawdbot":{"emoji":"🛂","category":"security","npm":["aap-agent-server","aap-agent-client"]}}
---

# AAP - Agent Attestation Protocol
展开全部(共 96 行)
**The Reverse Turing Test.** CAPTCHAs block bots. AAP blocks humans.

## What It Does

AAP verifies that a client is an AI agent by:
- Issuing challenges trivial for LLMs, impossible for humans in time
- Requiring cryptographic signature (secp256k1) for identity proof
- 7 challenges in 6 seconds with mandatory signing

## Installation

```bash
npm install aap-agent-server  # Server
npm install aap-agent-client  # Client
```

## Server Usage

```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 default
  onVerified: (result) => console.log('Verified:', result.publicId)
});

server.listen(3000);
```

## Client Usage

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

// Identity auto-generated (secp256k1 key pair)
const client = new AAPClient({
  serverUrl: 'ws://localhost:3000/aap'
});

const result = await client.verify(solver);
// Signature automatically included
```

## Protocol Flow (WebSocket v3.2)

```
← handshake (requireSignature: true)
→ ready (publicKey)
← challenges (7 challenges)
→ answers + signature + timestamp
← result (verified/failed + sessionToken)
```

## Signature Format

Proof data signed with secp256k1:
```javascript
JSON.stringify({ nonce, answers, publicId, timestamp })
```

## Configuration

| Option | Default | Description |
|--------|---------|-------------|
| `challengeCount` | 7 | Number of challenges |
| `totalTimeMs` | 6000 | Time limit (ms) |
| `requireSignature` | true | Mandate cryptographic proof |

## Security

- Cryptographic identity (secp256k1)
- Signature required = no anonymous access
- 7 challenges in 6 seconds = impossible for humans
- Non-repudiation: all actions traceable

## Links

- [GitHub](https://github.com/ira-hash/agent-attestation-protocol)
- [npm: aap-agent-server](https://www.npmjs.com/package/aap-agent-server)
- [npm: aap-agent-client](https://www.npmjs.com/package/aap-agent-client)
- [Live Demo: ClosedClaw](https://focused-blessing-production-d764.up.railway.app/)

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。