Security
How Lite CRM is built to keep an organisation's data safe, and how to report a problem.
Report a vulnerability
Email sg@humanly.is with what you found and how to reproduce it, or open a private advisory on GitHub. Please don't open a public issue first. We credit you when it is fixed, if you want. For a problem in one organisation's installation, use the security contact on that installation's /security page.
Hosting
Each installation runs in its owner's Cloudflare account, on Cloudflare's network: the app on Workers, records in D1, files in a private R2 bucket, background jobs on Queues. Cloudflare encrypts that data at rest and in transit and runs the infrastructure; its certifications cover it. There are no servers of ours, no shared database between organisations, and no route from one installation to another.
Signing in
- Only people an Admin invites can sign in, by single-use emailed link (15 minutes) or passkey.
- Sign-in is behind an invisible Cloudflare Turnstile check and per-address and per-IP rate limits. The answer never reveals whether an email address has an account.
- Sign-in links, sessions and codes are stored only as hashes. The session cookie is httpOnly, Secure and SameSite, ends after 7 days unused and 30 days at most, and can be ended everywhere at once.
Inside the app
- Roles (Admin, Manager, Sales, Accounts, Viewer) are checked on the server for every request; Sales can be limited to their own records.
- Every change is recorded in an audit log: who, what and when.
- Strict Content Security Policy and security headers; requests that change data must come from the app's own origin.
- Webhooks are signed, API keys are scoped and stored as hashes, and secrets live as Cloudflare Worker secrets, never in code.
- Documents are signed with a code emailed to each signer, limited to five tries. The signed PDF's SHA-256 can be checked by anyone on the installation's
/verifypage.
The code
Lite CRM is open source, so anyone can review it. Changes go through automated type checks, unit tests in the Workers runtime and end-to-end tests before they merge, and dependencies are kept few and locked to exact versions.