crazydiseases bolts enterprise security onto Mike

This fork now forces two-factor authentication at login and keeps a running record of who did what.

securitycompliance

crazydiseases has added the kind of access controls that an open-source legal-AI base usually leaves to you. Logins can now require a second factor - a one-time code or device prompt on top of the password - and the backend refuses to let users through until that second step is satisfied. There's a per-user switch, so a firm can turn the requirement on for the people who need it.

Alongside that sits a new audit trail: a structured log of security-relevant events - logins, sign-outs, document and project changes, key settings - each stamped with the user's address and device. That's the paper trail compliance teams ask for after an incident. The combination reads less like a hobby fork and more like a codebase being run as a real legal SaaS for a paying firm.

So what Anyone weighing Mike for actual client work should look here first - this is the difference between a demo and something a firm's security review will clear.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

13 commits from crazydiseases/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
938f9d02 Create auditLog.ts crazydiseases 2026-06-22 ↗ GitHub
145650dd Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
b3350b44 Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
7bbabe0c Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
0380db50 Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
6a9419f3 Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
166871bd Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
e0b3c86b Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
a5ad2175 Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
481b2db4 Update auditLog.ts crazydiseases 2026-06-22 ↗ GitHub
7927eb9c Update auth.ts crazydiseases 2026-06-22 ↗ GitHub
b829faf3 Update auditLog.ts crazydiseases 2026-06-22 ↗ GitHub
96b58e23 Update auditLog.ts crazydiseases 2026-06-22 ↗ GitHub

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-652.md from inside the repo you want the changes in.

⬇ Download capture-thread-652.md