Security

Security

Quasr is protected by various security measures, described in the sections below. First of all we understand security is an ongoing exercise and we know that we are not going to be immune to vulnerabilities and exploits. Hence we openly work with, and support the security community to help us find and mitigate them (see Vulnerability Disclosure). Above all, we value transparency, and report any incidents to our customers and community, to help them understand the impact and mitigation.

Data Residency

Our business is EU-based and our platform runs exclusively in AWS regions within the EU: Frankfurt (eu-central-1) as our primary region and Paris (eu-west-3) as our secondary region for Disaster Recovery (DR). All data is stored within the EU and encrypted with keys we control (see Data Protection). Additionally our full staff are EU citizens and EU-based. We adhere to the General Data Protection Regulation (GDPR) as well as any other privacy regulations with extra-territorial effect. See Sovereignty for how you can control where, and whether, personal data of your users is processed by Quasr.

Data Protection

Personal data of our customers and users is securely stored inside our platform. If the data is not needed in clear, for example only for authentication purposes such as an email as username, then the data is kept in a securely hashed format only (see Secrets). If the data is needed in clear, for example such as a name for user interaction or personalization, then the data is also kept in a securely encrypted format:

  • All data is encrypted at an atomic level, i.e. at an individual claim level, increasing security as each item is separately encrypted and not in bulk. We employ symmetric encryption (AES-256-GCM) with our own keys, issued and managed by AWS Key Management Service (KMS) which uses Hardware Security Modules (HSM). Encryption and decryption happen inside KMS, so key material never leaves the HSMs, and keys are automatically rotated yearly.
  • We also keep a hashed version of each data item for easier data comparison and querying. We use an Argon2id hash algorithm with 1 level of parallelism, 2 iterations, and a hash length of 32. We use a fixed salt (required) and a memory size of 0.5 Mebibyte.
  • The same encryption is applied to other sensitive data we hold, such as tokens and claims received from federated identity providers, and variables of extensions.

Personal data of Quasr customers (meaning our customers) is additionally kept in our customer management platform (Stripe) and in an EU environment. We do not export personal data from Stripe to other environments.

When personal data passes through our platform (either for our customers or your customers) we take measures to make sure the data is not recorded in any logs and passthrough time within the platform is kept to a minimum.

Data Retention

We employ a clean data policy, meaning data is only kept when used and for a reasonable time. When unused it automatically expires and gets deleted. We have following policies in place:

  • Unused tenants get deleted after 90 days (does not apply to enterprise tenants).
  • Unused accounts get deleted after between 90 days (default) and 400 days (maximum; 5 years for enterprise tenants). Pending accounts (e.g. unfinished signups) get deleted after between 1 day (default) and 30 days (maximum).
  • Unused extensions get deleted after 30 days (extensions created on an enterprise tenant are kept until deleted).
  • Inactive customers get deleted after 400 days. Even though the customer gets marked as deleted, customer data is kept in our customer management platform (Stripe) for a certain time due to financial and compliance reasons.

Secrets

All authentication secrets are kept securely hashed in our databases. We use an Argon2id hash algorithm with 1 level of parallelism, 2 iterations, and a hash length of 32. We do treat indexable secrets (i.e. secrets of factors that require unique values) slightly different for a tradeoff in performance:

  • Indexable secrets use a fixed salt (required) and a memory size of 0.5 Mebibyte.
  • Non-indexable secrets use a random salt (16 bytes) and a memory size of 15 Mebibyte.

We continuously monitor the security community and industry guidelines to determine if these need to be upgraded for better security. We do stress that we also hash usernames (IDs) and identifiers provided by federated identity providers.

All configuration secrets, like TOTP secrets, and client secrets and client private keys for identity providers, are kept in encrypted format in our databases. We employ symmetric encryption (AES-256-GCM) with our own keys, issued and managed by AWS Key Management Service (KMS) which uses Hardware Security Modules (HSM).

Additionally, we enforce strong secret and identifier randomness requirements to minimize the risk of guessing. Of course this is always a tradeoff with usability and security scoring for your factors and controls should be set accordingly, to reflect your risk appetite. We have following measures in place:

  • All of our identifiers are securely generated Universally Unique Identifiers (UUID version 4).
  • Secrets can be required to pass a security threshold that evaluates their guessing resistance (zxcvbn score from 0 to 4), configurable per factor. By default passwords and client secrets require a score of at least 2 (and passwords a minimum length of 15 characters), while usernames have no threshold.

