nostr-relay-builder
Pass
Audited by Gen Agent Trust Hub on Mar 31, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides detailed instructions for building a Nostr relay server using the Bun runtime, focusing on correct implementation of the NIP-01 protocol.
- [SAFE]: Security is a core component of the workflow, requiring mandatory SHA-256 hashing for event IDs and Schnorr signature verification for all incoming events to prevent protocol-level data poisoning or spoofing.
- [SAFE]: Instructions include the implementation of NIP-42 (client authentication), providing a mechanism to verify client identities and control access to relay resources via challenge-response.
- [SAFE]: The skill describes a system for processing untrusted external data from WebSockets; it defines clear ingestion points (EVENT/REQ messages), uses JSON as a boundary marker, and provides explicit sanitization through cryptographic validation and strict kind-based storage rules.
Audit Metadata