DilliC security questionnaire
Answers to the questions a security review asks, organised by the domains of the Cloud Security Alliance's CAIQ v4. A buyer sending their own spreadsheet - CAIQ, SIG Lite, or their own - should find every answer here.
This document is generated. It is produced from
backend/, and a test fails if the two disagree, so it
cannot drift from the service it describes the way a hand-written
questionnaire does. Regenerate it with npm run assurance.
There is no SOC 2 report. A Type II report is an independent auditor observing controls over a period of months. It cannot be produced by building anything, and no answer below should be read as standing in for one.
DilliC is offered only as one hosted service, and every answer below is what that service does today, read from its own configuration and from Fly.io. Where something is built but not yet switched on, the answer says so and does not count it as done. Every release asks Fly again whether the volume is still encrypted and snapshotted.
| Answer | Means |
|---|---|
| Yes | The service does this. The evidence names where. |
| In part | It does some of it. The answer says which part. |
| No | It does not. |
In summary
| Answer | Questions |
|---|---|
| Yes | 43 |
| In part | 11 |
| No | 4 |
58 questions across 15 domains.
AIS — Application & Interface Security
Is the API authenticated on every endpoint?
Yes. Every router takes a dependency that resolves the caller before the handler runs. The exceptions are deliberate and few: sign-in, sign-up, verification, and the public status page, each of which has to work for somebody with no session.
Evidence: backend/
Are permissions enforced on the server rather than in the interface?
Yes. Every entity-scoped read and write resolves the caller's permissions over that entity on the server. The screens hide what somebody may not do as a courtesy; hiding is never what stops them.
Evidence: backend/
Is input validated?
Yes. Request bodies are declared as typed models and rejected before a handler sees them. Queries against the database are built through the ORM's expression language rather than assembled as strings.
Evidence: backend/
Do you rate-limit the API?
Yes. Every path under /api is counted per credential in a one-minute sliding window. A session or a token is one caller wherever it is used, and an address is the key only for an anonymous request, which has the tightest budget. Reads and writes come out of separate budgets; going over is a 429 with Retry-After, and every answer carries the RateLimit headers so a client can slow down before it is refused. Sign-in is throttled separately and more strictly, per email and per address, before the password is checked, and ten wrong passwords against one account in a quarter of an hour lock it for the rest of it: the lock is written on the account's own record, without the guesser's address, so a restart does not open it, and it is named in the logs. A correct sign-in or an administrator's edit clears it. Sign-up is also bounded per hour. The per-request and per-address counters live in the process. The service runs on one machine, so they hold as stated; across several replicas each would count on its own and the limits would multiply. The lock lives in the database and holds either way.
Evidence: backend/, backend/, backend/, backend/, fly.toml
Are the browser security headers set?
Yes. Every answer carries X-Content-Type-Options: nosniff, X-Frame-Options: DENY, Referrer-Policy: strict-origin-when-cross-origin, Strict-Transport-Security for a year, and a Content-Security-Policy that allows scripts and connections from the app's own origin only, so no page may frame the app and no script from elsewhere may run in it. One middleware that wraps every other sets them, so a refusal written by the rate limiter or the maintenance gate carries them too.
Evidence: backend/, backend/, fly.toml
AAC — Audit & Assurance
Do you have a current SOC 2 Type II report?
No. A Type II report is an independent auditor observing controls operating over a period of months; it cannot be produced by building anything, and nothing DilliC offers should be read as standing in for one. What exists is the evidence an audit would draw on - an audit trail on every consequential change, immutable per-item history, and the answers in this document - and this document offers it as evidence, not as a report.
Has the application had an independent penetration test?
No. No third party has tested the service, so there is no report to share and no remediation history to show. DilliC's own scanning and static analysis, under Threat & Vulnerability Management below, are a different assurance and a weaker one, and are not offered as a substitute.
Can a customer audit their own tenant's activity?
Yes. Every consequential mutation writes an audit row carrying who, what, which entity, and a payload, readable by that account's administrators. It is append-only in practice, with one exception: when somebody outside the organisation asks to be forgotten, their email address and name are replaced in the rows that mention them. Nothing else in the service updates an audit row, and nothing deletes one; who acted, what was done, and when stay as written.
Evidence: backend/, backend/, backend/
BCR — Business Continuity & Operational Resilience
Are backups taken?
In part. Fly snapshots the service's volume - the database and the attachments together - once a day and keeps five days of snapshots, and every release checks that it still does. Nothing is copied off Fly yet. A stream that sends every change to the database to a bucket outside Fly within a second is built but not switched on, so a loss of the platform itself would lose everything since a customer's last export. Every customer can export their whole tenant on demand, and DilliC can restore it.
Evidence: .github/, backend/, backend/
Is there a documented recovery time or recovery point objective?
In part. The operations runbook states a recovery point of one minute and a recovery time of one hour for the database. Both assume the stream to a bucket, which is not on. Until it is, the recovery point is the last daily snapshot, up to a day old, and no restore from one has been rehearsed.
Evidence: DilliC-Operations-Runbook.md, policies/
Can the service announce planned maintenance and hold traffic during it?
Yes. A command puts a sign on the door: every API call is answered 503 with when to come back, both apps show DilliC's own words and the expected end, the status page says the outage is deliberate, and scheduled jobs stand still until it is lifted. The switch is a file or an environment variable, so it does not depend on the database being reachable, and a bypass key printed once lets DilliC check the service before opening it.
Evidence: backend/, backend/
Does scheduled work survive a restart?
Yes. The four scheduled jobs are due on an interval measured from the last run recorded in the database, so a restart neither repeats a daily job nor skips one, and a run the process died in the middle of is closed by the next rather than left open for ever.
Evidence: backend/
CCC — Change Control & Configuration Management
Is there a defined change-management process for the product itself?
In part. Every change lands on main, which refuses a commit until the five CI checks pass: among them the linter, the backend suite, a check that the migrations build exactly what the models describe, and the web and phone builds and tests. A check runs when the change touches what it reads. The release runs only after CI passes on that commit, and the workflow run records which commit went out. One person develops DilliC, so no second person reviews a change before it ships.
Evidence: .github/, .github/
Are database schema changes controlled?
Yes. Schema changes are migrations, and the service refuses to serve against a database whose revision it was not written for rather than starting and quietly misbehaving. A test asserts that running the migrations produces exactly what the models describe.
Evidence: backend/, backend/
Are releases made through a controlled pipeline?
Yes. Every release is a workflow run: it fires only when the linter, the test suite, the schema check, the web and phone builds and the image check have all passed on a commit on the main branch, releases that commit, labels the image with it, and checks the health endpoint after. The branch requires those checks and cannot be force-pushed to or deleted. A release by hand is possible and is recorded in the runbook when it happens.
Evidence: .github/, .github/
Does the product support the customer's own change management?
Yes. It supports ITIL 4 change enablement: change requests with risk and impact; implementation, rollback, and test plans; approval gates with recorded decisions; planned and actual windows in a named timezone; and a post-implementation review. Authorisation is also reconciled against what actually deployed: an environment can be marked as expecting it, and work reaching that environment without an authorised change is recorded and raised as a subscribable event. An administrator may gate an environment instead: a pipeline that asks the deployment check first is then refused while the work is unauthorised, the refusal is on the audit trail, and an arrival that came through anyway is recorded as a bypass. Deployments are reported to this product after the fact, so a gate holds only a pipeline that asks, and the product never refuses an arrival.
Evidence: backend/, backend/, backend/, backend/
Can approvals be required before work moves?
Yes. Transitions can be gated, and a gated move records who decided and what they said rather than only permitting the move.
Evidence: backend/
CEK — Cryptography, Encryption & Key Management
What cryptography does the application itself perform?
Yes. The application uses Argon2id for passwords; HMAC-SHA256 for outbound webhook signatures and for verifying inbound ones; SHA-256 digests for stored API and verification tokens; and established libraries, not hand-written code, to verify signatures on SAML assertions and OIDC tokens.
Evidence: backend/, backend/, backend/
How are application secrets managed?
Yes. Every secret - the session signing key, the payment processor key, the mail credentials - is a Fly secret: Fly holds it encrypted and hands it to the machine as an environment variable, and none is in the repository or the image. The service refuses to start with the session key's development default, or with any key under thirty-two characters. The operations runbook lists every secret, what it protects, how it is rotated and what the rotation costs, with a yearly rotation and the events that bring one forward.
Evidence: fly.toml, backend/, backend/, DilliC-Operations-Runbook.md
DSP — Data Security & Privacy Lifecycle
How is one customer's data kept separate from another's?
Yes. Every tenant-scoped row carries an account id - 176 tables - and reads resolve objects through a helper that filters on the caller's account and answers 404 rather than 403 for anything outside it, so the boundary hides even the existence of what lies beyond it.
Evidence: backend/, backend/
Is customer data encrypted at rest?
Yes. The database and every attachment sit on one Fly.io volume in Ashburn, Virginia, which Fly reports as encrypted. Every release asks Fly again and fails if any of the service's volumes is not. Credentials the service keeps for an organisation - a tracker's token, a single sign-on client secret - are protected by that encryption and are not encrypted a second time inside the database.
Evidence: fly.toml, .github/
Is customer data encrypted in transit?
In part. Every request reaches the service over HTTPS: Fly's proxy terminates TLS and redirects plain HTTP to HTTPS, and the service sends Strict-Transport-Security so a browser does not try plain HTTP again. From the proxy, a request crosses Fly's private network to the machine. Mail leaves over SMTP with STARTTLS. The service refuses to start against a database or a bucket it would reach unencrypted, and refuses to save or post to an outbound webhook whose address is plain http://. Calls to Stripe, Anthropic and the trackers DilliC ships with use HTTPS. What is not yet held to HTTPS is an address an administrator types for the organisation's own tracker, code host or identity provider server.
Evidence: fly.toml, backend/, backend/, backend/
Can a customer export everything you hold for them?
Yes. The export is one archive holding every row of every tenant-scoped table, the bytes of every attachment, and a manifest. It deliberately carries no secrets - password hashes, authenticator seeds, and API tokens are never written into it - because an export is a file that leaves the building.
Evidence: backend/, backend/
Can a customer's tenant be restored from an export?
Yes. DilliC restores an archive as a new account, remapping every foreign key. A customer asks for it rather than pressing a button, because restoring creates an account, which is above any one tenant.
Evidence: backend/, backend/
Do you support data-subject access and erasure requests?
Yes. A person's own record can be assembled and their identity erased. Erasure anonymises rather than deletes: a survey response and an approval decision are facts about the organisation as much as about the person, and destroying them would destroy the audit trail a compliance programme rests on. This answer states that reading of 'delete' rather than leaving it assumed.
Evidence: backend/
Where is customer data located?
Yes. In the United States: Fly.io in Ashburn, Virginia. The status page and every export state it, and a restore refuses an archive from a different region. Anthropic, Stripe and the mail provider, which receive the parts the trust page lists, are in the United States too.
Evidence: fly.toml, backend/, backend/
Is data deleted when a customer leaves?
In part. The Terms of Use promise it. A closed account stays read-only for thirty days so that it can be exported; thirty days after that DilliC deletes its data from the live service, and the data leaves the backups as they roll over, within the ninety days the terms allow. DilliC deletes by hand: the service has no timer that does it.
Evidence: DilliC-Terms-of-Use.md
GRC — Governance, Risk & Compliance
Are there written security policies?
In part. Eight: access control, change management, incident response, vulnerability management, backup and recovery, secure development, vendor management and security training, adopted 24 October 2026 and reviewed every October. They are written for a one-person vendor and say where a second person changes them. What no document can show is that they are followed; that is what an audit observes, and DilliC has had none.
Evidence: policies/
Is there a risk register for the product?
In part. The product ships one for its customers' work. For DilliC itself there is a plan naming what is missing, what is being built and in what order; that plan is a narrower thing and is offered as one.
Evidence: DilliC-Best-in-Class-Plan.md
HRS — Human Resources
Are staff background-checked and security-trained?
In part. One person, the founder, can reach customer data, and has not been background-checked. The security training policy asks everybody with access to read the policies before they reach customer data and to take a refresher every October, each recorded as a dated line in the operations runbook's register; the founder read and adopted them on 24 October 2026.
Evidence: policies/, DilliC-Operations-Runbook.md
IAM — Identity & Access Management
Do you support single sign-on?
Yes. SAML 2.0 and OpenID Connect are supported and configured per account, because two customers have two directories. Assertion and token signatures are verified, not trusted.
Evidence: backend/, backend/
Do you support automated user provisioning and de-provisioning?
Yes. SCIM 2.0 is supported, so the directory that already holds the organisation's people tells DilliC of each joiner and leaver.
Evidence: backend/
Can people outside the organisation reach the product, and what can they reach?
Yes. There are two doors for people, and each is a link rather than an account: the service desk portal and an invitation to take a survey. Neither holds a role, a password, or a seat, so every entity-scoped permission check answers no for them by construction. A requester reaches one request through one token; a public queue's portal also shows the change notices the organisation chose to announce, and never a change's plans or assessment. An invited respondent reaches one survey through one token and sees their own answers back but never a result. Their answers are always recorded against the invitation, even on an anonymous survey, and the page says so before they answer. Both tokens are stored only as a hash, and the letter is the only copy. Inviting outsiders is a paid-plan feature, capped per survey. Two more doors serve machines. An alert source takes posts from a monitor or another service desk, proved by a shared secret or a PagerDuty signature; it can raise and resolve incidents on one queue, and learns only the references of what it raised. A person's calendar feed is read-only and lists the changes and freezes that person may already read; its token is derived from the person and the service's key rather than stored, and it stops working when the person leaves.
Evidence: backend/, backend/, backend/, backend/, backend/
Is multi-factor authentication available, and can it be required?
Yes. DilliC offers two kinds of second factor, and either answers the same challenge: time-based one-time codes with single-use recovery codes, and passkeys (WebAuthn), which are phishing-resistant because the key signs the site's challenge together with the site's address. An account-level policy can require a second factor, and a person made to enrol may choose either kind. An account administrator is required to hold one whatever the account's policy says, and cannot turn it off. The switch that turns enforcement off exists for a developer's machine, and the service refuses to start with it off. The second factor guards only the password door: the directory has already checked anybody who arrives through single sign-on.
Evidence: backend/, backend/, backend/, backend/
How are passwords stored?
Yes. Passwords are hashed with Argon2id at the library's current defaults. Nothing stores or logs a password in the clear, including sign-up, which writes the hash before the address is proved.
Evidence: backend/
Can people change or reset their own password, and how is a reset proved?
Yes. A change needs the current password beside the new one; a session alone is not accepted. A reset is a single-use link sent to the address on file, stored as a hash, good for an hour, replaced by the next request, and throttled per address and per client. Redeeming it sets the password and issues no session, so a second factor the account insists on is still asked for. The endpoint gives the same answer whether or not the address has an account.
Evidence: backend/
Is access role-based, and can it be scoped to part of the organisation?
Yes. Roles carry permission keys and are granted per entity. A membership on a parent entity reaches its children, so access follows the shape of the organisation rather than being granted screen by screen.
Evidence: backend/
Can API credentials be issued, scoped and revoked?
Yes. Personal access tokens act as the person who owns them and may be narrowed to a set of permissions - narrowed, never widened. Only the hash is stored, so the token is shown once and a database read cannot produce a working one. A scoped token is refused account administration outright.
Evidence: backend/, backend/
Are sessions bounded, and can they be ended?
Yes. A session is a signed token in an httpOnly, SameSite=Lax, Secure cookie that expires after a set number of hours, and it names a row on the server that every request checks. Signing out ends the row, so a copy of the cookie anywhere else stops working; changing a password ends every other session the person holds, resetting one from a letter ends them all, and deactivating somebody - by an administrator or by the directory over SCIM - signs them out everywhere. A person can also end every session but the one they are using.
Evidence: backend/, backend/, backend/, fly.toml
IPY — Interoperability & Portability
Is there vendor lock-in?
Yes. This is answered as a positive because there is little lock-in. The whole tenant exports as rows and files in a documented format that the customer's own tools can read, and work exports and imports in other trackers' own column names, status words, and rung words. If DilliC withdraws the service, every customer is told ninety days before, and the export keeps working until the end.
Evidence: backend/, backend/, DilliC-Terms-of-Use.md
Is the API documented?
Yes. The service publishes an OpenAPI 3.1 description, generated from the application, at /openapi.json without a sign-in. The API reference at /documents/api says how to sign in, which version to call, what is promised about change, the limits and the shape of an error, and lists every endpoint; it is generated from the same description, and a test fails when the two disagree.
Evidence: backend/, backend/
Is the API versioned?
Yes. Every path carries a version, /api/v1/..., and a bare /api/... path is rewritten onto the current version rather than redirected, so a client written before versioning keeps working. A path naming a version the service does not have is a 404 rather than a quiet answer from v1. Every response carries X-DilliC-API-Version; a deprecated version also carries Deprecation and Sunset (RFC 8594). The promise, served unauthenticated at /api/meta, is that an endpoint keeps answering for the life of its version, fields keep their names and meanings, and a version gets at least twelve months' notice before it stops. Only v1 exists so far, so the deprecation path has been built but not yet exercised.
Evidence: backend/, backend/
IVS — Infrastructure & Virtualisation Security
How is the service deployed?
Yes. The service runs as one container on one Fly.io machine in Ashburn, Virginia, with its database and attachments on one encrypted volume. The image holds the API and serves the built web application beside it, so there is one origin, a first-party session cookie, and no cross-site cookie policy to depend on. It runs as an unprivileged user and writes only to the volume.
Evidence: Dockerfile, fly.toml
Are environments separated?
In part. There is one environment: the service itself. There is no staging copy. Every change is tested in CI and against seeded databases on a developer's machine, and nothing is tried against the service's data; the demonstration organisation customers can open is seeded data in its own account.
Evidence: .github/
LOG — Logging & Monitoring
Is there an audit log, and what does it record?
Yes. The log holds one row per consequential mutation, recording the account, the actor, the entity, a verb, the target, and a payload. It also records the credential the request came through, so a change made by an AI assistant or a script acting as a person is told from one the person made at a browser. A single function that every mutation already calls writes it. That single path is what keeps an event from going silently missing, since a forgotten emit breaks nothing and fails no test.
Evidence: backend/
Can a customer see the history of a single record?
Yes. Every work item carries its own ordered history of state changes and material edits, separately from the account-wide audit trail, and the estimate at the time is copied onto the row so a later re-estimate cannot rewrite a past chart.
Evidence: backend/
Are logs forwarded to a monitoring system?
No. Not yet. The service writes one JSON object per line - the time, the level, the logger, the sentence, and a named event with its identifiers: every audit event, every refused sign-in, second factor, session or token, every throttle that fired, every failed job. Fly keeps the lines for a short while and shows them on request. The shipper that would forward them to a log platform, and the four alerts it would set, are written but not deployed, so no alert fires. No line carries a name, a network address or anything a person typed, so switching the shipper on will not change the privacy notice.
Is there a health or status endpoint?
Yes. A public status page reports on the API, the database, the schema revision, the file store, and the scheduled jobs, and a health endpoint answers Fly's own checks every thirty seconds. The status page carries no tenant data and no text from a failure, because a job's own words can name a customer's infrastructure.
Evidence: backend/, fly.toml
SEF — Security Incident Management
Is there an incident response process?
In part. The operations runbook says how an incident is noticed - a report under the disclosure policy, a customer, a provider, and the log alerts once they are deployed - how it is judged in the first hour, how it is contained in order with the evidence kept first, who is told and with what letter, and that an after-action report follows within ten working days. There is no rota: one person runs the service.
Evidence: DilliC-Operations-Runbook.md
What would an investigation have to work with?
Yes. This is asked separately because it is a different question from whether a process exists. An investigation would have an account-wide audit trail of every consequential change with actor, entity, and payload; immutable per-item history; a record of every scheduled job's outcome and everything it said; and a status page. That is material, not a process.
Evidence: backend/, backend/, backend/
Would a customer be notified of a breach?
In part. The Terms of Use promise the account's administrators the news within seventy-two hours of confirming that customer data was read, changed or lost without authority, and the operations runbook says how the clock is counted, who is written to and what the letter says.
Evidence: DilliC-Terms-of-Use.md, DilliC-Operations-Runbook.md
STA — Supply Chain & Third Parties
Which third parties does the product send data to?
Yes. The ones the trust page and the privacy notice list: Fly.io, which hosts the service; Stripe, for billing; Anthropic, for the AI features; a mail provider; and Expo, Apple and Google, for phone notifications. Backblaze is listed too and receives nothing yet; it will hold the database's copy once the backup stream is switched on. Beyond those, the service reaches only the trackers a customer connects, which are that customer's own systems.
Evidence: backend/, DilliC-Privacy-Notice.md
Is a software bill of materials produced?
Yes. Every run of the integration workflow builds the service's image and writes a bill of materials for it in SPDX, kept with the run. It lists every operating-system package and every Python library in the image, so a buyer can be handed the file for the release the service runs and point their own scanner at it.
Evidence: .github/
Are sub-processors disclosed and is there notice of change?
Yes. The privacy notice and the trust page list every provider the service sends personal data to, what each receives and why, from one table a test holds both to. Account administrators are told thirty days before a new provider handles personal data.
Evidence: DilliC-Privacy-Notice.md, backend/
TVM — Threat & Vulnerability Management
Are dependencies scanned for known vulnerabilities?
Yes. On every change to what is installed, and every Monday regardless, pip-audit scans the Python environment, npm audit scans the lockfile's production dependencies, and Trivy scans the built image. Both ecosystems are pinned release by release - the Python pins are compiled from a file of floors - so the tree that was scanned is the tree that runs. A high or critical finding fails the run unless an allowlist names it with a reason and a date it runs out; every Python advisory counts, because pip-audit carries no severity. Dependabot opens the upgrades weekly.
Evidence: .github/, scripts/, .github/, .github/, backend/
Is static analysis run?
Yes. CodeQL runs its security-and-quality queries over the Python and the TypeScript on every change to the code and every Monday regardless. The workflow reads the results itself: a security finding fails the run and is annotated on the change unless an allowlist names it with the reason it was read and accepted, quality findings are listed, and the full results are kept as a workflow artifact. A linter runs on every change beside it, and the frontend is type-checked as part of its build.
Evidence: .github/, .github/, .github/
Is there a way to report a vulnerability?
Yes. A disclosure policy says where to send one - security@dillic.app - and what to expect.
Evidence: SECURITY.md
Are uploaded files scanned for malware?
No. They are not. Attachments are stored and served back with a content-type of application/octet-stream and a nosniff header so a browser will not execute one, but nothing inspects the bytes. An uploaded avatar is the exception and is checked, because it is the one file the service shows inline.
This is the same document the hosted service serves from its trust page, read from the release that is running. All documents.