Supply Closet
Security

What protects your data, and what does not exist.

You are handing over supply costs, your markup and your owners' contact details. This page describes the code as it is. It makes no claim of an audit or certification, because there is none. Last updated 28 November 2026.

In place

The controls that exist today.

Each line below is something the application or the server does now. The longer write-up, including the response headers, is kept with the source code.

Passwords
Hashed with scrypt and a random salt per account. The password itself is never stored. Reset links are single use, expire, and are stored only as a hash.
Two-factor sign-in
Authenticator-app codes (TOTP). Owners and staff each turn it on for their own login. It is optional: nobody can currently require it for a whole team. Ten single-use recovery codes are stored as keyed hashes. The authenticator seed is encrypted at rest, with the key held outside the database. Ten wrong codes lock verification for fifteen minutes, and a code cannot be used twice.
Sessions
The session cookie is HttpOnly, SameSite=Lax and Secure on HTTPS. Only a hash of the session token is stored. Sessions last 30 days, and signing out, changing a password or "sign out everywhere" ends them immediately.
Hashed tokens
Session, password-reset and invitation tokens are stored as hashes, so a copy of the database cannot be turned back into working links. An invitation works once, for seven days.
Roles and cost visibility
Account holder, manager and cleaner are enforced on the server, not just hidden in the screen. Cleaners are never sent unit costs, repair estimates or labor. Owners receive only their own statements and tickets, never your cost basis, markup, vendor notes or absorbed repairs.
Audit log
Changes to properties, costs, owners, staff, settings, imports, exports, transfers, repair decisions and invitations are recorded with the person's name and role. Secret-looking fields are removed before anything is written. The account holder can read it and download it as CSV.
Rate limits
Per address and per account: 600 API calls per 5 minutes, 5 new accounts per hour, 20 sign-in attempts per 15 minutes per address and 8 per email, 100 invitations a day per workspace and 5 a day per recipient, and ceilings on exports, messages and other writes. Wrong guesses of an owner portal link are throttled too.
Calendar link guard
When you paste a booking calendar link, the server refuses addresses that point inside its own network, re-checks them at connect time and on every redirect, and caps size and time. This is a server-side request forgery (SSRF) defence.
Browser protections
A Content Security Policy that allows scripts only from this site and forbids embedding the pages elsewhere, plus nosniff, a strict referrer policy and same-origin checks on every state-changing request. Exported CSV cells that start with a formula character are neutralised.
Transport and server
HTTPS only, with HSTS for a year. The app listens on localhost behind the proxy. The server accepts SSH by key only, runs a firewall with three open ports, bans repeated SSH failures and installs security updates automatically.
Backups
The database is backed up nightly and the newest 14 are kept on the server. A copy is pulled to a separate machine daily. Deleted data can remain in a backup until it rolls off.
Your data, out and gone
The account holder can download the whole account as JSON, and stock, history, statements, spend and the audit log as CSV. Deleting the account from Settings removes the account, its properties, owners, tickets, invitations and audit log from the live database. The whole-account JSON does not yet include repair tickets or the audit log, which have their own paths.

Not in place

What you would otherwise have to assume.

If your vendor review needs any of these, Supply Closet cannot pass it today.

No SOC 2 or ISO 27001
There is no SOC 2 report and no ISO 27001 certificate.
No independent penetration test
The code has had a security review by AI agents against a local copy, which found and fixed the issues listed in the source notes. It has not had a third-party penetration test.
No SSO
There is no SAML, OIDC or SCIM. Everyone signs in with an email and password, optionally with a second factor.
No enforced two-factor
Two-factor is each person's choice. There is no setting that requires it for a team.
Database file not encrypted
Authenticator seeds are encrypted, but the database file as a whole is not encrypted by the application. Share links and owner portal links are stored in it so that you can see and resend them; treat them as keys, and rotate an owner's link if it leaks.
One server, no failover
The service runs on a single virtual server. There is no second region and no uptime guarantee; the terms say so.
No security team on call
The service is run by one person. Security reports go to the address below and are read by that person.

Third parties

Who else receives anything.

No analytics, tracking pixels, advertising or third-party scripts run in the browser. Four services receive data from the server, each only for the reason given.

Resend
Delivers email: password resets, invitations, owner approval requests, portal links and low-stock digests if you turn them on. It receives the recipient address and the message text.
Stripe
Handles card payments when paid plans open. Card numbers never reach this server. Billing is switched off today.
Anthropic
Receives a product-label photo only if you use photo identification, with no account details. The photo is not kept.
Open product databases
Open Food Facts, Open Products Facts and Open Beauty Facts receive a barcode number and nothing else.
Start free Pricing