Developer builds tamper-evident audit log on DynamoDB that enforces immutability via IAM
A developer built LedgerLock, an open-source audit logging API, for a Vercel and AWS hackathon using Amazon DynamoDB. The system addresses a widespread compliance gap where regulated companies claim immutable audit logs but store them in standard databases that can be quietly altered by administrators. LedgerLock enforces true immutability not through policy but through IAM permissions that simply never grant UpdateItem or DeleteItem rights to the application. Each logged event stores a SHA-256 hash chained to the previous entry, meaning any tampering cascades visibly through all subsequent records. The project also solved a concurrency bug where simultaneous writes could fork the hash chain, resolving it with optimistic concurrency control using DynamoDB's conditional writes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in