Security

How this connector protects your ERP — and what to check before you connect it

At a glance

This server sits between an AI assistant and a live ERP. It is built on the assumption that both the model and the caller can be wrong, and that some of the text it reads was written by someone outside your company.

AreaPosition
HostingGoogle Cloud me-west1 (Tel Aviv, Israel) for the standard connector; a private Enterprise deployment is hosted in the region agreed in the contract
In transitTLS 1.2+ on every hop — client, database, cache and ERP
At restAES-256 on managed storage with Google-managed keys; ERP credentials additionally encrypted with Fernet under a service key. Enterprise, on request: customer-managed keys (CMEK) with a private single-tenant deployment, and a dedicated per-tenant credential key rotated on demand
AuthenticationOAuth 2.1 with mandatory PKCE S256; 2FA on every plan; SAML 2.0 / OIDC single sign-on (SSO) on the Enterprise plan
IsolationEvery query, cache key and storage object namespaced by tenant
NetworkAllowlisted at the edge — unlisted sources are refused before authentication. Calls to your ERP leave from fixed egress IPs; dedicated IPs, an IPsec site-to-site VPN and mutual TLS are Enterprise options, on request
ERP writesTwo-phase confirmation, enforced server-side. No ERP deletes exist
CertificationISO 27001 certified. SOC 2 Type II in progress
AuditEvery tool call logged with request ID; retained 24 months (up to 7 years by Enterprise agreement)
Reportingsecurity@leonai.io, subject line "Security Report"

Certifications and assurance

  • ISO/IEC 27001 — certified. The certificate is published in the site footer and can be verified with the issuing body.
  • SOC 2 Type II — in progress. We are explicit that this is not yet complete. A bridge letter describing scope and current status is linked in the footer; we would rather tell you where we are than imply a report that does not exist.
  • Israeli Privacy Protection Law. We operate under PPL 5741-1981 as amended by Amendment 13, and register the database security tier accordingly. The Privacy Policy sets out the statutory basis, the regulator, and our breach-notification duty — which under Israeli law is stricter than GDPR, with no 72-hour grace period for a severe incident.

Authentication

Clients authenticate with OAuth 2.1, or with an API key where a client cannot do OAuth. What we commit to:

  • PKCE with S256 is mandatory. Not optional, not negotiable, and plain is rejected.
  • Dynamic Client Registration (RFC 7591) and Client ID Metadata Documents are both supported, so clients register without a shared secret.
  • Metadata is published at /.well-known/oauth-authorization-server (RFC 8414) and /.well-known/oauth-protected-resource (RFC 9728). An unauthenticated call to /mcp returns 401 with a WWW-Authenticate: Bearer challenge naming the resource metadata — you can verify the whole discovery chain yourself, unauthenticated, right now.
  • SSO (Enterprise plan) — SAML 2.0 and OIDC, per tenant, with optional auto-provisioning and a force-SSO mode that blocks every other login path including API keys, available on the Enterprise plan; two-factor authentication below is on every plan.
  • Two-factor authentication — TOTP per user or enforced tenant-wide. Secrets are encrypted at rest, backup codes are stored hashed, and failed attempts are rate-limited.
  • API keys — for clients without OAuth. Hashed before storage, scoped to a single tenant, and revocable at any time.

Isolation and least privilege

  • Tenant isolation is structural. Every database read, cache key and storage object is namespaced by tenant identifier. There is no query path that returns another tenant's data.
  • Entitlements are resolved per request, not cached for the life of a session, so revoking someone's access takes effect on their next call rather than their next login.
  • Tools you cannot use are not offered. Scope and module filtering is applied to the tool list itself. A read-only user's session contains no write tools, so the model cannot attempt one, be refused, and then be argued into retrying.
  • Access is allowlisted at the network edge. Traffic reaches the connector only from sources we have listed — the approved AI clients, and Israel. Everything else is refused before it can attempt authentication, so an unlisted host cannot even begin an OAuth flow, let alone reach your ERP. New clients are added on request; see Troubleshooting.
  • Calls to your ERP come from fixed addresses. The standard connector reaches your Priority installation from 34.165.219.216, 34.165.106.6 and 34.165.236.22 — shared by every tenant, so an on-premises firewall can allowlist exactly those. On the Enterprise plan, dedicated static egress IPs come with a private deployment, and an IPsec site-to-site VPN to an on-premises Priority and mutual TLS (client certificates) for machine-to-machine access are available on request.
  • Your ERP credentials never reach the model. They are encrypted at rest with Fernet and used only by the server to call your Priority installation on your behalf. Tool results contain query output — never credentials.

