DelegusDocsv0.2

Docs/Security

Trust

Security

How Delegus is built and run today. This page describes controls that exist on the development and production environments; it claims no certification, audit or uptime figure until one is held or measured. Production is serving at api.delegus.ai, with self-serve signup at app.delegus.ai.

What the protocol guarantees by construction#

How the service is run#

AreaControl
Signing keysEd25519 keys in AWS KMS, hardware-backed, non-exportable. Receipts and status lists are signed inside KMS; private key material never enters a process. Rotation adds a new key id; keys are never deleted, and an organization policy makes production keys undeletable even by an account administrator.
EvidenceEvery artifact a receipt references is stored by hash in S3 with Object Lock. The production bucket has Object Lock in compliance mode with a seven-year default retention, which cannot be shortened once written. The bucket is private, TLS-only and encrypted with its own rotating key.
Data in transitTLS everywhere: to the API, to the database and to the cache. Certificates are issued by AWS Certificate Manager.
SecretsThe admin token is generated at deploy time, stored in AWS Secrets Manager, and never enters infrastructure state or logs. Database credentials are AWS-managed and rotated. API keys are shown once at issue, stored hashed, and can be rotated and revoked by their holder; a revoked key stops working immediately.
DeploymentImages are built and deployed through GitHub with a short-lived OIDC role scoped to one repository and environment; the role can push an image and roll the service, nothing else. If a new release fails to start or fails its health checks, the service automatically rolls back to the last working version.
EdgeAWS WAF in front of the load balancer with per-IP rate limiting and managed rule groups. The API enforces its own limits per key and per IP and answers 429 with Retry-After.
Audit trailAn organization-wide CloudTrail records every control-plane action. The API keeps an append-only audit log of onboarding, key, agent, Grant and revocation actions with the actor, target and request id, readable by administrators in full and by each company or relying party for its own actions (GET /audit). Every request carries a request id, returned to the caller. Receipts themselves are an immutable, signed record of every authorization decision.
AlertingCloudWatch alarms on error rate, unhealthy targets, task count and datastore health, delivered to the operations mailbox (email today; no paging service yet). Production also runs AWS Config, Security Hub (AWS Foundational Security Best Practices) and GuardDuty; high and critical findings and any tamper attempt on a signing key or the evidence bucket alert the operations topic. Service health for development and production is on a public status page.
IsolationDevelopment and production are separate AWS accounts under one organization with guardrail policies. Development identifiers use did:web:dev.delegus.ai; nothing issued there is a production artifact.

The specification's threat model (§13) is mapped threat by threat to the check, the code path and the test that addresses it in the threat model mapping, which is also the starting document for the penetration test.

Coming soon#

Reporting a vulnerability#

Write to hello@delegus.ai with the subject "Security", saying what you found and how to reproduce it. We acknowledge within two business days. Please test in the free sandbox in your account, not against other customers' data.