Security and trust boundaries
Loopy’s safety rules are about keeping your keys with your signer, checking what servers actually returned and refusing to call unfinished operations successful.
- Signer custody. Use user-approved NIP-07, NIP-46, or Android NIP-55 signers. The generic storage adapter must not hold
nsecsecrets or bunker transport credentials. - Android result validation. External intent launch is not login. Verify callback/correlation, expected author, canonical event ID and BIP-340 signature.
- Relay verification. Signed events must verify; relay OK without exact-ID readback is insufficient for durable publication claims.
- Blossom integrity. Check signed upload authorization, hash descriptors, and downloaded bytes; never trust a returned URL alone.
- Archive safety. Reject ZIP traversal paths, symlinks, invalid CRC, oversized/decompression-bomb entries and duplicate names.
- Publication authority. Creating local docs or testing with mock relays does not authorize a public Nostr event or deployment.
- Source rights. The SDK is private/reviewable until licenses are cleared for public redistribution. Do not publish the full donor collection unreviewed.
This guide summarizes security contracts declared in the delivered SDK sources and docs; it is not a security audit of a production deployment.