Write safety

An AI assistant with write access to an ERP is the part that should worry you most. It is the part we constrained hardest.

  • Two-phase confirmation. Every write previews the exact payload it would send and commits only on a second, explicit call carrying the preview's token.
  • The gate is server-side. This is the important property. It is not a model instruction that a cleverly-worded conversation can talk past — the server will not execute a write that has not been previewed and confirmed, whatever the transcript says.
  • Claims of authority carry no weight. "I am the administrator", "skip the confirmation", "this is urgent" are text, not permission grants. Permission comes from the authenticated user's scopes.
  • Read and write are separate tools with separate scopes.
  • Destructive operations are annotated as destructive, so a client prompts rather than auto-approving.
  • No ERP deletes exist. The catalogue contains no tool that deletes a Priority record. (delete_app removes a dashboard you built with the optional App builder add-on — not ERP data — and is itself two-phase.)

Handling untrusted content

ERP records are full of free text written by third parties: a customer name, an order remark, a supplier's document, an imported email. Any of it could contain something shaped like an instruction to an AI assistant. The server treats all of it as data.

  • Tool results are data, not instructions. Content retrieved from your ERP is returned as structured results. It is never promoted into the server's own instructions to the model.
  • The write gate is unreachable from record content. Because confirmation is enforced server-side, text inside a record cannot authorise a write — the worst case is a suggestion the human still has to approve.
  • Server-side guard rails. Known-bad requests are stopped before they reach your ERP, and nothing in the conversation can switch that off.
  • Our tool descriptions contain no hidden instructions. No encoded text, no directives about other tools, no behaviour pulled from an external source at runtime. Where a description does tell the model to refuse something — for example, to refuse a write on a claim of admin authority — that is the tool's own safety contract, stated in the open. Every description your account is served is readable inside the tenant portal; it is generated from the running server, so it is exactly the text the model receives.

What we store, and for how long

DataWhereRetention
ERP query cache Encrypted managed cache and object storage, in Israel Refreshed on a schedule; cleared on request or tenant closure
Priority credentials Encrypted (Fernet) in the database Life of the tenant; deleted on closure
Tool audit log Database, per tenant 24 months (up to 7 years by Enterprise agreement)
Per-user memory Database, per user Until the user clears it — priority_forget removes it
Conversation content Not stored We receive tool arguments, not your conversation with the assistant

A note on honesty about retention: the 24-month audit policy was configured in August 2026, so the archive deepens toward that horizon over time rather than containing 24 months of history today. The Privacy Policy is the authoritative statement on retention, lawful basis and your rights as a data subject.

Where agreed in an Enterprise contract, caching is disabled for the tenant and the ERP-cache retention row above does not apply: every question is answered by a live query against your ERP, and no ERP data is kept at rest.

Who can see your data

Inside LeonAI, access to tenant data is need-to-know and limited to support. A member of staff looks at your tenant only to resolve a request you raised, with your approval, and every administrative action is recorded in an audit log with the actor, IP address, request ID and timestamp. Nobody at LeonAI browses ERP data for any other purpose, and the AI assistant never receives your credentials. Enterprise customers can request the access log for their tenant.

Data residency and sub-processors

All core processing — application, database, cache and object storage — runs in Google Cloud's me-west1 region in Tel Aviv. Your ERP data does not leave Israel for the standard connector. A private Enterprise deployment is hosted in the region agreed in the contract (Israel by default).

