Skip to content

Security

How DRACO protects accounts and data: two-factor authentication, sign-in protection, sessions, the browser and transport encryption.

Two-factor authentication

DRACO supports TOTP codes (RFC 6238, 6 digits, every 30 seconds) from Google Authenticator, Microsoft Authenticator, 1Password, Authy or any TOTP app.

Turning it on

  1. Open Profile > Security (/profile/security; the Profile tab shows Two-factor authentication: Off ยท Turn on while it is off).
  2. Scan the QR code with your app (or type the secret).
  3. Enter the current code to confirm. DRACO shows 10 recovery codes once: store them offline. Each works once, instead of a code, if you lose your phone.

Later you can generate a new set of recovery codes (with a current code), or turn 2FA off (with your password and a code).

Signing in with 2FA

After your password, DRACO asks for a code (or a recovery code). The challenge is valid 5 minutes; a code is never accepted twice. Five wrong codes end the challenge and 20 wrong codes in an hour block further attempts for a while. Google, GitHub and SAML sign-ins ask for the code too, after the identity provider.

Requiring 2FA for an organization

An admin with Read-Write in Organization settings (who has 2FA on) can require it for every member of the organization with Require two-factor authentication in Settings > Organization > Organization settings. Members without 2FA are then sent to the setup page after signing in and can do nothing else until they enroll. API keys are not affected. Platform operators always need 2FA.

After each password sign-in, admins of an organization that does not require 2FA and who have not turned it on themselves see a reminder, "Protect your organization's account", once per sign-in.

Lost phone and recovery codes

Ask your DRACO operator: they can reset a user's 2FA (audited). The user then enrolls again.

Sign-in protection

DRACO slows down password guessing (the limits below are the defaults; your DRACO operator can change them):

  • Account lock: 5 failed sign-ins for one e-mail within 15 minutes lock it for 15 minutes; even the right password is refused meanwhile. The owner gets an e-mail: if it was not them, they should change the password and turn on 2FA.
  • Address ban: 5 failures from one network address (for any e-mails) within 15 minutes ban it for 24 hours from signing in, signing up and accepting invitations. Sessions already signed in keep working. IPv6 addresses are counted per /64.
  • Wrong e-mails count too, so a lock never reveals whether an account exists. A successful sign-in resets the e-mail's counter.

The sign-in page then says "Too many attempts. Try again in N minutes." Your DRACO operator can unlock an account or lift a ban early.

Sessions

  • Signing in issues an access token (valid 30 minutes) and a refresh token (valid 24 hours). The web interface refreshes the access token while you work; after 24 hours without a refresh you sign in again.
  • Sign out ends the session in the browser. Expelling a user from an organization, or deactivating or removing the user, ends their refresh; access tokens already issued stay valid until they expire (30 minutes at most).
  • Only you can change your own e-mail address and password, and only with your current password; changing the password ends your other sessions.
  • Forgot password? on the sign-in page e-mails a single-use link valid 30 minutes; the answer never tells whether an account exists. A reset ends every session and keeps 2FA on; it is not offered to users their organization signs in with SAML. See Forgot your password.
  • API keys are separate from sessions: they last until their expiry or until revoked, and are not affected by 2FA. An API key cannot be turned into a sign-in session.
  • SAML single sign-on works only after your organization has verified its e-mail domain; a SAML session stays in that organization.
  • A suspended client organization cannot sign in until the platform operator reactivates it.

In the browser

  • Your session's API tokens are never readable by scripts in the page: the browser holds them only inside an encrypted, HTTP-only session cookie.
  • DRACO is served over HTTPS only (HSTS).
  • Pages run under a strict Content Security Policy: injected or inline scripts do not run, and AI and markdown output load no remote images.
  • Requests from other sites to DRACO's sign-in and session routes are refused.

Transport encryption

Every public transfer DRACO makes is encrypted:

  • Generic HTTP pull data sources and webhook response actions take https:// URLs only. Next-page links must be https:// too; redirects are not followed, and a redirect from https to http is refused.
  • Platform e-mail, cold storage and backups use encrypted connections.
  • When the server's public ingest URL is not HTTPS, push sources show a warning instead of configuration snippets.

Not affected: the edge collector's local listeners on your network and the threat intel paths (feeds, enforcement webhooks, EDL/TAXII pulls).

Sources and actions saved with plain HTTP before this rule keep working until edited, and show an Unencrypted (http) badge: edit them and switch to an https:// URL.

Credentials

Secrets in Credentials are stored encrypted, never shown again, and sent only to the hosts approved for them (see Approved hosts).

Audit

Security events (2FA on and off, failed codes, recovery codes used, resets, policy changes, locks, bans, unlocks and allowlist changes) are recorded in the audit log without secrets or codes.