Security and AI safety
This page says where client and customer data goes, how it is protected, and which deterministic checks stop the assistant from saying what it should not. Our Pre-AI Clinical Safety Gate is publicly verifiable as Apache-2.0 open source at github.com/haroon-cpu/helio-safety-gate.
In short
- Messages travel on Meta's official WhatsApp Business Cloud API and Instagram Messaging API with 0% Meta markup.
- Replies are generated by our deterministic Python safety engine paired with compact open-weight models hosted in regional cloud (AWS Mumbai ap-south-1 / UAE me-central-1). Every reply is checked in code before it is sent.
- Customer data is encrypted in transit and at rest with AES-256-GCM encryption at rest; India data resides in Mumbai (
ap-south-1/asia-south1) and UAE production clinic data is architected for in-country UAE residency on AWS Middle East (UAE)me-central-1; and it is deleted on request. - This website sets no cookies and keeps anonymous daily counts: no identifier, IP address or message text. Abuse limits hold a salted hash of the IP address for up to an hour, never the address itself.
Where data goes
| Party | What it receives | Why |
|---|---|---|
| Meta Platforms (WhatsApp Cloud API) | Every message to and from the patient or customer | Official WhatsApp Business Cloud API and Instagram Messaging API, under Meta's own terms |
| Compact Open-Weight Language Models (Regional Cloud — AWS Mumbai ap-south-1 / UAE me-central-1) | Bounded message context needed to write a reply (after Pre-AI safety gate and PII masking) | Deterministic Python safety engine + compact open-weight models hosted in regional cloud |
| Sandbox Live-Demo Compute Host (Mumbai, asia-south1) | Sandboxed live-demo inputs after PII masking (no production patient records) | Hosts the isolated website live-demo sandbox runtime in Mumbai (asia-south1) |
| AWS Mumbai (ap-south-1) | The message data the engine needs to run for India deployments | Runs the HEONIX engine in Mumbai (AWS ap-south-1) |
| AWS Middle East (UAE, me-central-1 — planned for UAE clinics) | UAE clinic patient messages, encrypted booking records, and clinical audit logs | In-country UAE health data residency (AWS me-central-1 with REGION_LOCK=me-central-1, planned for UAE clinics) |
| Managed PostgreSQL database (Mumbai, ap-south-1 / UAE me-central-1 planned) | AES-256-GCM encrypted phone numbers, chats, and atomic booking or enquiry records | Managed PostgreSQL storage and atomic slot locking (Mumbai ap-south-1; UAE me-central-1 planned) |
| Managed Redis (ephemeral state & coexistence locks) | Hashed session identifiers, rate-limit counters, and 15-minute coexistence mute timestamps | Idempotency locks, rate limiting, and 15-minute Human Coexistence Protocol state |
| Cloudflare (Pages & D1 Database) | Every request to this website, Pilot Waitlist form submissions (/api/pilot-request), and anonymous daily counts | Hosts the website, edge security headers, Pilot Waitlist D1 database, and live demo gateway |
| Razorpay (India) & Stripe (UAE) — Planned Post-Pilot Billing | Billing details (post-pilot only; no billing active during the Free Clinical Pilot) | Planned post-pilot billing architecture (Razorpay for India / Stripe for UAE); HEONIX never stores card or bank details |
Nothing is sold. One client's data is never used to serve another client. If this list changes, this page and the privacy policy change with it.
How data is protected
- Encryption (AES-256-GCM encryption at rest). Data is encrypted in transit (TLS 1.3). Customer phone numbers and chats are encrypted at rest with AES-256-GCM and HMAC-SHA256 blinded lookups.
- multi-layer automated startup safety gates. The Bounded Clinical Runtime runs Automated Fail-Closed Startup Gates on startup and refuses to serve traffic if any encryption key, tenant isolation boundary, safety gate, or database lock invariant fails.
- Access. Administrative access to client data is strictly restricted and audited. There is no outsourced third-party support team reading patient chats.
- Separation. Each client's data sits in its own isolated namespace; one client's conversations are never used for another.
- Retention. Conversation data is kept while the service is active, so the assistant can recognise returning customers. Deletion requests are actioned within 30 days, and client and customer data is deleted within 90 days of an account closing, except what tax or statutory clinical retention rules require.
- Breaches. If a breach affects your data, we tell you without delay. For end-customer data the client, as Data Fiduciary, informs the people affected and the Data Protection Board of India (or relevant UAE authority), and we supply what it needs; for data we control, we inform them ourselves, as the DPDP Act requires.
UAE & GCC Healthcare Compliance
For clinics and polyclinics operating in Dubai, Abu Dhabi, and the wider UAE / GCC (/uae), HEONIX Clinical OS is architected around four statutory and clinical guardrails:
- UAE Federal Law No. 2 of 2019 (In-Country Health Data Residency). Production UAE clinic deployments are architected for dedicated in-country hosting on AWS Middle East (UAE)
me-central-1(Dubai / Abu Dhabi) so patient health information generated in the UAE remains inside UAE borders. - DHA AI Policy Alignment. HELIO operates strictly as a non-diagnostic administrative and scheduling assistant with deterministic pre-AI emergency routing (Dial-998 Dubai / UAE Ambulance), mandatory human-in-the-loop coexistence, and full turn-by-turn audit logs.
- 25-Year Clinical Retention Readiness. Structured appointment ledgers and Morning Doctor SOAP Brief logs support configurable archival exports so UAE clinics can meet statutory 25-year medical record retention obligations inside their primary EMR (such as Insta HMS, Clinicea, or Unite EMR).
- Zero Sensitive ID Collection Inside WhatsApp. HELIO never asks patients to type or upload Emirates ID numbers, insurance card images, or diagnostic lab PDFs inside WhatsApp chat. When pre-visit documents are required, the assistant issues a UAE-hosted encrypted web upload link directly to the clinic's storage.
AI safety: checks, not just instructions
Instructions to an AI are requests. These are deterministic checks in code (Bounded Clinical Runtime) that run whether or not the AI follows its instructions:
- 8-language Pre-AI Clinical Safety Gate (Apache-2.0 Open Source). Incoming messages are checked against our 8-language emergency and crisis gate (Tamil, Tanglish, English, Hindi, Malayalam, Telugu, Kannada, and Arabic) in under 5 ms before any AI call, backed by our 100-case Tamil/Tanglish clinical safety benchmark and 3-turn progressive non-keyword escalation. A match tells the patient to call 108 or go to the nearest emergency department, and alerts the clinic (or Tele-MANAS 14416 in India; 998 in UAE). It works even if the AI provider is down. A word list cannot recognise every way an emergency is written, so HELIO is not an emergency service.
- Wrong-business replies are blocked. A reply that claims to be a different business is refused before it is sent.
- False action claims are blocked. A reply that says a booking, a cancellation or an opt-out happened when it did not is refused before it is sent.
- Treatment-safety verdicts are blocked for clinics. When a patient has mentioned a condition, a reply that tells them a procedure or drug is safe, or unsafe, for them is refused, and the question goes to the doctor.
- Up to eleven output guards on every AI reply. Before a reply written by the AI is sent, code checks it for: claiming to be a different business; saying a booking or cancellation happened when it did not; claiming legal or data-protection compliance; saying a time is free when the booking system did not offer it; quoting a price that is not the business's own; and promising a call-back that will not happen. For clinics, five more checks run: calling a procedure or medicine safe or unsafe for a patient; telling a patient they need not be seen; stating a medicine dose or recommending a named medicine; calling a described symptom harmless; and promising insurance cover the clinic never stated. A reply that fails one is replaced before it reaches the customer.
- Double booking is refused by the database. PostgreSQL atomic slot locking ensures two customers can never be booked into the same slot.
- 15-Minute Human Coexistence Protocol & Morning Doctor SOAP Briefs. The clinic or agency can step into any conversation, and the assistant goes quiet. On a number that stays on the WhatsApp Business app (coexistence), a reply from the phone pauses the assistant for that customer for 15 minutes, so two people never answer at once; emergencies are still answered. Before morning rounds, doctors receive a non-diagnostic Morning Doctor SOAP Brief summarizing booked patients.
What we do not claim
- AI is not perfect. The assistant can misunderstand. It is built to hand over to a person when unsure, and the checks above cover the failures that matter most, not every possible mistake.
- Not clinical software or a medical device (CDSCO / DHA Non-Device Scope). HELIO schedules, informs and escalates. It gives no clinical advice, and clinical responsibility stays with the clinic.
- No ban-proof number. Meta enforces its policies on everyone; no provider can promise a number is never restricted.
This website
- No cookies, no advertising or tracking pixels. Anonymous daily counts: no identifier, IP address or message text is recorded. Abuse limits hold a salted hash of the IP address for up to an hour, never the address itself.
- Every file, the fonts included, is served by this website. Reading it sends nothing to a third party.
- Every page sends a Content-Security-Policy that allows only this site's own scripts and styles, and requires Trusted Types, so no text can be turned into HTML or a script on these pages. A new policy runs in report-only mode first, which reports any violation to us, before it is enforced. Pages cannot be shown inside another website's frame.
- Browser isolation on every response: a window this site opens can never reach back into it (Cross-Origin-Opener-Policy), its files are for its own pages (Cross-Origin-Resource-Policy), and camera, microphone, location, payment and every other powerful browser feature are switched off (Permissions-Policy). HTTPS is enforced for two years (HSTS).
- The live demo runs through this website's own gateway: the engine's key never reaches your browser, each demo is sandboxed from real clients, and each is limited to 20 minutes and 20 messages.
- The Pilot Waitlist form (
#bookForm) stores nothing before you press submit. When you submit, it sends your name, clinic or business WhatsApp number, practice type, and region to/api/pilot-requestand stores it in our Cloudflare D1 waitlist database (pilot_requests) solely for onboarding contact (with an email draft fallback toharoon@heonixai.in). You can request deletion at any time by emailingharoon@heonixai.in. - The live demo AI agent sends the business details and messages you type to our engine to generate replies. Card, Aadhaar and PAN numbers are replaced with a label before anything leaves this website. Demo conversations use a placeholder number and are purged periodically.
- The owner's dashboard needs a random key, compares it in constant time, locks out an address after 10 wrong keys in 10 minutes, and forgets the key after 30 minutes without activity.
Report a security issue
Email haroon@heonixai.in with "Security" in the subject line. We acknowledge within 72 hours. Please do not test against a client's live WhatsApp number.
Contact and grievance officer
| Grievance officer | Mohammed Haroon J, Founder |
|---|---|
| Entity | HEONIX AI, a sole proprietorship of Mohammed Haroon J, registered MSME (UDYAM-TN-03-0324205) |
| haroon@heonixai.in | |
| Open-Source Safety Gate | github.com/haroon-cpu/helio-safety-gate (Apache-2.0) |
| Location | Coimbatore, Tamil Nadu, India |
Read this far? Review our open-source safety gate on GitHub or request a free non-commercial clinic pilot.
Request Free Clinic Pilot