Skip to content

Trust

Everything that leaves a deployment, and the one place that never receives any of it.

A deployment's data stays on infrastructure the business controls. Outside services see it only through accounts the business signs up for itself. MeridFlow never sees it: the licence is verified offline and nothing phones home.

Restated from AiFlow 8.5.0's threat model, checked against its code.

Data flows

Every outbound flow, including the optional ones.

Each row goes to an account you hold, or to an address your own admin typed in. The widget and the dashboard load no outside fonts, scripts or trackers.
Every outbound data flow from an AiFlow deployment
DestinationWhat is sentWhen
Google GeminiLive audio, video and text; transcripts for summaries, classification, memory and evals; knowledge text inside promptsEvery conversation
TwilioCall audio, WhatsApp messages, number lookups, call insights and prices, voicemail recordingsWhen phone or WhatsApp is configured
ResendEmails the agents send, review emails, approval notices and provider alertsWhen email is configured
TelegramMessages to chats that started a conversation with the botWhen a bot token is set
HubSpot or SalesforceContacts, calls and ticketsWhen a CRM is connected
URLs your admin enteredWebhooks, custom tools, MCP servers, single sign-on, imported documentsOnly to addresses an admin typed in
OpenAI or AnthropicOrchestrator promptsOnly for Orchestrators set to those models
SentryError reports, which can include conversation fragmentsOnly when you configure it
Your other deploymentsDelegated tasksOnly to deployments an admin linked
GitHub Container RegistryImage pulls, carrying no deployment dataWhen you upgrade
MeridFlowNothingNever
Conversations, transcripts, summaries, contacts and their memory
Your database, SQLite or Postgres
Knowledge documents
A volume on your host
Secrets for MCP connections and custom tools
Your database, encrypted with a key only you hold
Voicemail audio, only where an agent opts in
Your own Twilio account, with only the link in your database
A backup taken before every upgrade
The same volume, last three kept
Threat model

What could go wrong, and what stops it.

A forged Twilio request places or alters a call
Every Twilio webhook is checked against Twilio’s signature
Someone joins a live call stream
Each stream carries a 60-second signed token bound to that call
Another website embeds your agent
Allowed origins per agent, plus an optional site key
An admin-entered URL reaches your internal network
The host is resolved once, private and cloud metadata addresses are refused, and the request connects to that exact address
A stolen database exposes integration secrets
Those secrets are encrypted at rest
A forged or edited licence
Ed25519 signatures, verified offline against keys built into the image
A stolen admin session
Tokens expire after 8 hours by default, four roles from Owner to Viewer, and every change written to the audit log
An agent takes a risky action unattended
Approval gates on tools, opt-in triggers, and imported agents arrive as drafts
A model outage leaves a caller in silence
The call goes to a person, an opt-in voicemail, or a spoken goodbye
An upgrade corrupts the database
A backup is taken before any migration runs, and one command rolls back to it
Data kept longer than it should be
Retention windows per table, and an Owner-only erasure that reaches Twilio too
What remains

The risks we cannot remove for you.

A threat model that lists no residual risk has not been finished. These are known, and each one is yours to handle or accept.

Your providers process conversation data

Gemini, Twilio and Resend process it under your agreements with them. Sign each one’s data processing terms, and a business associate agreement where health data is involved.

The host is yours to secure

Disk encryption, operating system patches and firewalling belong to the machine it runs on. The install sets up TLS, not the rest.

The secret key is the master key

Whoever holds it can sign admin sessions and decrypt stored secrets. Keep it out of version control, and rotate it if it leaks.

Erasure cannot search free-form payloads

Arbitrary JSON that an outside system posts in is not searched by an erasure request, so scrub it at the source.

Error reports can carry conversation fragments

Leave error reporting off, or point it at an instance you run yourself, where that matters.

Dependency

What happens if Gemini is down.

The caller is told, then handed to your transfer number, offered voicemail if you switched it on, or asked to call back. AiFlow never moves a caller onto a different AI model, because that would mean a different voice and different behaviour than the one you tested. Your team is told at the same time: a dashboard banner, a webhook and an email, in plain language.
Backup and recovery

Recovery you can rehearse.

Retention windows and erasure ship on every plan, including the free one. Recovery is built in the same way, not sold separately.

Backups you schedule

A safe hot copy of the database, the knowledge documents and Orchestrator state, written locally or to any storage you configure. Nothing is sent anywhere you did not choose.

A backup before every upgrade

Taken automatically whenever a new version has a database change, with the last three kept.

Preview, then upgrade, then roll back if needed

An upgrade shows what changes before it runs, and one command restores the pre-upgrade backup.

A restore drill

Restores a backup somewhere disposable, migrates it to the current version and checks it, without touching the live database. A backup nobody has restored is a guess.

Compliance

Who is responsible for what.

Not legal advice. Each regime puts the obligations on whoever runs the deployment, which is you, and on the providers you contract with directly.

GDPR

You are the controller. Google, Twilio, Resend and anything else you connect are your processors, each under an agreement with you.

MeridFlow is not a processor, because it never receives deployment data. No agreement with us is needed for it.

  • Sign a data processing agreement with every provider you use
  • Say in the greeting or widget page that an AI answers, and where your privacy notice is
  • Set retention windows for transcripts, events and messages
  • Answer erasure requests by phone, email or chat id, recorded in the audit log
  • Leave memory, uploads, lookups and voicemail off unless you need them: all are off by default

HIPAA

The hosting is yours, not a vendor’s. Google and Twilio receive protected health information, so each needs a business associate agreement.

MeridFlow is not a business associate, because it never handles protected health information.

  • Sign BAAs with Google and Twilio, and use a HIPAA-eligible Twilio account
  • Keep WhatsApp, Telegram, Twilio lookups and insights off, since no BAA covers them
  • Encrypt the host’s disks and put TLS on every public endpoint
  • Start from the clinic front desk pack, which refuses medical advice, and confirm callers with Twilio Verify
  • Run and record the restore drill at least every quarter
Verification

Check it yourself.

A software bill of materials on every image

Every published AiFlow image carries one. Read it with Docker:

docker buildx imagetools inspect \
  ghcr.io/maelqo/aiflow-backend:8.5.0 \
  --format '{{ json .SBOM }}'

Independent penetration test

Not yet published. When the first independent test is done, its summary goes here, findings and fixes included, rather than a badge with nothing behind it. Until then, the full threat model and compliance guides are available to your security reviewers on request.