aap
Agent Attestation Protocol - The Reverse Turing Test. Verify AI agents, block humans.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- aap
- version
- 3.2.0
- homepage
- https://github.com/ira-hash/agent-attestation-protocol
- metadata
- { "clawdbot": { "npm": [ "aap-agent-server", "aap-agent-client" ], "emoji": "?", "category": "security" } }
- description
- Agent Attestation Protocol - The Reverse Turing Test. Verify AI agents, block humans.
02 资源文件 42
- 参考文档_meta.json278 B
- 参考文档docker-compose.yml438 B
- 参考文档docs/RATE_LIMITING.md3.9 KB
- 参考文档examples/express-verifier/package-lock.json28.7 KB
- 参考文档examples/express-verifier/package.json410 B
- 脚本examples/express-verifier/server.js15.2 KB
- 脚本index.js7.1 KB
- 脚本lib/client.js3.6 KB
- 脚本lib/identity.js4.9 KB
- 脚本lib/prover.js5.6 KB
- 参考文档manifest.json739 B
- 参考文档package.json747 B
- 脚本packages/client/index.d.ts3.2 KB
- 脚本packages/client/index.js4.9 KB
- 参考文档packages/client/package.json750 B
- 参考文档packages/client/README.md3.8 KB
- 脚本packages/core/constants.js2.0 KB
- 脚本packages/core/crypto.js3.2 KB
- 脚本packages/core/identity.js3.4 KB
- 脚本packages/core/index.d.ts2.3 KB
- 脚本packages/core/index.js905 B
- 参考文档packages/core/package.json840 B
- 参考文档packages/core/README.md2.1 KB
- 脚本packages/server/challenges.js27.6 KB
- 脚本packages/server/index.d.ts4.1 KB
- 脚本packages/server/index.js930 B
- 脚本packages/server/logger.js2.8 KB
- 参考文档packages/server/package.json765 B
- 脚本packages/server/persistence.js5.2 KB
- 参考文档packages/server/README.md3.7 KB
- 脚本packages/server/websocket.js10.5 KB
- 脚本packages/server/whitelist.js5.2 KB
- 参考文档PROTOCOL.md11.4 KB
- 参考文档README.ko.md8.7 KB
- 参考文档README.md10.9 KB
- 参考文档SECURITY.md4.0 KB
- 脚本test/challenges.test.js5.1 KB
- 脚本test/e2e-batch.mjs11.4 KB
- 脚本test/llm-batch-test-internal.mjs6.7 KB
- 脚本test/llm-batch-test.mjs7.9 KB
- 脚本test/run.js9.6 KB
- 脚本test/security.test.js7.9 KB
03 SKILL.md 正文
AAP - Agent Attestation Protocol
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
npm install aap-agent-server # Server
npm install aap-agent-client # Client
Server Usage
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
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:
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
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.