Security

SOC 2

Ulexid's SOC 2 posture: how technical safeguards map to AICPA Trust Services Criteria, self-verifiable evidence, operational scope, and current attestation status.

Ulexid implements technical and operational safeguards mapped to the AICPA Trust Services Criteria for Security (CC), Availability (A), and Confidentiality (C).

Warning

Honest attestation posture: SOC 2 is an entity-level operational attestation over time, not a software self-certification. Ulexid is an active-active multi-region identity control plane (simulator tools are off in production unless a non-HIPAA tenant explicitly enables allow_mocks: true), and its technical controls are engineered to support SOC 2–aligned audits. We do not claim a completed third-party annual SOC 2 Type II audit report on this page. Your own SOC 2 scope must cover your application, operations, and executed vendor agreements.

#Current attestation posture

Status
Criteria mappedSecurity (CC), Availability (A), Confidentiality (C). Privacy (P) is governed by customer-controller agreements and ulexid.com/privacy
Attestation statusTechnical safeguards implemented and mapped; a completed third-party annual SOC 2 Type II audit report is not published here
Self-verifiable evidenceHash-chained audit export, append-only audit endpoints, single-reveal secrets, scrypt/KMS cryptography
Security overviewICODE1
Inquiries & agreementsSupport (support@ulexid.com / security@ulexid.com)

#Control plane scope

ComponentIn control plane scope
ulexid.comyes — active-active across us-east-2 and us-west-2
The REST APIyes
The MCP endpoint, all 113 toolsyes
OIDC, SAML, SCIM, webhooks, audit log, deploymentsyes
Cloud services: Lambda, API Gateway HTTP API v2, CloudFront, DynamoDB Global Tables, KMS, SQS, S3, IAM, CloudTrailyes
CI/CD: AWS CodePipeline, CodeBuild, CodeConnectionsyes
Identity data, sessions, tokens, audit eventsyes
The hosted sign-in UI and portalyes
docs.ulexid.comno — separate static site, no customer data, no PII
The ulex CLI and the stdio MCP bridgeno — they run on your machine; local workstation security is yours
Note

docs.ulexid.com is hosted separately from the identity data plane with no access to customer records.

#Criteria and controls

#CC — Security

#CC6.1 Logical access

ControlUlexid's implementationEvidence you can pull yourself
Unique credential identityevery credential has an id; subjects are usr_…GET /tenants/current/api-keys
Credential storagescrypt N=2^17 for API keys and passwords; SHA-256 for tokens; AES-256-GCM envelope encryption for secretsthe API never returns a secret after creation — verify below
Authentication of usersOAuth 2.1 / OIDC with mandatory PKCE S256; SAML 2.0 with signature, Destination, InResponseTo, and replay validationThreat model
MFATOTP, WebAuthn passkeys with signature-counter clone detection, recovery codesGET /users/{id}/mfa-factors
Session management86,400 s absolute, 604,800 s idle defaults, IP/user-agent binding via auth_policy.sessionsession fields and GET /auth-policy
Revocationimmediate for API keys; token-family revocation on refresh token replayPOST /oauth2/revoke then introspect
Least privilegenarrow scoped API keys; admin-only scopes (ulex:admin, mcp:admin, sso:impersonate) rejected at mint time for non-adminsPOST /tenants/current/api-keys with a non-admin key
Boundary protectionIn-app request shield (host allow-list, per-IP token buckets, 2 MiB body cap, strict zod validation), API Gateway stage throttling, AWS Shield Standard — no fixed-cost WAF by designGET /status and live 403/413/429 responses

#CC6.2 External access

ControlImplementation
Restricted edge & origin accessCloudFront HTTPS edge fronting API Gateway HTTP API v2 and the MCP Function URL; unauthorized Host headers are rejected in-app, and per-request bearer authentication + TENANT#<id># data-layer isolation execute inside the handler
Outbound request isolationServerless compute with no customer-accessible internal network; outbound webhook delivery runs under a dedicated IAM worker role
SSRF guardhttps:// only; DNS checked at create and at every delivery; loopback, link-local, RFC 1918, and metadata ranges blocked
Open-redirect guardexact string matching on redirect_uris; an unvalidated redirect_uri produces a rendered error, never a redirect

#CC6.3 Data classification

ControlImplementationEvidence
Classificationidentity, credential, behavioural, accountability, configuration, telemetryData protection
Pseudonymisationsalted SHA-256 for ip_hash, actor_hash, mfa_factor.target_hintGET /audit-events — no email, no IP
Minimisationphone numbers, addresses, photos, birthDate are never storedPOST /scim/v2/Users with a phone number, then GET it back
Retention7-year production audit archive, DynamoDB TTL on ephemeral recordsRetention table

#CC6.6 Boundary protection

ControlImplementation
Encryption in transitTLS 1.3 preferred, 1.2 minimum, HSTS 2 years (preload), no TLS 1.0/1.1 anywhere
Encryption at restRegional AWS KMS customer-managed keys (CMKs) on DynamoDB Global Tables, S3 buckets, and SQS queues, plus AES-256-GCM envelope encryption with per-tenant/resource AAD
Key managementannual CMK rotation enabled; signing-key rotation with configurable overlap grace period; no private key readable by an API key
Secret scanningpre-write scrubber (createRedactingAuditSink / log scrubber) with automated test suite; CI secret-scanning script

#CC6.7 Transmission

ControlImplementation
Integritysigned webhooks (HMAC-SHA256 over raw body, 5-minute window), signed SAML assertions, signed JWTs, ETag on SCIM
ConfidentialityTLS 1.2+ everywhere; webhook payloads are signed, not encrypted — TLS is the confidentiality control
Key hierarchyone kid per purpose (access_token, id_token, saml_response, etc.), with overlap rotation

