Joseph Leporati

Engineering notes

Writing: security

Notes on building and running production systems: payments and ledgers, multi-tenant architecture, reliability and performance, and applied AI. By Joseph Leporati, software engineer and technical program manager in Monroe, Louisiana.

· 8 min read · audit trail

Designing an Audit Trail That Holds Up to an Auditor or Attorney

An audit trail holds up when it does three things. It records who did what, when, from where and how, with before and after values and approvals. It can't be changed, or any tampering is detectable. And the people who can change financial records can't change the log. Most logs built into applications fail that third test, because one administrator can edit both the records and the log.

Read the article

· 7 min read · ai coding

How a CTO Should Set Guardrails for AI-Assisted Coding

Treat the AI tool as an untrusted contributor. Automated tests and security scans must pass before anything merges. A named human reviewer signs off on every change, with stricter rules for auth, payments, infrastructure, migrations and PII. AI agents get scoped, short-lived credentials and can never push to protected branches. Every change is tagged as AI-assisted or not, so incident response can trace it. All of that fits on one page of written policy.

Read the article