Skip to content
RevenueOS

Security

Security, explained by how the system is built

RevenueOS holds your leads, conversations, call transcripts and provider credentials. This page sets out, control by control, how they are isolated, encrypted, access-controlled and audited — and what we do not yet claim.
Tenant isolation
Organisation resolved from the session or API key on every request — never from the request body.
Access control
5 roles, 29 permissions, and an own-leads scope for sales reps.
Credentials
Encrypted at rest and write-only through the API. Only the last four characters are ever shown.
Sessions
httpOnly cookies, 12-hour expiry and CSRF protection on every change.
Audit trail
Sign-ins, role changes, exports, credential changes and handovers, with actor and IP.
Certifications
None claimed. Controls are described as built, and we answer your questionnaire directly.

01

Tenant isolation

Every customer organisation is a tenant. Isolation is enforced in the data layer on every request, not by convention in individual screens.

  1. 01

    Request

    Arrives with a session cookie or a Bearer API key. Bodies and query strings carry no tenant id.

  2. 02

    Authenticate

    The token is hashed and matched. Expired, revoked or disabled access is refused.

  3. 03

    Request context

    Organisation, role and permissions are resolved on the server from that session or key.

  4. 04

    Scoped query

    Every tenant table is filtered by organisation id through one shared helper.

  5. 05

    Response

    Another organisation’s record returns 404, so its existence is never confirmed.

One scoping path
Every tenant table carries an organisation id, and queries go through a shared helper that applies the organisation filter. A query without it fails review instead of leaking silently.
Organisation from credentials only
The organisation comes from the session or API key. Request bodies and query strings cannot select a tenant, and switching organisation re-checks membership on the server.
404, not 403
A request for another organisation’s record returns “not found”, so the API never confirms that the record exists elsewhere.
Inbound events matched by configuration
Provider webhooks are routed to a tenant by the configured account — for WhatsApp, the phone number id — never by identifiers inside the payload.
Tenant scoping helper
# backend/app/db/tenant.py (simplified excerpt)
def scoped(db, model, ctx):
    """select(Model) restricted to the caller's organization."""
    return select(model).where(model.organization_id == ctx.organization_id)

def get_scoped_or_404(db, model, id, ctx):
    """Fetch by id inside the caller's organization, or raise NotFound."""
    stmt = scoped(db, model, ctx).where(model.id == id)
    ...

02

Roles & permissions

Five roles map to 29 granular permissions, checked by the API on every endpoint. API keys carry scopes drawn from the same permissions and can never exceed the access of the person who created them.

Super Adminsuper_admin
RevenueOS platform operations. Cannot be granted from inside a customer organisation.
Data scopePlatform
Organization Adminorg_admin
Owners and administrators of a customer workspace.
Data scopeAll organisation data
Sales Managersales_manager
Team leads who run pipeline, agents, campaigns and workflows.
Data scopeAll organisation data
Sales Representativesales_rep
Reps working their own pipeline and conversations.
Data scopeLeads assigned to them, plus unassigned leads
Viewerviewer
Leadership, finance or auditors who need visibility without edit rights.
Data scopeRead-only across the organisation; no call recordings
Capabilities by role
CapabilitySuper AdminOrg AdminManagerRepViewer
View leadsYesYesYesOwnRead
Create and edit leads, notes and follow-upsYesYesYesOwnNo
Delete, assign, import and export leadsYesYesYesNoNo
Reply in conversations and hand overYesYesYesYesNo
Book and update appointmentsYesYesYesYesNo
Build voice agents, campaigns and workflowsYesYesYesReadRead
Manage WhatsApp templates and auto-repliesYesYesYesNoNo
Listen to call recordingsYesYesYesNoNo
View analyticsYesYesYesYesYes
Manage teamsYesYesYesNoNo
Connect integrations and manage credentialsYesYesReadReadRead
Invite members and change rolesYesYesNoNoNo
Create and revoke API keysYesYesNoNoNo
View the audit logYesYesNoNoYes
View billing and usageYesYesYesNoYes
Platform administrationYesNoNoNoNo

Own = leads assigned to the rep, plus unassigned leads. Read = can view, cannot change. Enforced by the API on every request; the interface hides what a role cannot do.

03

Sessions & authentication

Sign-in is built on opaque, server-side sessions. Nothing sensitive lives in the browser beyond a cookie that page scripts cannot read.

Password storage
Passwords are hashed with Argon2, a memory-hard algorithm, and re-hashed automatically when parameters are strengthened. They are never stored or logged in plain text.
Opaque session cookies
A random session token in an httpOnly, SameSite=Lax cookie, marked Secure in production. The database stores only its SHA-256 hash.
Expiry and revocation
Sessions expire after 12 hours and are revoked on sign-out. Signing in again from the same browser revokes the previous session.
CSRF protection
Every state-changing request authenticated by cookie must echo a separate CSRF token (double-submit), so another site cannot act on a user’s behalf.
Brute-force limits
Sign-in is limited to 10 attempts a minute per account and IP, and 30 a minute per IP. Failed sign-ins are written to the audit log.
Scoped API keys
Keys use a ros_live_ prefix, are shown once, stored as hashes and revocable. They cannot hold member, billing, integration, organisation or key-management scopes.
Security headers
API responses send HSTS in production, deny framing, disable MIME sniffing and use a strict referrer policy.
Single sign-on
Not available today. If SAML or OIDC sign-in is a requirement, tell us during evaluation.

04

Encryption & secrets

Credentials for WhatsApp, LiveKit, OpenAI, Google and your webhooks are the most sensitive data RevenueOS holds. They are encrypted before they reach the database and never sent back in full.

