Menu

Our Tamper-Evident Log Never Checked a Hash: The LibrarySentry Near Miss
πŸ“°

Our Tamper-Evident Log Never Checked a Hash: The LibrarySentry Near Miss

DEV Community: securityΒ·FITHRIYAHΒ·7 days ago
#p70W1kui
#devtosecurity#devto#dev#chain#hash
Long article (909 words) β€” no AI summary yet.
Reading 0:00
15s threshold

LibrarySentry is our entry to Agentware 2026, the 72-hour Hackathon Raptors agent hackathon, in the Research & Study track: an unattended guard for a learning library that watches feeds, pages, and a local folder, files new finds as Markdown notes, extracts deadlines, and builds a daily reading brief. Python standard library only, deterministic, no LLM in the loop. We set out to enforce every safety property in code rather than in a prompt. This write-up is about the one we claimed to enforce and didn't.

The claim that wasn't true

Our README and SAFETY.md described the audit trail as an append-only, hash-chained JSONL log that detects a one-byte change β€” one of our four safety-bonus features. It wasn't a hash chain. No record carried a hash, and nothing ever computed one.

The experiment

Late in the build, while producing the demo, we ran the obvious test: flip one byte inside an event's detail string in a committed trace, and run our verifier on it. It passed.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.