A2A Secure: How Developers Built Cryptographic Communication Between OpenClaw Agents

A team running multiple OpenClaw agents across different cloud providers has developed A2A Secure — a lightweight messaging protocol that enables cryptographically signed communication between AI agents.
The Problem
When running autonomous agents on separate infrastructure (in this case, one on AWS and another on Oracle Cloud), the team needed their agents to coordinate securely — share tasks, wake each other up, and exchange research findings. Traditional shared API keys felt inadequate for truly autonomous systems.
The Solution: Ed25519 Signatures
A2A Secure gives each agent its own Ed25519 keypair. Every message is cryptographically signed, and the receiver verifies against a local Trust Registry — a whitelist of known public keys. No shared secrets to rotate, no central authority.
Technical Implementation
- Each agent runs a small HTTP server (~200 lines of Python)
- Messages use JSON with canonical serialization + Ed25519 signature
- OpenClaw heartbeat system checks for incoming messages
- Instant wake feature lets agents wake each other without waiting for heartbeat
- Dead letter queue handles retries when the other agent is offline
Lessons from Production
After two weeks of real-world usage:
- Key management is the hardest part — different keypairs in different directories caused confusion
- Canonical JSON must match exactly on both sides or signatures silently fail
- Dead letter queue is essential — saved the team multiple times during network hiccups
- Store-and-fetch pattern works great for large payloads
The skill is available on ClawHub and includes the server, client, schema docs, and trust registry setup.
📖 Read the full source: r/openclaw
👀 See Also

CodeWall AI Agent Discovers Critical Vulnerabilities in McKinsey's Lilli Platform
CodeWall's autonomous offensive AI agent gained full read/write access to McKinsey's internal Lilli AI platform database within 2 hours, exposing 46.5 million chat messages, 728,000 files, and sensitive system configurations through SQL injection and IDOR vulnerabilities.

Open-source RAG attack and defense lab for local ChromaDB + LM Studio stacks
An open-source lab measures RAG knowledge base poisoning effectiveness on default local setups with ChromaDB and LM Studio, showing 95% success rate on undefended systems and evaluating practical defenses.

AI Agent Production Deletion Incidents: The Pattern and the Fix
Production deletion incidents from PocketOS, Replit, and Cursor share a common access pattern. Fix: agents get no production credentials; all changes flow through CI/CD with a policy-scoring gate.

Mass NPM & PyPI Supply Chain Attack Hits TanStack, Mistral AI, and 170+ Packages
A coordinated attack compromised 170+ npm packages and 2 PyPI packages, targeting TanStack (42 packages), Mistral AI SDKs, UiPath, OpenSearch, and Guardrails AI. Malicious versions execute a dropper that exfiltrates credentials and probes cloud metadata.