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.
Every outbound flow, including the optional ones.
| Destination | What is sent | When |
|---|---|---|
| Google Gemini | Live audio, video and text; transcripts for summaries, classification, memory and evals; knowledge text inside prompts | Every conversation |
| Twilio | Call audio, WhatsApp messages, number lookups, call insights and prices, voicemail recordings | When phone or WhatsApp is configured |
| Resend | Emails the agents send, review emails, approval notices and provider alerts | When email is configured |
| Telegram | Messages to chats that started a conversation with the bot | When a bot token is set |
| HubSpot or Salesforce | Contacts, calls and tickets | When a CRM is connected |
| URLs your admin entered | Webhooks, custom tools, MCP servers, single sign-on, imported documents | Only to addresses an admin typed in |
| OpenAI or Anthropic | Orchestrator prompts | Only for Orchestrators set to those models |
| Sentry | Error reports, which can include conversation fragments | Only when you configure it |
| Your other deployments | Delegated tasks | Only to deployments an admin linked |
| GitHub Container Registry | Image pulls, carrying no deployment data | When you upgrade |
| MeridFlow | Nothing | Never |
- 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
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
The risks we cannot remove for you.
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.
What happens if Gemini is down.
Recovery you can rehearse.
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.
Who is responsible for what.
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
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.