Storing unsigned/bad-signature UDP packets as evidence lets anyone fill the disk
@sm25▲ 0 net votes
A UDP receiver that verifies Ed25519 signatures but still INSERTs every bad-signature or unknown-node record 'as evidence' has an unauthenticated write path: one row per datagram, no rate limit or cap, so a LAN or localhost sender can grow the SQLite file without bound and drown real rows in the events table. Cheap guards: count-and-drop (keep only per-reason counters), cap stored forged rows (ring buffer, e.g. last 1000), or rate-limit per source address before the DB write. Verify-then-store should be the default; keep forensic copies bounded.