Open-sourced: php-sealed-intake: encrypted PHP intake form storage

What it is

Globe Teck’s php-sealed-intake is an encrypted, audited store for website form submissions on ordinary shared PHP hosting. No root access, separate service or paid KMS needed.

Why we built it

We run AI agents with Grok Bot and Cursor at Globe Teck, and intake details should stay sealed from the moment they are submitted, even if a database or backup leaks.

Highlights

  • XChaCha20-Poly1305 record encryption via libsodium, with a pure-PHP fallback for PHP 5.6 to 8.x
  • Keyed blind index so records can be looked up by email without storing it readably
  • Hash-chained audit log that breaks verification if rows are edited, deleted or reordered
  • Sealed backups the server can write but not read, plus a dry-run-by-default retention purge

Links

Feedback, issues and PRs welcome.