Chat widget security

This page is for whoever reviews the ELIA Assistant chat widget before it goes on a website. It lists exactly what the widget loads, which servers it talks to, what it stores in the visitor's browser, and how you can check all of it yourself.

What gets loaded

The embed code loads one small script, https://app.elia-assistant.com/widget.js. That loader then loads the chat itself, a fixed version of the @elia-assistant/chatui package from cdn.jsdelivr.net.

The chat is pinned twice: by exact version number, and by a Subresource Integrity (SRI) hash. If the file on jsDelivr ever differed from the one we published, by even one byte, the visitor's browser would refuse to run it and the chat would simply not appear. A third party cannot change what runs on your site.

The package is public on npm under the MIT license, so the exact code your visitors run can be downloaded and inspected: https://cdn.jsdelivr.net/npm/@elia-assistant/chatui@<version>/dist/chatui.iife.js, with the version shown in widget.js.

Like any script embedded on a page, the widget runs with the page's privileges. It renders inside its own Shadow DOM and does not read your page's content, forms or cookies, but the guarantee behind that is the pinning above, which is why we pin.

Servers the widget contacts

Server Why
app.elia-assistant.com The widget.js loader
cdn.jsdelivr.net The pinned chat bundle
api.elia-assistant.com Widget settings, live chat with your human agents, file uploads
eliainfra.app.n8n.cloud The AI assistant that answers messages

Nothing else, unless you configure it: a custom avatar image, a FAQ or notifications feed URL, or images inside answers are loaded from wherever they are hosted. Files visitors upload are stored with our hosting provider and linked from there.

Content Security Policy

If your site sends a Content Security Policy, add these sources:

script-src  https://app.elia-assistant.com https://cdn.jsdelivr.net;
connect-src https://api.elia-assistant.com https://eliainfra.app.n8n.cloud;
img-src     https: data:;
style-src   'unsafe-inline';

style-src 'unsafe-inline' is needed because the widget's styles are inserted as a <style> element inside its own Shadow DOM, where they cannot affect your page. If you only allow specific image hosts, add the hosts of your custom avatar and any images your answers contain.

What is stored in the visitor's browser

The widget sets no cookies, and its requests to our servers carry none. It uses browser storage only:

Key Storage Purpose
elia-widget:<widget id> localStorage The widget's settings, so a returning visitor's chat starts without waiting for our server
chatui-settings localStorage Theme, language and widget settings
chatui-chat localStorage The conversation, so the visitor can continue it after reloading the page
chatui-maximized sessionStorage Whether the chat window is maximized

If two widgets run on the same page, the chatui- keys get a suffix per widget. For how this storage fits into your own cookie notice, see our Cookie policy.

No tracking

The widget contains no analytics, advertising or tracking code, and makes no requests other than those listed above. What visitors write in the chat is processed under our Data processing agreement and Privacy policy.

Checking it yourself

  • Open your browser's developer tools on a page with the widget, and look at the Network tab: every request goes to one of the servers listed above.
  • In widget.js, VERSION and INTEGRITY show the exact version and hash being loaded.
  • For full control over updates, install @elia-assistant/chatui from npm and bundle it with your own site. The code then changes only when you upgrade it.

Questions from your security team are welcome at info@elia-assistant.com.