#CC6.8 Malicious software & supply chain

ControlImplementation
Runtime & dependenciesManaged Node.js 22 arm64 Lambda runtime; pnpm lockfile and automated dependency/secret checks in build pipelines
Threat & exposure detectionAWS GuardDuty enabled in production (hipaa mode); IAM Access Analyzer enabled across accounts
Code review & IaCVersion-controlled AWS CDK templates and cdk-nag policy assertions on every synth

#CC7.2 Monitoring

ControlImplementationEvidence
Event loggingaudit actions across 8 categories covering mutations and authenticationAudit logs
Integrityhash chain ordered by its own links, each entry naming its predecessor; conditional append and no update/delete API or IAM pathGET /audit-events/export + ulex_verify_audit_chain
Time synchronisationAWS-managed time sync; saml_clock_skew surfaces driftconfig.saml.allowed_clock_skew_seconds
Monitoring & alarmsCloudWatch alarms on error rate, p99 latency, DLQ depth, and auth-failure spikesObservability
Retention7-year S3 Object Lock COMPLIANCE archive; CloudTrail data eventstenant retention

#CC8.1 Change management

ControlImplementation
AuthorisationPull-request workflow; automated CodePipeline deployments with manual production approval gate
TestingUnit, contract, OpenAPI drift, documentation honesty, and live end-to-end suites
SeparationTenant-scoped data-layer isolation (TENANT#<id>#) and isolated CI/CD build pipelines
CI/CDAWS CodeConnections and CodePipeline/CodeBuild with IAM role assumption and scoped build secrets

#A — Availability

ControlImplementationEvidence
Active-active multi-regionServerless Lambda and DynamoDB Global Tables replicated across primary (us-east-2) and secondary (us-west-2) regions, with Route 53 latency routingICODE63
Edge failoverCloudFront origin group fails over read paths (GET/HEAD/OPTIONS) to the secondary region on 5xx or timeout; write paths use primary-region coordination with regional endpoints available for client retryICODE69
Backup & recoveryDynamoDB point-in-time recovery (35 days) plus daily Compliance-locked AWS Backup vault snapshotsData protection
MonitoringCloudWatch alarms and live health/status probesGET /status
Incident responsedocumented severity definitions and twelve operational runbooksIncident response

#C — Confidentiality

ControlImplementation
Encryptionat rest (KMS CMKs + AES-256-GCM envelope encryption) and in transit (TLS 1.2+), everywhere
PseudonymisationIPs, actor emails, MFA destinations hashed before audit/log persistence
Minimisationphone, address, photo, birthDate never stored
Retentionenforced by DynamoDB TTL and production Object Lock archives
Deletiontenant deletion hard-deletes identity data and retains the pseudonymised audit log per retention policy
DisclosureHIPAA PHI processing requires an executed BAA (hipaa_enabled: true with hipaa_baa_reference)

#Evidence you can produce yourself

You do not need to wait for a PDF to verify technical controls directly against your tenant:

bash
# 1. The audit log is append-only. Prove it.
curl -sS -G "$BASE/audit-events/export" -H "$ADMIN" -H "Accept: application/x-ndjson" \
  --data-urlencode 'format=ndjson' --data-urlencode 'since=2026-01-01T00:00:00.000Z' \
  --data-urlencode 'until=2026-12-31T23:59:59.000Z' -o audit.ndjson
# Verify with ulex_verify_audit_chain or independently over the NDJSON stream.

# 2. There is no update or delete path. Try one.
curl -sS -X PATCH "$BASE/audit-events/aud_01M3PSVN7R3H0ECRPQVTDF1PY9" -H "$ADMIN"
# → 405 Method Not Allowed

# 3. A secret is never returned after creation or rotation.
curl -sS "$BASE/applications/$APP_ID/secret" -H "$ADMIN" | jq 'has("client_secret")'
# → false (only client_id, auth method, endpoints, and redirect_uris are returned)

# 4. PII is not in the audit log.
curl -sS -G "$BASE/audit-events" -H "$ADMIN" --data-urlencode 'limit=200' \
  | jq '[.. | strings | select(test("@"))] | length'
# → 0

# 5. Simulator affordances are off by default on https://ulexid.com and forbidden on HIPAA tenants.
curl -sS "$BASE/me" -H "$AUTH" | jq '{environment: .tenant.environment, allow_mocks: .tenant.allow_mocks, hipaa_enabled: .tenant.hipaa_enabled}'

#What is out of scope

ExcludedWhyWhat you do instead
Your applicationUlexid does not control your application routes or data storescope your own SOC 2 controls and clinical/data-access logging
The ulex CLI & stdio MCP bridgeruns on your machinemanage endpoint security on developer workstations
docs.ulexid.comseparate static site, no customer datapublic documentation only
Optional simulator calls when allow_mocks: true (or local in-memory mode)testing convenience; disabled by default on https://ulexid.com and forbidden under HIPAAkeep allow_mocks: false for all customer workloads
Privacy (P) criterianot part of a Security/Availability/Confidentiality mappingcovered by customer DPA terms and ICODE82
Availability of a customer's upstream IdPexternal third-party servicehandle upstream_timeout cleanly in your integration

#Security documentation and inquiries

  • Architecture and security overview: ICODE85
  • Platform overview and agreements: ICODE87
  • Security questionnaires, DPA, or BAA requests: Support (support@ulexid.com / security@ulexid.com)

#Reference