Cubitly connects to the systems your business runs on, so we treat access to your data and credentials seriously. This page describes the controls in place today. For how we handle personal data, see our privacy policy.
Keeping each company's data separate
- Every company has its own workspace. Every request is tied to the signed-in person's company, and the application only reads and writes that company's data.
- As a second, independent layer, the database enforces row-level security. The application connects with a restricted database role that can only see rows belonging to the company making the request. If no company is set, it sees nothing.
- Automated tests check this separation on every change before it can be released.
Signing in and accounts
- Passwords are never stored. We keep only a salted hash (PBKDF2-HMAC-SHA256 with 260,000 iterations and a unique salt for each password).
- New sign-ups confirm their email address before they can sign in. People an admin adds choose their own password before they can use the workspace.
- Anyone can turn on two-factor sign-in with an authenticator app, and admins can require it for their whole workspace. Its secret is encrypted, codes can be used only once, repeated wrong codes are refused for a while, and recovery codes are stored only in hashed form.
- Sessions expire after 8 hours. Signing out ends the session on our side. Changing your password signs out your other sessions, and resetting it signs out all of them.
- Your session is kept in a cookie that scripts on the page can't read, and it is only sent over HTTPS.
- Password-reset, invitation and email-confirmation links can be used only once and expire, after 1 hour for a reset you request and up to 7 days for an invitation. We store them only in hashed form.
- Asking for a password reset gives the same response whether or not an account exists, so it can't be used to find out who has one. Sign-ups and reset emails are rate-limited.
- Repeated failed sign-ins lock that account's sign-in for 15 minutes, and so do many failed sign-ins from one network address. While it's locked, we don't check passwords for it at all.
- When an admin removes a person or deactivates their account, their access ends straight away, including any session they have open.
Roles and permissions
- Admins manage people, data sources, billing, AI keys and integrations. Other people can use the workspace but can't change those settings. These permissions are checked on our servers, not just hidden in the app.
- Each seat is for one named person, so you can see and control exactly who has access.
Your credentials and keys
- Credentials for your data sources, OAuth tokens, and keys you save in Settings (such as your AI provider key and email settings) are encrypted in our database with AES-256-GCM. The encryption key is kept separately from the database.
- Tokens we issue for automations and data uploads are stored only as hashes, so even we can't read them back.
Connected data sources
- Cubitly reads from your data sources to build KPIs, reports and alerts. It doesn't change data in them.
- Where a platform offers read-only access, we ask for that. Google Analytics and Search Console are connected with read-only access, and Google Drive access covers only the files Cubitly creates. For other platforms we ask you to grant read-only permissions, or use a service account you create and control.
- Connecting with Google uses a signed, short-lived request, so a connection can't be started from another site on your behalf.
- You can disconnect any source at any time in Settings → Data sources. Its stored credentials and cached figures are deleted. For Google, we also revoke our access at Google.
AI features
- AI features use Anthropic's Claude models, through the Anthropic API key your company saves in Settings. Your questions and the data needed to answer them are sent to Anthropic under your own agreement with them.
- AI apps you connect to Cubitly (such as Claude) sign in through OAuth with PKCE. They get access only to a limited set of read actions in your workspace, and an admin can disconnect them at any time.
- If an admin adds your own MCP servers for the analyst to use, only https servers are accepted, and you can limit which of their tools it may call.
Payments
- Payments are handled by Stripe, on Stripe's own checkout and billing pages. Card details go straight to Stripe and never reach our servers.
- Messages from Stripe about your subscription are checked against Stripe's signature before we act on them. Anything unsigned is rejected.
Infrastructure
- Cubitly runs on dedicated cloud servers in the EU (Helsinki, Finland). Access to the servers is by SSH key only, with password sign-in disabled.
- All traffic to Cubitly is encrypted with HTTPS. Plain HTTP requests are redirected to HTTPS, and browsers are told to use only HTTPS for Cubitly from then on (HSTS).
- Other websites can't embed Cubitly's pages, which protects against clickjacking. Browsers are also told not to guess file types or load plugins.
- Every page has a Content Security Policy with a new random key each time it loads: browsers run only the scripts Cubitly sent with the page (and the ones those load), so a script slipped into a page by an attacker is blocked.
- Your browser only talks to Cubitly's website. Requests to our API are made server-side, and browsers can only call the API from Cubitly's own sites.
- The database is backed up every night, and backups are kept for 14 days.
- Secrets such as encryption keys and API keys are kept in the server environment, never in our source code.
- Fetching web pages for you (for example to check a page you name) is blocked from reaching private or internal network addresses.
How we build and release
- Every change goes through a pull request, where automated checks run before it is released: linting, strict type checking and our test suite, including the tests for data separation between companies.
- Our dependencies are checked against published security advisories on every change and every week, and updates are proposed automatically.
- Uploads are limited in size, image uploads are checked to be real images, and data sent to our API is validated before use. Database queries use bound parameters, never text built from your input.
When Cubitly staff access your workspace
- Staff accounts must use two-factor sign-in to reach the overview of customer companies or to sign in to a workspace.
- Only a small number of authorised staff can see the overview of customer companies. Everyone else, including people in your workspace, can't reach it.
- To help with support, authorised staff can sign in to your workspace as one of its people. They must record a reason, access lasts at most 60 minutes, and they can't change passwords, two-factor sign-in, people, billing or integrations while doing so.
- Every staff action, including each such sign-in and its reason, is recorded in an audit log. See our privacy policy for details.
Deleting your data
- An admin can delete a person at any time. Their account and sessions are deleted straight away.
- An admin can download the company's data from Settings → Company at any time, as JSON and CSV, without passwords, tokens or credentials.
- An admin can delete the workspace from Settings → Company. It's locked straight away and, after a 7-day grace period, everything in it is permanently deleted, its Google access is revoked and its payment customer record is deleted. It leaves our backups within 14 days after that. Past invoices are kept by our payment provider, as the law requires.
Reporting a security issue
If you think you have found a security problem in Cubitly, or that your account has been misused, email us straight away at hello@cubitly.app. Please include enough detail for us to reproduce it, and give us a reasonable time to fix it before telling anyone else. We'll confirm we have received your report and keep you updated.