Skip to content

How Adiutor protects your data

This page is for company users deciding whether to trust Adiutor, for the staff, and for the operators who run it. It describes what Adiutor does to protect your data, in plain words. It doesn’t promise that nothing can go wrong. The measures below are the ones in the code today, and the full technical detail is in the developer documentation.

There is no public sign-up. An account exists because someone with the right to add people invited them, or because the staff added them. Staff invite a company’s first Admin, each company then invites its own people, and staff Admins manage the staff. Signing in with GitHub or Google only reaches an account that already exists.

Giving someone a lasting way in is protected too. Inviting staff, raising someone’s staff role and giving someone the Admin role in a company all need the person doing it to confirm it’s them with their second step from the last 15 minutes (see Confirming it’s you). When someone becomes a staff Admin, the other staff Admins get an email.

People sign in with a password, a passkey, an emailed link, or a connected GitHub or Google account where the server is set up for them.

  • Passwords are at least 12 characters long, and are stored only as a slow hash. Wrong guesses are limited (see Limits against guessing).
  • Passkeys sign you in with your device’s unlock and skip the second step. See Passkeys.
  • Sign-in links and emailed codes work for 5 minutes, password reset links for an hour. A sign-in link signs you in only after you press Continue signing in on a page that names the account, so a mail scanner that opens the link first can’t use it up or sign anyone in.
  • GitHub and Google are only offered when the server is set up for them. Adiutor doesn’t keep their tokens beyond the sign-in itself, and never calls their APIs for you afterwards, so a leaked database holds no tokens for your provider accounts.

Whether an email address has an account is never revealed to company users or to signed-out visitors: every screen answers the same way. Only staff can see it.

A second step, a code from an authenticator app or an emailed code, protects an account after the password. See Two-step verification.

  • Who must use it: staff Admins and Managers, and the Admins of an active company. For them only a strong second step counts: a passkey, an authenticator app, or no password with only GitHub accounts that have two-factor authentication. Emailed codes and trusted devices don’t count for them. Until they have one, every page sends them to the Security tab. See Who must use two-step verification.
  • Emailed codes stop working once an authenticator app is set up, so someone who only controls an inbox can’t get past the app.
  • Backup codes each work once, and only after the app is set up.
  • Trusted devices: Trust this device (until 30 days after your last password sign-in here) skips the code step on that browser for that long. It’s forgotten when you sign out, change or reset your password, turn two-step verification off, sign out any of your devices, or someone else signs in on that browser.
  • A pause, not a lock-out: each sign-in allows 5 wrong codes, and after 10 wrong codes in a row, signing in with a code pauses for 15 minutes, and the owner is emailed.

A session lasts a fixed 7 days from the sign-in and is never extended while you use it. After that, you sign in again. A session needs its signed cookie, so the database alone gives nobody a way in. Signing out removes the browser’s cookies for Adiutor, except the remembered sign-in method and your language, and asks the browser to drop the files it kept.

You can see your signed-in devices on the Activity tab and sign any of them out. See Your account.

Changing how you sign in, or giving someone else a lasting way in, asks for your second step again if it was more than 15 minutes ago. This covers:

  • adding or removing passkeys, connected accounts and two-step verification, getting new backup codes, setting a first password, and deactivating your account;
  • inviting staff or a company Admin, and raising someone to staff or Admin;
  • reactivating an account that kept one of those roles.

To change how it signs in, an account without a second step needs a sign-in from the last hour instead. (Everyone who can give those roles must have a second step.) The point is that a stolen session can’t add its own way in, however long ago it was confirmed. A session that began with the link in an email about a request never counts as a confirmation. See Confirm it’s you.

Adiutor limits how often anyone can try things that could be guessed or abused. Past a limit, the app says how long to wait, such as “Too many attempts. Try again in 12 minutes.” Examples:

What Limit
Wrong passwords for one email address 10 per 15 minutes
Emailed links and password resets for one email address 5 per hour
Wrong codes when confirming it’s you, for one user 5 per 15 minutes
Emailed codes sent to one user 5 per 15 minutes
Invite links claimed from one IP address 10 per hour
Staff starting to sign in as a user 10 per hour
Requests raised by one user 60 per hour
Replies and internal notes by one user 200 per hour
Files uploaded by one user 100 per hour

The limits count whether or not an address has an account, so they reveal nothing. Reaching the password limit only pauses password sign-in: email links, passkeys and a password reset still work, and the owner gets a security email. Limits can change between releases.

Staff can sign in as a user to see what isn’t working for them, and for no other reason. The limits:

  • Who: staff Admins can sign in as anyone except staff Admins, Managers as company users, and Support as company users who aren’t an Admin in any company. Finance can’t.
  • For how long: 30 minutes, never extended. It ends sooner when the staff member goes back to their own account or either person’s rights change.
  • What they need: a strong second step on their own account, confirmed in the last 15 minutes. They may give a reason, which only staff Admins and Managers see, in the audit log.
  • What they can do: only the user’s request work, such as replying. Settings, account details and sign-in methods can’t be changed, and every page shows a banner saying whom they’re signed in as.
  • What you see: you get an email each time, and your Recent activity shows when it started and ended, naming the staff member.
  • You can turn it off: Sign-ins by staff on the Security tab. Nobody can then sign in as you.

See Sign-ins by staff and, for staff, Signing in as a user.

Adiutor emails you when your password, two-step verification, backup codes, passkeys or connected accounts change, when a staff Admin resets your two-step verification or signs you out everywhere, when your account is deactivated, reactivated or deleted, when your role changes or you’re removed from a company, when a staff member signs in as you, and when sign-in is paused after too many wrong attempts. They are sent within a few minutes. The device and IP address appear only for changes you made yourself, never for something someone else did, since the address might be theirs. See The security emails.

