Skip to content

Security

This page describes the controls that exist in the product, in enough detail to check them against your own requirements. It states limits as plainly as it states protections.

Tenancy#

  • Every record belongs to exactly one workspace.
  • Every request from a signed-in person names a workspace, and the server checks that the person is an active member of it before anything is read. The check is made on the server for each call; the page a person is on grants nothing.
  • A record fetched by id must belong to the caller’s workspace. One that does not is reported exactly as one that does not exist.
  • A workspace that does not exist and a workspace the caller is not a member of give the same answer, so workspace names cannot be discovered by trying them.
  • An API key’s workspace is taken from the key itself, never from anything in the request.
  • A suspended workspace’s members are refused, and its API keys stop working.

Sign-in and sessions#

AccountsCreated only by accepting an invitation. There is no self-service registration.
InvitationsA single-use link, valid for 7 days, stored as a hash. Issuing a new one for the same person and workspace retires the old one.
PasswordsAt least 12 characters. A new person sets one when accepting an invitation. A person who already has an account must enter their existing password to join another workspace. A link issued for someone who is already a member of that workspace sets a new password: that is how a password is reset.
SessionsA cookie that lasts 12 hours and belongs to one host. Signing in to one workspace signs a person in to no other workspace, and not to the admin console.
Disabled accountsA disabled account, or one with no active membership, cannot start a session.

Sign-in is by email and password. The platform does not offer a second factor of its own, or single sign-on, today.

Roles and permissions#

A member holds one role in each workspace they belong to. Each action checks a named permission, and the role table shows which roles hold which. Three separations are deliberate:

  • Clinical sign-off (clinical.decide) belongs to Owners, Administrators and Radiologists. A Coordinator can see requisitions and cannot approve one.
  • Developers manage API keys and webhooks and see operational status. They cannot see requisitions, and cannot create a key that returns patient identifiers.
  • Viewers see operational status only. The audit trail is read by Owners and Administrators.

The platform administrator#

The platform administrator (the “super admin”) runs the platform. That role is separate from every workspace role and is not a member of any workspace.

CanCannot
  • Create, suspend and configure workspaces and their modules
  • See each workspace’s members, hospitals and connections, with their status and last error
  • See job volumes, queue health and agent status
  • Register and revoke platform-hosted agents
  • See the storage provider and the list of backups
  • Read the audit trail
  • Invite a workspace’s Owner or Administrator, or another platform administrator
  • Open a workspace: the membership check refuses a non-member, whatever their platform role
  • Read a requisition, a patient, a suggestion, a decision or a study: no administration function returns one
  • Open an image
  • Read a stored credential, an API key, an agent token or a webhook secret
  • Approve or submit a protocol
  • Invite anyone into a reading role, or add themselves to a workspace
  • Issue a link that changes an existing person’s password

Sealed credentials#

The credentials a workspace enters for a hospital system, and the signing secrets of its webhooks, are sealed before they are stored.

  • Each value is encrypted with AES-256-GCM under a key held in the deployment’s server-side environment, not in the database. Each sealing uses a fresh random nonce, and the stored form carries a key version.
  • No query returns a credential. The workspace shows which fields are filled in, never their values, and a credential cannot be read back once entered: it can only be replaced or removed.
  • A credential is unsealed in one place: when a job runs for the connection that owns it, or when an image is fetched for a signed-in reader. It is used for that call and not kept.
  • When a job runs in an agent, the credentials are sent to that agent for the job, over TLS. Each release is recorded in the workspace’s audit trail.
  • Entering, replacing and removing credentials needs credentials.manage and is audited by field name, never by value.

The sealing key can be replaced without re-entering anything: the operator rotates it, every stored value is sealed again under the new key, and the old key is then removed. Each rotation is in the audit trail.

Limits: the key is not included in a database export, so the sealed values in an export taken before a rotation cannot be opened with the new key. Losing the key means every stored credential and webhook secret has to be entered again.

Other secrets

SecretStored asShown
API keySHA-256 hash, plus a short prefix for recognitionOnce, at creation
Agent tokenSHA-256 hash, plus a short prefixOnce, at registration
Invitation linkSHA-256 hashOnce, to the person who issued it
Webhook signing secretSealed, as aboveOnce, at creation
PasswordHashed by the sign-in serviceNever

Outbound requests#

