News for hackers. Stuff that matters.
Re:Ask HN: How do you handle audit logs in your systems? by _kb on Tuesday July 29, 2025 @06:13AM (#44721410)
I can’t help with all those queries, but a nice pattern I was introduced to a while back for integrity checks is to have the logging service embed a hash of message N in message N+1. This creates a simple Merkle tree that you can use to detect any omissions or manipulation of and flag. It’s minimal overhead and trivial to implement in any logging backend.

There are no comments on this comment yet.