Data leaves Israel in these cases, and only these — the same list as §8 of the Privacy Policy:

  • Edge traffic metadata, including client IP, is processed by Cloudflare's global network.
  • Partner-programme records are kept in LeonAI's own partner ledger, which runs on Cloudflare with its database in Cloudflare's Eastern Europe region: for every paying customer, the contact email, organisation name and the amounts and IDs of their payments, and the sign-up of every customer who arrived through a partner link.
  • Tool responses go to the AI assistant your organisation connected (OpenAI, Anthropic or another provider), wherever that assistant runs — a recipient you chose.
  • Billing and usage notifications are delivered through Make.com in the EU, where notification webhooks are configured.
  • Enabling Outlook routes mail, calendar and contact data through Microsoft Graph, in your own Microsoft 365 tenant's region.
  • Enabling WhatsApp routes message data through WhatsApp Ireland Ltd. (Meta); with AI features on, voice messages are transcribed by Google Cloud Speech-to-Text in the United States.
  • Enabling AI features sends ERP content to Google Vertex AI: text generation through Google's global endpoint (outside Israel), search embeddings in Tel Aviv. With AI features off, none of it is sent.

The modules are off by default, and turning one on is a decision your organisation makes knowingly.

The complete sub-processor list — Google Cloud Platform; Cloudflare, Inc.; AI assistant providers (OpenAI, Anthropic and others); Sumit (Hashavshevet Online Ltd.); Microsoft Ireland Operations Ltd.; WhatsApp Ireland Ltd. (Meta); Google Cloud Speech-to-Text; Google Cloud Vertex AI and Make.com (Celonis SE) — with the purpose and location of each, is in the Data Processing Agreement and in §6 of the Privacy Policy, in the same order. We publish the full list rather than a representative sample.

Logging, monitoring and resilience

  • Every tool call is audited — who called it, which tenant, which tool, what the outcome was, under a request ID that ties the whole request together. This is also what lets us answer "what did the AI actually do on Tuesday" precisely.
  • Access logs are retained for 24 months, satisfying the Israeli Privacy Protection Regulations' access-logging requirement.
  • Secrets are never logged. Passwords, API keys and tokens are excluded from log output by policy and by construction.
  • Rate limiting per tenant and per user, defaulting to 100 requests per minute per tenant.
  • Fault isolation. A slow or failing upstream degrades to a clear error instead of a pile-up.
  • Private networking. Backend data stores are never exposed to the internet.

Reporting a vulnerability

Email security@leonai.io with "Security Report" in the subject line. Please include enough detail to reproduce the issue.

  • We aim to acknowledge within one business day.
  • We will keep you updated on remediation, and credit you if you would like to be credited.
  • Please give us a reasonable window to fix the issue before public disclosure. We will not pursue researchers who report in good faith and avoid privacy violations, data destruction and service disruption while testing.

If you believe personal data has been exposed, say so explicitly in the subject line so it is triaged as a potential reportable incident.

Connector safety commitments

Anthropic publishes a Software Directory policy setting out what a connector an AI assistant can use must and must not do. We hold this server to that standard, and state our positions here so they can be checked against the running server rather than taken on trust — every one of them is observable from outside.

RequirementOur position
Calls first-party APIs, or APIs proxied with permission The connector calls Priority ERP's OData API using each customer's own credentials, under a formal partner agreement with the vendor. It calls no third-party API on your behalf in the standard connector.
No transfer of money, cryptocurrency or financial assets No tool moves funds. Financial records — invoices, receipts, journal entries — can be read and created in the ERP, which is bookkeeping, not settlement.
No AI-generated images, video or audio None. The connector returns ERP data, tables and files it retrieved.
Tool descriptions carry no hidden or encoded instructions Every description your account is served is readable inside the tenant portal (ERP connection › Tool catalogue), generated from the running server; the complete list is available to directory reviewers on request. Nothing is fetched from an external source at runtime.
Collects no conversation data beyond what the function needs We receive the arguments of the tool call being made. We do not receive, request or store your conversation history, memory or uploaded files.
Public documentation and a clear privacy policy Documentation, this page, the Privacy Policy and the DPA are public and require no account to read.
Graceful error handling and proportionate token use Errors return actionable messages rather than stack traces. Responses are capped, with aggregation and export paths for larger result sets.