The platform makes requests to addresses a workspace supplies: connector endpoints, DICOMweb archives and webhook receivers. Each is checked first.

  • Only https, only a public host name. IP addresses, localhost, and .local or .internal names are refused, as is an address with credentials in it.
  • Webhook deliveries do not follow redirects and time out after 10 seconds.
  • A system that is reachable only from a private network is not reached from the platform at all. That is what an agent inside that network is for.

API and webhooks#

  • The REST API is read-only. A key lists its scopes explicitly, and patient-identifying fields are returned only to a key with phi:read, which only an Owner or Administrator can create.
  • Events and webhook payloads carry identifiers and states, never patient data.
  • Each key is limited to 120 requests a minute.
  • Every webhook delivery is signed, so a receiver can tell it came from the platform and was not altered.

Clinical safeguards#

  • A suggestion is a suggestion. Nothing is written to a hospital system until a person with clinical.decide approves it.
  • Only what the hospital offers. A suggestion can only name a protocol on that hospital’s own list. An answer naming anything else is discarded.
  • Confirmed by read-back. A requisition is marked submitted only after the protocol was written and then read back from the source system as saved. Otherwise it is shown as failed and returned to a person.
  • Learning is proposed, not applied. When radiologists keep choosing the same protocol for the same kind of request, the platform proposes a rule. It changes nothing until a person with protocols.manage approves it, and a pattern seen from one radiologist is recorded as that radiologist’s preference, not as a hospital requirement.
  • Hospital authorisation. A connection to a live hospital system cannot be activated until that hospital’s authorisation for the access method is on record.
  • Synthetic data is labelled. The sandbox connectors carry invented patients only, and records from them are marked as synthetic in the workspace and in the API.

Model assistance

A language model can assist with suggestions. It runs only when the operator has configured one and the workspace has left the setting on; a workspace can switch it off in its settings. A hospital rule that names a protocol is always followed without it.

Sent to the modelNever sent
Modality, study, body region, priority, age in years, sex, patient class; the indication and clinical information with long runs of digits, email addresses and phone numbers removed; the hospital's protocol list and rules; similar earlier decisions without the patientName, MRN, date of birth, accession number, order number

The indication and clinical information are free text written by a referrer. The scrubbing removes numbers and contact details; it cannot promise that a sentence contains nothing identifying. That is why the setting belongs to the workspace.

Audit trail#

Actions that matter are written to an audit trail, readable in the workspace under Activity by a member with audit.read: Owners and Administrators.

Each entry records
WhoA person, an agent, an API key or the system.
WhatA named action, such as credentials.stored, api_key.created, study.opened or backup.downloaded.
On whatThe kind of record and its id.
Weightinfo, notice or security.
DetailOperational values only: a status, a field name, a count. Never a patient identifier and never a secret.

Among the things recorded: sign-in invitations and password resets, changes of role, credentials stored or removed, credentials released to an agent, API keys and webhooks created or revoked, connections activated or paused, protocol decisions, studies opened and marked, snapshots taken and downloaded, retention runs, and changes an administrator makes to a workspace.

Data handling#

  • Images are streamed from the hospital’s archive for a signed-in reader and are not stored by the platform. See Imaging.
  • Retention is set per workspace, from 30 to 3,650 days. See Storage and backups for what it removes and what it keeps.
  • Job payloads, logs and error messages carry ids, kinds and states. Driver errors are written for operators and must not contain patient details.
  • Development and production are separate deployments with separate keys, credentials and sign-ins. Development holds synthetic data only.

In the browser#

HeaderEffect
Strict-Transport-SecurityBrowsers use HTTPS only, for two years, including sub-domains.
Content-Security-PolicyPages cannot be framed by another site; forms post only to the same origin; plug-in content is blocked.
X-Frame-Options: DENYThe same framing rule, for older browsers.
X-Content-Type-Options: nosniffResponses are not reinterpreted as another type.
Referrer-Policy: same-originAddresses are not sent to other sites.
Permissions-PolicyCamera, microphone and location are off. Window management is allowed for the site itself, for viewer placement.

Workspace and admin pages are marked not to be indexed by search engines.

Reporting a problem#

If you believe you have found a security problem, tell your Epic.direct contact directly and do not include patient data in the report. If a key, token or credential may have been exposed, revoke or replace it first: revocation takes effect on the next request.