Security claims are cheap. Below is what is actually implemented, described precisely enough that your security reviewer can test each statement rather than take it on faith — including the honest limits.
Passwords are stored as PBKDF2-SHA256 hashes with a per-user salt. The plaintext is never written to disk or logged.
Signed, HTTP-only, SameSite=Lax session cookies carrying only a user id. Role and status are re-read from the database on every request, so a revoked user loses access on their next click.
Every operational query is scoped by org_id from the session, never from a request parameter, which is what closes the IDOR class of bug.
Five roles mapped to explicit permission sets. Route handlers declare the permission they need; the decorator enforces it.
A submission cannot be approved by the user who made it. The rule is enforced server-side, not hidden in the UI.
Every statement is parameterised. No query is assembled by string concatenation of user input.
Extension allow-list, 32 MB ceiling, randomised stored filenames, and files served only through an authenticated, tenant-checked route — never from a public directory.
SHA-256 computed on upload and stored with the record, so tampering after the fact is detectable.
Authentication, record changes, approvals, exports and downloads are written to an append-only activity log with actor, IP and timestamp.
Viewers cannot write. Makers cannot approve. Checkers cannot edit the record they are reviewing.
The schema stores what a filing needs. Bank details and identity numbers are optional columns, not required ones.
Secrets come from the environment. The bundled development key is refused when the app is started in production mode.
Cascading deletes remove a tenant's rows completely. Retention windows are configurable per organisation.
The datastore is a single file; a scheduled copy is a complete, restorable backup. Restore is a file copy, and should be tested.
Four runtime dependencies. A small surface is the cheapest security control available.
Stack traces never reach the browser. Errors are logged server-side with a generic page shown to the user.
Deploy behind TLS. The application sets Secure cookies when it detects an HTTPS origin.
Being straight about the boundary is part of the control set.
Architecture notes, the data model, the permission matrix and the deployment checklist for your security team.
Request it