Security
How your data is protected
Attendance data decides what people are paid. This page describes what I actually do to protect it, including the things I have not done yet, because a security page that lists only strengths is not a security page.
Last updated: 1 November 2026
One company cannot see another
AMS is multi-tenant: every client shares the same software but not the same data. Each company gets its own subdomain, and every authentication token carries the company it belongs to. Every database query is filtered by that company identifier on the server, on every request, without exception.
Primary keys are UUIDs rather than sequential numbers. Nothing about your size, your headcount or your record count can be inferred from a URL, and no record can be found by guessing an identifier.
Permissions are enforced on the server, always
Every route in the API is either signed-in or deliberately public and listed. The public ones are the sign-in, sign-out and password-reset routes and the public tenant branding lookup; every other route needs an authenticated session, and almost all of them are gated on a specific permission code as well. Super-admin routes sit behind a separate guard again. An automated test checks every route against that list, and it is written so that it fails when somebody adds an unguarded route, which is the only version of it worth having.
There are four roles (Admin, HR Manager, Supervisor and Employee) and four scopes: own, team, department and company. A Supervisor is scoped to team, meaning their own direct crew and nobody else. They deliberately cannot approve leave: somebody able to mark a day absent and refuse the leave that would have covered it holds a person's pay on their own.
The check happens on the server on every request. Hiding a button in the interface is presentation; it is never the control.
A super-admin session and an employee session use different cookies, different paths and a different token type, so an employee token physically cannot reach an administrative endpoint even if it is replayed at one.
Credentials
Passwords are hashed with bcrypt and never stored or logged in any recoverable form. I cannot read a user's password, and neither can their own administrator.
Sessions use short-lived access tokens in httpOnly cookies, refreshed silently, with refresh tokens stored hashed and rotated on use. Because the cookies are httpOnly, a script on the page cannot read them.
Invitation and password-reset links are single-use, expire (72 hours and 60 minutes respectively), and are stored only as hashes. The forgot-password endpoint answers identically whether or not the account exists, so it cannot be used to discover who works somewhere.
Changing, resetting or setting a password invalidates every other session for that user. Login and both password endpoints are rate limited. Workers who are only ever marked by a supervisor can have no login at all, which means no password to lose.
Aadhaar numbers, where a company records them for payroll, are stored encrypted.
Every change is attributable
Manual attendance entries, changed marks and correction decisions write to one audit log: who acted, what the record was before, what it became, and the reason given. A reason is mandatory for administrative actions, the system will not save without one. A company that lets corrections apply without review still gets the record of who asked and why, with no reviewer named, because nobody reviewed it.
A day's history is shown in the app, on the day itself: every change to it, by whom, when and why.
This matters more than it sounds. When an employee disputes a deduction months later, the record either defends itself or it does not.
Infrastructure
AMS runs on a server in India that I administer myself. Application containers bind to localhost only; nothing in the stack is directly reachable from the internet. A single reverse proxy terminates TLS and is the only public entry point. Each tenant subdomain has its own certificate, renewed automatically.
Tested, not asserted
The automated test suites are all green and all run before anything is deployed. They cover the claims on this page rather than only the happy paths: that one company cannot read another's data, that privilege cannot be escalated, that a supervisor reaches their own crew and no further, that every route is either signed-in or deliberately public and listed, and that the arithmetic behind attendance rates and the leave ledger is right.
They are also run inside the deployed container image rather than only on a developer machine. The two run different Python versions, and a fault that was invisible on one took the API down from the other, once, on 8 October. The suite that decides now runs on the interpreter that actually ships.
What I have not done yet
AMS has not had a third-party penetration test. It does not hold SOC 2 or ISO 27001 certification. It does not offer single sign-on, hardware keys or two-factor authentication yet. SSO is on the roadmap and not built.
If your procurement process requires any of these, tell me early. I would rather lose a deal at the start than pass a questionnaire by being vague about what exists.
Reporting a vulnerability
If you find a security problem, write to support@versnq.in with enough detail to reproduce it. I aim to acknowledge it within two working days and to keep you informed until it is fixed.
Please do not test against a live client tenant, and please do not access data that is not yours. Report it and I will reproduce it myself. I will not pursue anyone who reports a genuine issue in good faith and gives me a reasonable chance to fix it.
