Developer releases open-source library to detect tampering in audit logs
A developer has released chainlog, a lightweight open-source TypeScript library designed to make application audit logs tamper-evident. The library works by chaining SHA-256 hashes across log entries, so any alteration, deletion, or reordering of past records breaks the chain and is flagged by a single verify() call. Unlike heavyweight solutions such as Google's Trillian or immudb, chainlog wraps an app's existing logging infrastructure without requiring data migration or additional services. It currently ships with in-memory, JSONL-file, and SQLite storage backends, with Postgres, MySQL, and MongoDB adapters planned for future releases. The project is MIT-licensed and targets use cases such as compliance auditing under SOC 2, HIPAA, and ISO 27001, where log integrity may need to be demonstrated.
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