Skip to Content
The Ngamia platform API is in preview. Endpoints may change before general availability.
Platform internalsSecurity and data protection

Security and data protection

Secrets

SecretWhereProtection
Workspace model keys, knowledge keysplatform databaseAES-256-GCM with the platform data key; associated data binds each value to its workspace and field
API keys, invite codesplatform databaseSHA-256 hashes only; shown once
KIDA signing keyKIDA secret fileRS256; rotated with overlapping published keys
Service assertion keysplatform and NAK secret filesEd25519; verifiers pin public keys by key ID
KIDA caller credentialplatform secret fileKIDA stores only its SHA-256
Database credentialsper-service secret filesone role and database per service; TLS with certificate verification

Network

  • Only the edge proxy is reachable from the internet. It serves the platform API and KIDA’s public keys, and returns 404 for /internal/* and KIDA’s caller API.
  • Engines run on private networks. KIDA additionally admits callers only from exact, configured peer addresses.
  • File parsing and virus scanning run in a network with no internet access.

Requests

  • Strict JSON bodies (unknown fields rejected), size limits, timeouts.
  • Per-actor rate limits held in PostgreSQL, so they apply across replicas.
  • Security headers on every response; CORS only for configured origins.
  • Every change to a workspace is written to its audit trail.

Logs

Logs are structured JSON with request IDs: method, route, status and duration. They never contain request bodies, credentials, Camel tokens, API keys, invite codes or end-user messages. The end-to-end test checks this.

Model input

Knowledge passages and user messages are passed to the model as data, with an instruction to treat retrieved text as untrusted. Citations are validated against what was actually retrieved.

Reporting a vulnerability

Email security issues to the Ngamia team privately rather than opening a public issue. Include the request_id of any affected request.