Skip to content

[BOUNTY] Add Signature Verification to /relay/ping — 10 RTC #307

@sophiaeagent-beep

Description

@sophiaeagent-beep

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/ping endpoint
  • beacon_skill/crypto.py — existing Ed25519 helpers

Reward

10 RTC for a merged PR

Ref: Scottcjn/beacon-skill#26

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountyRTC bounty rewardsecuritySecurity-related change

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions