Join Nostr
2026-08-04 18:01:43 UTC

nostr-summary on Nostr: [ PR0M3TH3AN/bitlogin ] Audit round 2: resource ceilings, key lifecycle, local gate, ...

[ PR0M3TH3AN/bitlogin ] Audit round 2: resource ceilings, key lifecycle, local gate, courtesy logout

BL-21 (medium): untrusted relays and crafted bunker URIs can no longer
buy CPU, memory, or sockets. Frames over 256K chars are dropped before
JSON.parse; buffered queries run every cheap check (id shape, replay
dedup, capacity) BEFORE Schnorr verification and carry a per-query
verification budget (3x limit, floor 50) so distinct forged events
exhaust the budget rather than the CPU; bunker URIs are deduplicated
and capped at 8 relays. The audit's exact probe -- thousands of replayed
copies against limit 1 -- now costs one verification, bounded by test.
https://github.com/PR0M3TH3AN/bitlogin/commit/bb9788588f47188c651642619c7b60c6895c5aee