Vaulth AI
Decision 3 of 10

Redact before write, not before display

One decision from Vaulth AI, which asks: Who should hold a family's medical records — the hospital that produced them, the app that displays them, or the family they describe?


The audit log records who did what to which record, across every feature in the product. Personal and health details are redacted before the row is written. Redacting at read time would have been half the work and none of the guarantee: it leaves the sensitive values sitting in a table, protected by the correctness of every future query written against it.

A failed audit write fails loud — it raises an alert rather than disappearing — because an audit log that silently stops recording is worse than none.

The hard part is a conflict between two rights. The right to be forgotten needs to change the record; tamper evidence needs it never to change; and no permission setting resolves that. The resolution is a cryptographic hash chain across the log, and it is planned: erasure will still be able to remove a person from the rows it leaves behind, and any other change will break the chain and show.

Your opinion

Would you have decided this differently?

Where do you stand?

What gets published. I read every opinion and publish substantive ones, including those that disagree with me, as a scroll on this page. I may add a reply. I leave out spam, abuse and anything off-topic, so please include only what you’d be happy to see in public.

Where it goes. I keep your opinion, your stance and, if you allow it, your name in a database run by Neon. I don’t ask for your email or store your IP address, but Netlify, which hosts this site, may log it when it handles your request. To have yours removed, email pkrishna@vaulthai.health. A published opinion is removed from the site, though it can remain in my site’s version history.

Next