-
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
Description
Security Bounty: Relay Ping Authentication — 10 RTC
The /relay/ping endpoint in Beacon Atlas accepts pings from any caller. An attacker can impersonate relay agents by sending fake pings with any agent_id.
Task
Add Ed25519 signature verification to the /relay/ping endpoint using the TOFU (Trust-On-First-Use) public key already stored during /relay/register.
Requirements
- Ping requests must include a signature over the payload
- Server verifies signature against the public key stored at registration
- Unsigned pings are rejected with HTTP 401
- Backward compatible: only enforce when agent has a stored pubkey
Files
beacon_chat.py—/relay/pingendpointbeacon_skill/crypto.py— existing Ed25519 helpers
Reward
10 RTC for a merged PR
🤖 Generated with Claude Code
Reactions are currently unavailable