Tokens

We adhere strictly to open industry standards such as JWT/JWS/JWE/JWK, OAuth 2.0 & OpenID Connect (OIDC) as to not re-invent the wheel, and bank on the shared knowledge and extensive review of the security community. We in fact already align with OAuth 2.1, which is not yet mandatory and contains stronger security requirements: Proof Key for Code Exchange (PKCE) is required for the authorization code flow, the implicit grant (for access tokens) and the resource owner password credentials grant are not supported, redirect URIs must match exactly, and refresh tokens are single-use and rotated upon every use.

All security tokens (JWT) are signed using an asymmetric 2048-bit key (RSA, with PKCS #1 v1.5 padding and SHA-256, i.e. RS256). The algorithm is chosen in part because of JWT standards as well as a trade off with performance. This is our own key issued and managed by AWS Key Management Service (KMS) which uses Hardware Security Modules (HSM), so the private key never leaves the HSMs. Signing keys are periodically rotated by issuing a new key, while previous keys remain published in our JSON Web Key Set (JWKS) for validation of older tokens. New signing keys are published in the JWKS well before they start signing, together with a backup signing key, so both a scheduled and an emergency rotation switch to a key that applications already trust. A compromised key is withdrawn within minutes by disabling it in KMS, without a deployment: it's automatically removed from the JWKS, Quasr stops accepting tokens signed with it, and signing switches to the backup key.

  • We optionally provide customers the option to additionally encrypt their ID and access tokens (JWE) using their own asymmetric key (RSA), provided through a public JWKS endpoint hosted by the customer. We currently support RSAES OAEP using default parameters with SHA-1 (RSA-OAEP) or using SHA-256 (RSA-OAEP-256) for encrypting the content key. Content is encrypted using AES-128-CBC with HMAC SHA-256 (A128CBC-HS256).
  • Tokens that are only meant to be used with Quasr, such as authorization codes, refresh tokens, session tokens and consent tokens, are by default encrypted with our own asymmetric 2048-bit key (RSA-OAEP-256) managed by AWS KMS, and can only be decrypted inside KMS.

We have security token (JWT) revocation in place allowing us to revoke tokens issued by Quasr, including through the standard OAuth 2.0 revocation endpoint (RFC 7009). This mechanism is also used to enforce single-use tokens, such as authorization codes, consent tokens and refresh tokens.

Access tokens are only accepted by the APIs their audience (aud) is meant for. Customers can restrict a token to our Agent API (MCP) with an audience of its own (https://{tenant_id}.api.quasr.io/mcp, the resource the Agent API advertises per RFC 9728), so a token issued to an AI agent can't be used on our other APIs, where secrets aren't redacted.

Account Protection

We combat account hacking by having temporary lock-outs on authentication factors. We have current triggers in place:

  • Factor enrollments are locked after 5 consecutive failed or pending attempts with auto-unlock after 5 minutes. Attempts against an enrollment are counted the moment they're made (before the input is checked), so this limit is strictly enforced, also for attempts made in parallel. The counter is reset after a successful pass, but not upon auto-unlock, meaning a single new failed attempt after auto-unlock locks the enrollment again. Only enrollments of One-Time Password (OTP) and Identity Provider (IDP) factors are granted one extra attempt after auto-unlock, as these factors operate in 2 steps where the first step is counted as a pending attempt. See Factors for more details.
  • We track source IPs and use a score-based mechanism to determine if an IP block is required. Each failed or pending attempt will increase the score (failed more so than pending). Once the score reaches a threshold the IP gets blocked across the whole platform, with increasing block durations for repeat offenders (5 minutes, 15 minutes, 1 hour, 5 hours and ultimately permanently). After a temporary block the IP receives a grace buffer in order to be able to recover (shared IPs need 4 times the score to be blocked and receive 4 times the buffer); if it consumes the buffer it will be blocked again. Tracking of an IP expires after a period of inactivity (between 1 and 6 hours). Scores, thresholds and durations depend on each tenant's security level, which follows its environment (low for development, normal for test and high for production), who also get notified by email upon blocks. Users that made an IP's scored requests (with an access token or when signing up) are additionally locked once the IP's score reaches the tenant's lock score, except for trusted and shared IPs and internal users. Customers can additionally request specific IPs to be listed as trusted for their tenant to avoid these blocks if desired. See Network for more details.

API Protection

We have various API defenses in place to combat malicious requests:

  • All of our APIs are only reachable through our Content Delivery Network (CDN); direct access to the underlying API endpoints is disabled.
  • Our Authentication API (REST) uses global caching using the CDN on certain GET routes with generally highly static responses (or error responses with HTTP status code 400).
  • Our Authentication API (REST) is rate limited per route and allows for bandwidth even when other routes are getting overloaded (in case of DDoS). Our Management API (GraphQL) is subject to the overall IP-based rate limit below.
  • We have an overall IP-based rate limit (across all APIs) of 500 requests in 5 minutes, that results in a temporary block of the IP. Unblocking usually happens a couple of minutes after the IP has reduced their rate.
  • We have a Web Application Firewall (WAF) in place that blocks requests that look malicious or match common exploit signatures (AWS Managed Core Rule Set, covering common OWASP Top 10 attack patterns). Our backends don't use relational databases and hence are not vulnerable to SQL injection attacks. Blocked and rate-limited requests are logged for analysis (with credentials, cookies and query strings redacted) and retained for 1 year.
  • We have Distributed Denial of Service (DDoS) protection (AWS Shield Standard together with the AWS WAF Anti-DDoS rule set) blocking suspected DDoS attacks.
  • We block IPs that are listed as either malicious or actively engaged in reconnaissance or DDoS activities (AWS IP reputation list).
  • Our Customer API (not a service for customers) is additionally protected with CORS to only allow our Account UI access within a browser environment, preventing other websites from calling it from a user's browser. Additionally it also has bot control activated to block out bots.

UI Protection

We have various UI defenses in place to combat malicious requests:

  • All UIs are globally cached using a CDN.
  • All UIs are Single Page Applications (SPA) that live in the browser, access our services using APIs, and are served directly from private storage that is only accessible through the CDN. They don't contain any sensitive algorithms or data, hence attacking the UIs by themselves provides no gain.
  • All UIs have bot control activated to block out bots. Our public website and this documentation are left open to search engines and AI assistants, as they only hold public content.
  • All UIs are additionally protected with CORS to only allow our UI domains to load the content.
  • All UIs send security headers such as HTTP Strict Transport Security (HSTS), X-Frame-Options, X-Content-Type-Options and Referrer-Policy, enforce a strict Content Security Policy (CSP), and deny being embedded in frames (combatting clickjacking).

Encryption in Transit

All APIs and UIs are only accessible over HTTPS with at least TLSv1.2. You can find all supported ciphers at https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html (we use TLSv1.2_2021 as security policy).

  • All SSL/TLS certificates are issued and managed by AWS Certificate Manager (ACM) with a 2048-bit key (RSA), and are renewed before they expire.
  • All internal communication is also only over HTTPS with at least TLSv1.2. This uses AWS own certificates and configurations. Our storage refuses any unencrypted connections.
  • All external communication (Stripe) is also only over HTTPS with at least TLSv1.2.

Post-Quantum Cryptography

Regarding Post-Quantum Cryptography (PQC) some features are already supported and more are currently being investigated:

  • Current support for Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM), X25519MLKEM768 and SecP256r1MLKEM768, as quantum-safe key exchanges in TLS handshakes. We're still looking into enabling this for our own internal TLS connections. See: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html
  • Future support for JWT post-quantum cryptographic signatures using Module-Lattice Digital Signature Algorithm (ML-DSA). We're still looking into supporting this and will probably roll this out on a per-tenant opt-in basis as currently support for accepting such tokens is still very limited.

Email Security

We have secured our internal and outgoing email communication as follows:

  • We sign our outgoing emails (DKIM) using two separate asymmetric 2048-bit RSA keys; one for platform communication and one for internal communication.
  • We have a custom MAIL FROM domain for platform communication (mail.quasr.io) with SPF activated to only allow our outgoing email service provider (AWS SES).
  • We have DMARC enabled on our domain with a 100% quarantine policy.

Monitoring & Auditing

We have extensive monitoring and alerting in place that could help us understand if the service is under attack, corrupted or being used maliciously. This does allow us to quickly take extreme measures if we see the service is being misused or under large-scale attack. Some of potential mitigations at our disposal are:

  • Locking of malicious tenants.
  • Locking of malicious accounts.
  • Temporarily disabling of factors.
  • Revoking of security tokens (JWT).
  • Throttling of incoming requests.
  • Blocking access based on geo.
  • Blocking of malicious IPs.

We continuously monitor the security posture of our cloud environments: threat detection (AWS GuardDuty), security best practice checks against the CIS AWS Foundations Benchmark (AWS Security Hub), recording of all resource configuration changes (AWS Config), and spending alerts per account (AWS Budgets) so unexpected usage, such as an environment being abused, is caught well before the monthly invoice.

We have detailed audit logs in place at various levels in our platform. Every action logs which account has performed it and data changes log differentials (with sensitive values such as secrets and claim values redacted).

  • Account - everything related to a specific account
  • Tenant - everything related to a specific tenant
  • Platform - everything (tenants and non-tenant)
  • Cloud - everything related to our cloud environments (AWS CloudTrail, across all accounts and regions, with log file integrity validation)

Platform audit logs are retained for at least 5 years and cloud audit logs for 1 year, and are protected against modification and deletion (S3 Object Lock).

Operational Security

  • Full separation of production environment with restricted manual access. Our deployments are fully automated so our teams don't have access to production resources and data. Only during emergencies access can be granted on a granular level to either (a) assess situations, and / or (b) remediate data corruptions. Access to our environments is provided using a Single Sign-On (SSO) mechanism (SAML). Sessions are time-limited to 1 hour. Our internal identity provider is Google Workspace which has enforced Multi-Factor Authentication (MFA).
  • We grant access to environments and systems on a least-privileged principle (both for users and software clients). Access is regularly reviewed (at least every quarter) and revoked upon account termination. Access rights (permission sets and their assignments to groups and accounts) are managed as code and deployed through our pipeline, so every change is version-controlled and auditable.
  • All developers are monitored and trained on security knowledge and skills. Additionally code is thoroughly reviewed by seniors / experts. All code repositories, including pulled third-party packages (NPM), are continuously scanned for vulnerabilities (Aikido Security), which also scans our cloud environments and performs dynamic application security testing (DAST). Access to code repositories is provided using a Single Sign-On (SSO) mechanism (SAML), issuing time-limited access tokens (1 hour). Our internal identity provider is Google Workspace with Multi-Factor Authentication (MFA).
  • We make use of native cloud services (AWS) whenever possible to offload security of the underlying platform to our cloud provider. As we are built fully serverless we don't manage any storage, databases, virtual machines, container clusters, networks or firewalls ourselves.

Resilience & Disaster Recovery

We can easily recover our environments as our applications are built stateless and are deployed fully encoded in infrastructure as code (IaC) templates through an automated process (DevOps). We have following data loss mitigation strategies in place:

  • All data is replicated across at least 3 Availability Zones (AZs) which are distinct, physically separated and isolated data centers in a Region of AWS, with redundant power, networking, connectivity and housed in separate facilities. See https://aws.amazon.com/about-aws/global-infrastructure/regions_az/ for more details.
  • All resource data (such as tenants, accounts, factors, controls, extensions or tokens) is kept in serverless non-relational databases (DynamoDB) that are replicated live to our secondary region for Disaster Recovery (DR). Databases in both regions are protected against deletion.
    • Additionally Point-In-Time Recovery (PITR) is enabled in both regions, allowing restores to any second within the last 35 days.
    • Additionally secure backups are made daily and replicated to our secondary region. Backups are protected against deletion (AWS Backup Vault Lock). Automatic backup restore testing is performed monthly.
  • All logs are kept in serverless storage (S3) with a designed durability of 99.999999999%, and are replicated to our secondary region. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/DataDurability.html for more details.
  • All cryptographic keys are kept in AWS Key Management Service (KMS), which is designed to be highly durable with redundant storage, including offline Hardware Security Modules (HSM) in emergency. See https://docs.aws.amazon.com/kms/latest/cryptographic-details/durability-protection.html for more details.
    • Additionally all keys in active use are multi-region keys, securely replicated to our secondary region for Disaster Recovery (DR).

Insurance

Last but not least we're insured against inflicted damages that resulted from breaches or hacks in our platform. Please be mindful that only our enterprise customers enjoy certain contractual statements that allow for compensation.

2026.11.22 | © Copyright 2026 Quasr BV