Provider credentials and webhook signing secrets
Encrypted at rest with Fernet (AES-128-CBC with HMAC-SHA256). Keys come from the environment and rotate without downtime: the newest key encrypts, older keys still decrypt. Production refuses to store secrets without a configured key.
Credentials in the API and interface
Write-only. Responses show the last four characters, never the value.
Passwords
Argon2 hashes.
Session tokens and API keys
Stored as SHA-256 hashes. API keys are displayed once; session tokens live only in the httpOnly cookie.
Call recordings
Played through signed links that expire after five minutes and are bound to the call, the organisation and the recording. Requires recording permission and recorded consent.
Data in transit
HTTPS, with HSTS in production. The browser calls the API on the same origin and provider calls are made server-side, so no keys ship in the web bundle.
Application logs
Structured JSON with emails and phone numbers masked, and fields such as password, token, secret and authorization removed.

Disk-level encryption of databases and backups is a property of the hosting environment. We confirm it, with the provider and region, for your deployment in the security overview.

05

Audit logs

Important changes are written in the same database transaction as the change itself, with the actor, IP address and a redacted record of what changed.

What is recorded
Sign-ins and failed sign-ins, organisation switches including denied ones, member invitations and role changes, API keys, integration changes and tests, lead edits, deletions, assignments and exports, and conversation handovers.
What each entry holds
Actor, action, entity, IP address, user agent and changed fields with sensitive values redacted. Stored in UTC; shown in IST or the viewer’s own time zone.
Who can read it
Organisation Admins and Viewers. Entries filter by action — including prefixes such as lead.* — and by entity type.
Settings · Audit log
Illustrative
Audit logToday · times in IST
Illustrative audit log entries
TimeActorActionDetailsIP
14:32Priya Nair

Integration tested

integration.tested

WhatsApp Cloud API · connected49.36.x.x
14:30Priya Nair

Integration configured

integration.configured

WhatsApp Cloud API49.36.x.x
13:05Arjun Mehta

Leads exported

leads.exported

Qualified leads · CSV103.21.x.x
12:41Karan Rao

Organization switch denied

auth.organization_switch_denied

Not a member of the requested organization157.48.x.x
11:18Priya Nair

Member role changed

member.role_changed

Sneha Iyer · Sales Rep → Sales Manager49.36.x.x
10:02Arjun Mehta

API key created

api_key.created

“Warehouse sync” · leads:read103.21.x.x
09:47Unknown

Sign-in failed

auth.login_failed

s•••@example.com185.220.x.x

07

Webhook verification

Every webhook that crosses the boundary is authenticated, in both directions.

Inbound · WhatsApp

Meta signature verified

Each delivery’s X-Hub-Signature-256 HMAC is checked against your app secret before processing. Subscription handshakes require your verify token.

Inbound · LiveKit

Signed, fresh and untampered

Webhook tokens are verified for HS256 signature, expiry, issuer and a SHA-256 hash of the exact body, so altered or expired events are rejected.

Outbound · your systems

HMAC-signed deliveries

Signed over the timestamp and raw body. HTTPS is required in production, redirects are not followed, and private or loopback destinations are refused.

Website forms post to an unguessable, rotatable token with per-IP and per-form rate limits and a 64 KB body limit. Implementation details and a verification sample are in the webhooks reference.

08

Infrastructure & operations

A conventional, inspectable stack, chosen so your security team can reason about it quickly.

Application
Python FastAPI services with typed request validation on every endpoint, and a Next.js web app that holds no secrets.
Data stores
PostgreSQL 16 for application data and Redis for rate limiting and job queues. Timestamps are stored in UTC.
Background work
Workers run workflows, provider calls and retries with per-step logs and bounded retry policies.
Abuse controls
Sign-in, sign-up, public forms, demo requests and CSV imports are rate limited. Imports are capped at 5 MB with header validation.
Observability
Structured JSON logs with request ids, PII masking and secret redaction. Errors return one consistent envelope without internal details.
Deployment
Containerised and region-agnostic, so production can run in an Indian cloud region close to your teams and customers.
Confirmed per deployment
Hosting provider and region, backup schedule, recovery objectives and disk encryption are documented for your environment in the security overview.
Certifications
None claimed. We have not completed third-party audits such as SOC 2 or ISO 27001; this page describes controls as built.

09

Responsible AI

AI does real work in RevenueOS — qualifying leads, summarising calls, answering enquiries. These are the boundaries it works within.

  • Explainable scoring

    Scores come from your weighted rules, not an opaque model. Every score shows points per criterion, the information still missing and the recommended next action.

  • Evidence for extracted signals

    When AI reads a conversation for budget, timeline or intent, each signal carries the verbatim quote it came from and is shown as AI-extracted — never silently written to the lead.

  • Human handover, always

    Any conversation can be handed to a person. Voice agents follow your escalation rules and transfer numbers, and handover rate is reported in analytics.

  • No autonomous claims

    Agents act only within the instructions, knowledge and working hours you configure, and contact only leads with consent. We publish no accuracy figures we have not measured on your data.

  • Your provider, your key

    AI features call OpenAI with the key your organisation connects in Integrations; rule-based scoring works without it. RevenueOS does not train models on your data.

Lead · Qualification
Illustrative

Each criterion shows its points and the evidence behind them.

10

Policies & disclosure

The documents behind this page, and how to reach us about a security concern.

Privacy policy

What we collect, why, who processes it and your rights under India’s DPDP Act. Draft, subject to legal review.

Read the privacy policy

Terms of service

Responsibilities on both sides, including consent and messaging obligations. Draft, subject to legal review.

Read the terms

Report a vulnerability

Found a security issue? Contact us through the form and mention “security”. Please leave exploit details out of the first message; we will reply with a secure channel.

Contact the team

Running a vendor security review?

We will walk your security team through the architecture, share our security overview for your deployment, and answer your questionnaire against the controls on this page.