Adiutor keeps a record of security-relevant events: sign-ins and failed sign-ins, changes to passwords, passkeys and two-step verification, sessions ended, accounts created, deactivated and deleted, role changes, invitations and invite links, company changes, changes to webhooks, and staff signing in as users. Each entry says who, whom, which company, the IP address and the browser. It’s kept for a year.

  • Staff with access to the logs (staff Admins and Managers) see all of it under Logs. Only they see another person’s IP address and browser, not even someone’s colleagues.
  • You see your own recent activity on the Activity tab.
  • Unexpected errors are recorded separately for staff Admins, with a reference the error page shows, and are deleted after 7 days. They hold no database values and no secret tokens.

See Logs.

Some things on a request are for the staff only, and never reach a company user, on a page or in an email:

  • a request’s priority, and every change to it;
  • internal notes, and the files attached to them;
  • internal requests, which belong to no company;
  • which staff members follow a request;
  • earlier versions of an edited description or reply.

People appear on a request by name only, never by email address. A company’s users see only their own companies and what belongs to them. The server checks permissions on every action, not only by hiding buttons.

What someone types in a request must never run, load or mislead in a reader’s browser. Text is written in Markdown, and it’s shown like this:

  • Markdown never becomes HTML. A typed tag shows as the text it was typed as, and the result is built from the app’s own elements, filtered by an allow-list.
  • Only whole http and https addresses become links. Not mailto:, javascript: or a path to a page of Adiutor itself. Links open in a new tab.
  • Images never load. An image in a text shows as a link, because a loaded image would tell its host who read the request and when. The same holds in emails.
  • Links to staff pages are removed from what a company reads. A staff member’s link in a description or reply shows as its text.
  • Mentions hold neither a name nor a user ID in the text; who they are is looked up when the text is read, for readers who may see that person.

See Writing replies and Supported Markdown.

  • Only certain files. A file must be on the allow-list (images, PDFs, text, Office and OpenDocument files, archives and screen recordings), and its bytes must match what its extension says. HTML, SVG, scripts and programs are refused. The largest file is chosen per installation, at most 50 MB.
  • Always a download. Files are served with a policy that runs nothing and shown in the viewer only as an image, a video or text. Nothing a file holds is ever run, and a file is never shown in a frame.
  • Whoever reads a text reads its files. A company user never learns that an internal note has a file, and a removed file or one you may not read is “not found”.
  • Previews are drawn again. A tile shows a small picture the server drew itself, within strict limits, never the file.
  • Browsers ask before each use. A file is kept by the reader’s browser but checked each time, so a removed file or a lost access takes effect at once. Signing out asks the browser to drop its copies, which Firefox doesn’t yet honour.
  • An unsent upload is its uploader’s alone. Nobody else can send it with their text.
  • Pictures of people connected from GitHub or Google are served by Adiutor itself, so viewers’ browsers never contact those providers.
  • The staff’s logo and icon are PNG or JPEG files, redrawn by the server as a new PNG, so location data and anything hidden in the original is never served. SVG is never accepted.

See Files.

Emails about a request have links that sign you in and open the request, so you don’t need a password. They work for 14 days, are made for one person and one request, and can sign in at most 10 times an hour. A link that’s only fetched, as a mail scanner does, signs nobody in: it shows a page to continue from. The email asks you not to forward it, because anyone with it can open the request as you. These links stop early when you sign out your other devices, change or reset your password, turn two-step verification off, are signed out everywhere or deactivated, or lose access to the request.

The Approve and Deny links in a solution’s email answer one proposal, as the person it went to, once, for 14 days, and can do nothing else. See Links in emails about requests and From the email.

Staff Admins can have Adiutor send news about requests to an address they choose. Adiutor never sends to an address that is, or resolves to, one inside its own network: private, loopback, link-local (where clouds serve their metadata) and other internal ranges. This is checked on every connection. Only the operator can allow a network, with WEBHOOK_ALLOWED_NETWORKS (see Environment variables); nobody in the app can.

In production an address must start with https://. Adiutor sends signed JSON (or a chat message), follows no redirect, gives up after 10 seconds, and Adiutor keeps only the answer’s status, never what the receiver replied. People are named by name and side only, never by address or ID. A webhook’s address and secret are stored encrypted, and changes to webhooks are in the audit log with the name and host only. See Webhooks.

  • Passwords are hashed. Authenticator secrets and backup codes are encrypted with the server’s secret.
  • The mail server’s password and the file storage’s secrets are encrypted, never shown again, and kept only for the server they were saved for, so a staff Admin can’t point a saved password at a host of their own. Saving them needs a recent second step, is in the audit log, and the staff Admins are emailed when the mail server changes.
  • Links and codes in emails are stored only as hashes.
  • Provider tokens aren’t kept after the sign-in.
  • Server logs hold no personal data of their own. Errors can name an address an email failed for, so treat logs as personal data. See Secrets and incidents.

Adiutor sets security headers on every page, among them a Content Security Policy. Only scripts the server marked for that one response run, scripts written into the page’s own markup are blocked, images load only from Adiutor itself, and no site, Adiutor included, can put a page in a frame. A line of text someone types can’t add a script to a page. HSTS keeps browsers on HTTPS, and cookies are marked secure when the app runs on HTTPS.

Please don’t report a security issue in a public issue, pull request or discussion. Report it privately through GitHub’s Report a vulnerability on the repository’s Security tab: the security policy says how. Include what you found, how to reproduce it and the impact you think it has. Only the latest release receives security fixes.

Adiutor's code is released under the MIT License. The Adiutor name and logo aren’t covered by it; see the notice.

Set in Inter and JetBrains Mono, under the SIL Open Font License (Inter, JetBrains Mono).