Security
Draft. This document has been prepared for review by a solicitor and has not yet been adopted. Nothing on this page is in force until the draft notice is removed.
How Dusk Vault protects the engineering data you put in it. This page describes the hosted service as it is built today; it is updated when the controls change.
Architecture
- The hosted service keeps organisations on a shared instance. Every query is scoped to your organisation, and the end-to-end test suite run before each deployment checks that one organisation cannot reach another's projects, files or records. A self-hosted licence runs on your own servers with its own database and file store.
- The application has no third-party runtime dependencies: Node.js, SQLite and the operating system. Viewer libraries and fonts are served from our own servers, never from a public CDN.
- Every file version is stored under the SHA-256 hash of its content. Uploads are checksummed on the way in and downloads carry the hash so connectors verify what they received.
Access
- Passwords are hashed with scrypt and a per-user salt; sign-in attempts are throttled per address.
- Two-factor sign-in (TOTP) with one-time recovery codes; an organisation can make it mandatory.
- Single sign-on through OpenID Connect; organisations can restrict sign-in to listed networks.
- Nineteen permissions mapped onto roles the organisation controls, plus per-project access lists, folder rules and workflow-state visibility.
- Connector tokens are stored hashed, can be read-only, and can expire.
Transport and browser
- TLS for every connection; cookies are HttpOnly, SameSite and Secure.
- A Content Security Policy limits scripts to our origin, and inline scripts run only by hash. It allows
eval, which the in-browser STEP viewer needs. - Share and supplier links are unguessable tokens that expose only the pinned version or release, and can expire and be revoked.
Integrity and audit
- Versions are immutable; deletion is soft for thirty days; rollback creates a new version rather than rewriting history.
- Files in frozen workflow states cannot be changed; electronic signatures record who approved a release, when, how and from where.
- An append-only audit log of every significant action, exportable as CSV.
Backups and recovery
- Nightly snapshot of the database on the instance, and a nightly copy of the database, every file and the application to a second site operated by a different host, kept thirty days.
- A restore drill runs weekly on the backup site: integrity check, every file present, the application started from the copy.
- An external monitor checks each instance every five minutes and alerts the operators.
Operations
- Structured request logs; alerts on backup failures, low disk and failed export jobs.
- Deployments run the full end-to-end suite first; every change is in version control with continuous integration.
- Staff access customer data only to operate the service.
Reporting a vulnerability
Email support@duskengineering.services with "Security" in the subject. We acknowledge within two working days, keep you informed, and credit researchers who wish to be credited. Please do not access other customers' data or disrupt the service while testing.
Planned
An independent penetration test before general availability, a public status page, and user content served from a separate hostname.