Security controls
Passwords and secrets
- Passwords are hashed with Argon2id and never stored in readable form.
- Recovery codes and API secrets are stored only as hashes.
- 2-step verification secrets are encrypted.
- Passwords, tokens, codes, cookies and secrets never appear in our logs.
Tokens
- Signing keys are stored in AWS Systems Manager as encrypted parameters and can be rotated without downtime.
- Access tokens are valid for at most 15 minutes.
- Refresh tokens are replaced on every use. If an old refresh token is used again, the entire session is revoked.
Sign-in
- Sign-in uses OAuth 2.1 with PKCE, exact redirect URL matching and signed tokens.
- Users can sign in with passkeys and protect their accounts with 2-step verification and recovery codes.
- Sign-in errors never reveal whether an account exists.
Rate limits
- Rate limits apply per IP address and per account, and are checked before any expensive processing.
- Repeated failed attempts are slowed down and then blocked.
Isolation
- Every request is limited to one workspace, which is identified from a verified token or signed cookie and never from user input.
- Automated tests attempt cross-workspace access and confirm that it is denied.
Pages and cookies
- Sign-in pages do not load third-party scripts, fonts or trackers.
- Sign-in pages send strict security headers and a content security policy.
- Session cookies are marked Secure, HttpOnly and SameSite, and are restricted to a single host.
Staff access
- Leantel staff tools show workspaces and usage totals. They never show an app's users, their email addresses, sessions or tokens.
- Every staff action requires a reason and is recorded in an audit log.
Infrastructure
- Leantel is hosted on AWS in the us-east-1 region.
- Data is encrypted in transit and at rest.
- The database is backed up continuously, and backups are kept for 35 days.
- Infrastructure is defined in code, and changes are deployed only through a pipeline that runs all checks and tests.
- Dependencies are pinned and scanned for known vulnerabilities.
Webhooks
- Webhooks are signed with HMAC-SHA256 and include a timestamp.
- Webhooks are delivered only to HTTPS URLs.
Reporting a vulnerability
Email security@leantel.dev. Include:
- the steps to reproduce;
- what an attacker could gain;
- any proof-of-concept.
Please do not share the issue publicly until it is fixed.
We will reply within 3 working days, keep you informed of our progress and, if you wish, credit you in the changelog.
Safe harbour
We will not pursue action against research that:
- is done in good faith;
- uses only your own accounts and workspaces;
- avoids privacy violations, data destruction and service disruption;
- stops at the minimum needed to show the issue;
- is reported to us promptly.
Out of scope
- Denial-of-service attacks and load testing.
- Social engineering.
- Physical attacks against our offices or providers.
- Reports that list missing best practices without demonstrating impact.
A machine-readable contact file is published at https://leantel.dev/.well-known/security.txt.