Security
How DSL handles your endpoint, keys and data.
Auth headers for your targets are sealed with KMS, API keys are stored as hashes, and pip and MCP runs send back only numbers and names. This page lists what is built, and says plainly what is not.
Where your secret goes
The part of DSL that stores your key cannot read it.
When you register an endpoint, its auth header is sealed with AWS KMS before anything is written. Only the worker running your test can open it, and only for your workspace and that target.
- 01You
Authorization: Bearer •••• - 02DSL API seals it
kms:Encrypt - 03Database
AQICAHh…ciphertext - 04Worker opens it
kms:Decrypt - 05Stress engine
run token + header - 06Your endpoint
https, public only
Sign-in and workspaces
Your workspace is the wall around your data.
WorkOS sign-in with organizations
People sign in through WorkOS AuthKit. The organization in their access token selects the workspace. DSL checks every token's signature, expiry and issuer, and fails closed when it cannot verify one. The web app holds no WorkOS secret key.
Every query is workspace-scoped
Every read and write is filtered by your workspace. Ask for another workspace's run, notebook or target and you get a 404, never a 403, so you cannot even learn that it exists.
API keys stored as hashes
dsl_ keys are stored only as SHA-256 hashes, so the secret is shown once. A key belongs to one workspace, revokes at once, and records who created it. The CLI and MCP server read it from the environment only.
Credits are an append-only ledger
Nothing is edited in place. A run's debit is written in the same transaction that creates it, guarded by an Idempotency-Key, and a refund is a new entry. A retried request never charges twice.
Your endpoint and your model
DSL only calls where you point it, and never stands in for your model.
Your app calls your model provider with your own key, exactly as it does in production. DSL never proxies your inference. On endpoint runs it never holds your model key.
- Guard at registration. An endpoint URL must be https and resolve to a public address. Private, loopback and cloud metadata addresses are refused.
- A second lock at call time. The worker refuses private, loopback and metadata addresses again before it sends any traffic, so the check does not rest on the API alone.
- pip and MCP send numbers only. Loads, p95 latencies, error percentages, exception class names and component names. Never a question, an answer or the text of an exception.
- Proof that you own the host. Before an endpoint run, DSL looks for your workspace's token in a file at /.well-known/dsl-verify.txt on that exact host, or in a DNS TXT record at _dsl-verify.<host>. It checks right before any load and about every 10 minutes during the run. Remove the proof and the next run will not start; a run in progress stops within about 20 to 30 minutes.
- Load goes only to the checked addresses. DSL sends load only to the addresses it checked for your host, spread across all of them, for the whole run. It follows no redirect: a redirect counts as an error.
- Limits on load. Free and pay-as-you-go workspaces test up to 100 simulated users a run. A Free workspace runs one test at a time and the other plans three, with one run per app and one per host at a time.
To report load from DSL that you did not ask for, write to [YOUR ABUSE CONTACT EMAIL]. We can trace any run to the workspace that started it, and block a host or an address range.
Honest limits
What DSL does not do yet.
The judge checks relevance, not correctness
In endpoint mode, sampled answers are graded for being relevant, coherent and not an error. A fluent answer with a wrong fee still passes: no judge can catch that without your ground truth.
Judging uses a third-party judge provider
Sampled answers are sent to a third-party judge provider for grading. Its data-retention terms are being verified before any real customer data goes through it.
Data handling: [YOUR TEXT: confirm before launch]
Client-driven results are unverified
Numbers from pip and MCP runs come from your machine, so DSL marks them unverified.
No certifications
DSL holds no third-party security certification or compliance attestation today. [YOUR TEXT: plans, if any]
Report a vulnerability
Found something? Tell us first.
Email [YOUR EMAIL]. We will reply within [YOUR TEXT: response time].
- Include the steps to reproduce, the affected URL or endpoint, and what you could reach.
- Test only against your own workspace. Do not access, change or delete other people's data.
- Give us a reasonable time to fix it before you share details publicly.
Status
Built, in progress, planned.
| Control | What it means | Status |
|---|---|---|
| KMS-sealed target headers | Encrypt-only API, Decrypt-only worker, bound to workspace and target, rotation on. | Built |
| SSRF guard, two locks | Public https only at registration; checked again by the worker before the dry run. | Built |
| Scrubbed engine environment | One run token and the target's header, nothing else. | Built |
| Workspace isolation | Every query scoped; other workspaces' ids return 404. | Built |
| Hashed API keys | Keys shown once, stored as SHA-256, scoped to one workspace. | Built |
| WorkOS sign-in | AuthKit with organizations selecting workspaces. The API accepts it; web sign-in works today. | Built |
| Append-only credit ledger | Debit with the run, idempotent; refunds as new entries. | Built |
| Judge provider data terms | Retention terms checked before real customer answers are graded. | In progress |
| Hosted sandbox safety checklist | Built and tested against fakes and switched off. Egress, secrets and limits must pass with real accounts before it is turned on. | In progress |
| Hosted sandbox for customers | Your repo at a pinned commit, outbound traffic limited to hosts you list. | Coming soon |
| Vulnerability disclosure policy | A published policy and contact. [YOUR TEXT] | Planned |