1. Signing in
- Staff sign in with an email address and password, with a one-time code sent by email, or with Telegram. A password must be at least 10 characters long, and the email address must be confirmed first.
- Customers sign in to the Mini App through Telegram; in a regular browser, the client portal uses a code sent by email.
- Sign-in codes have 6 digits, are valid for 10 minutes and allow 5 attempts. Passwords and codes are stored only as hashes.
- Mini App sign-in data is verified against Telegram's Ed25519 signature and accepted for one hour. Invitation and account-linking links are single-use, expire and are stored only as SHA-256 hashes.
- Resetting a password ends all of the account's sessions.
2. Sessions
- A staff console session lasts up to 12 hours from sign-in and ends after 60 minutes without activity; a client app session lasts up to 30 days and ends after 14 days without activity; a Mini App session lasts up to 12 hours. Sessions are never extended, and ended sessions are deleted.
- Session cookies are HttpOnly, Secure and SameSite=Lax.
- The staff console reaches the API through its own domain, so its session lives only in that domain's
__Host-kolo.sessioncookie: page scripts cannot read it and no token is kept in browser storage. Requests that change data are accepted only from the app's domain. - The Mini App keeps its token only while the Telegram window is open (session storage), and the API keeps no more than the three newest Mini App sessions per user.
- Security settings list all your sessions with device, IP address and last activity, and any of them can be ended. Changing your password, email or two-factor authentication ends every other session.
3. Two-factor authentication
- Staff can turn on two-factor authentication with an authenticator app (TOTP) and get 10 backup codes. The secret and backup codes are stored encrypted.
- For an account with two-factor authentication, a password or email code must be followed by the second factor, and other ways of signing in, such as Telegram or an email link, are refused for that account.
- A workshop can turn on Require two-factor authentication in its settings. Staff without it then cannot work in the console until they set it up.
4. Protection against abuse
- Sign-in is rate-limited per IP address: 10 sign-in attempts and 3 code emails a minute, 3 password-reset requests every 5 minutes, and 120 authentication requests a minute overall.
- Vehicle lookups are limited to 60 per workshop an hour, new vehicle history reports to 20 and registration number checks to 100 per workshop a day.
- The website contact form accepts 5 messages an hour from one IP address and 200 a day in total.
- The API determines the client's IP address from its own proxy configuration and ignores addresses supplied by the client.
5. Roles and access
Every staff request is checked against the person's role in the active workshop:
- Owner and Manager: full access to the workshop's data, including the Audit log;
- Service advisor: everything needed to work with customers, except deleting records and importing data;
- Technician: inspections, statuses, diagnosis and mileage. The API returns no prices or amounts to a technician, who cannot message customers or publish an inspection.
These checks run in the API on every route and in its responses, not only in the interface.
6. Data isolation
- Every staff request is limited to the workshop the person works in; one workshop cannot see another's data.
- A customer sees only their own records, and a work order only once it has left draft.
- Notes, files, events and inspection results stay internal until a staff member publishes them to the customer.
- Vehicle documents are visible to the customer who owned the vehicle when they were uploaded, not to a later owner.
- Customers are linked to their records automatically only by a confirmed email address, or by a phone number confirmed through Telegram that matches exactly one record. A workshop can turn automatic linking off, and staff are notified of every link.
7. Encryption
- The website, console, API and bot are served over HTTPS. In production the API will not start with non-HTTPS addresses, and it sends a Strict-Transport-Security header.
- The database runs on the same server as the API, has no public port and is reachable only from the server's internal network.
- Notifications from the API to the bot are signed with HMAC, and updates from Telegram to the bot are checked against a secret token.
- The database and files are hosted on the Oracle Cloud server in the EU (Frankfurt); according to Oracle's documentation, data on disks and in object storage is encrypted at rest.
8. Files
- Only photos (JPEG, PNG, WebP), videos (MP4, MOV, WebM) and PDF documents are accepted, up to 25 MB for photos and PDFs and 200 MB for videos. The server checks the actual content of each file, not just its name.
- Photos are re-encoded on the server, which removes all metadata, including location (EXIF/GPS).
- Files are kept in private storage and opened through signed links valid for up to two hours.
- Files are internal by default. Showing a file to the customer is a separate action recorded in the audit log.
9. Website and console
- A Content Security Policy (CSP) allows scripts only from the site itself and forbids loading the console inside other sites.
- The website loads no advertising or analytics scripts.
- Security headers turn off content type sniffing, limit the page address passed to other sites and block access to the microphone and location; the camera is available only to the console itself, for taking photos.
10. Logs and audit
- The Audit log records who changed what and when, from which IP address and device: changes to amounts and to anything the customer sees, publications and file views by customers. Entries are only ever added, never changed; owners and managers can view them.
- Every customer decision on an estimate is saved as an unchangeable snapshot of the prices shown, with the channel, IP address and device.
- Technical logs mask authorisation headers, cookies, keys, passwords, sign-in codes and tokens.
- Delivered notifications are deleted after 180 days.
11. Backups and recovery
A full copy of the database is made every night. It is kept in a separate private Oracle storage for up to 35 days; the 7 latest copies also stay on the server. Every Sunday the copy is restored into a separate Neon project in the EU, outside Oracle. Restoring to an arbitrary point in time is not offered: the database is restored to the state of the latest copy, so changes from the last day may be lost.
12. Incidents
If we become aware of an incident affecting personal data, we contain and investigate it and notify the affected workshops without undue delay, as set out in the Data Processing Agreement. As processor we notify the controller without undue delay (Article 33(2) GDPR); the workshop, as controller, decides on notifying the supervisory authority within 72 hours (Article 33(1)).
13. Reporting a vulnerability
If you think you have found a vulnerability in Kolo, write to [security contact email]. Please describe how to reproduce it, do not access or change other people's data, and give us reasonable time to fix it before making it public.