Security
This page says what Meadow does with your keys and your data in the hosted beta. It states only what the code and the deployment do today. Meadow holds no security certification, and no outside party has tested the beta.
Your provider keys
- Meadow encrypts a provider key with AES-256-GCM before it writes it to the database. The database holds only ciphertext.
- Each ciphertext is bound to your account and the provider name. A ciphertext copied into another account’s row does not decrypt.
- The encryption keys live in Google Secret Manager, apart from the database. The Meadow service reads them when it starts. Administrators of Meadow’s cloud project can also read them.
- The encryption key ring supports rotation: new values are encrypted with the newest key, and older keys stay available to decrypt older values.
- The API never returns a stored credential. It returns the last four characters of the key or key ID so you can tell which one is stored.
- Meadow decrypts a provider key in memory only to call that provider for you, or to check the key when you store it. A Modal token can stay in a server’s memory for up to 5 minutes after you replace or delete it.
- When you store a key, Meadow sends it to that provider’s API once to check it. It is sent to no one else.
- Deleting a provider key removes the ciphertext from the database. It does not revoke the key at the provider.
If Meadow’s encryption keys were ever exposed, rotating them would not be enough. You would need to replace your provider keys at the providers.
Your Meadow API keys
- A Meadow API key is
mdw_followed by 32 random bytes. - Meadow stores a SHA-256 hash of the key, never the key. The secret is shown once, when the key is created.
- Webhook secrets are encrypted in the same way as provider keys and shown once.
- More than 20 failed authentications a minute from one address are throttled.
What passes through and what is stored
Because Dockerfile text, labels, and names are stored as plain text, do not put secrets in them. Pass secrets to a sandbox in env.
Meadow reads a few fields of a model request to route it: model, models, provider, stream, and the output token limit. It removes its own routing fields before forwarding and writes the provider’s model ID in model. On a streamed Chat Completions call it sets stream_options.include_usage to true, so that the provider reports tokens. On a call that goes to OpenRouter with a key that has allowed_models, it removes OpenRouter’s preset and route fields. It does not read or change message content.
Your data also goes to the providers you route to, under your own agreement with each provider. Sandboxes, images, and build context copies live in your Daytona or Modal account. Traffic to a sandbox port or over SSH goes straight from you to the provider and does not pass through Meadow.
Retention
These periods are set for the whole hosted service. There is no setting per account yet.
What Meadow logs
Meadow writes one log line per request with: a request ID, the HTTP method, the route pattern (such as GET /v1/sandboxes/{sandbox_id}), the status, the duration, and the account, project, and key IDs. Other log lines carry IDs of the objects involved, provider names, and the kind of error.
Meadow’s own logs do not contain request or response bodies, headers, prompts, command text, file contents, Meadow API keys, or provider keys. Logs are kept for 30 days.
The cloud platform in front of Meadow keeps its own access log, which Meadow does not control. Treat URLs as logged: never put a secret in a path or a query string.
Tenant isolation
- Every request is tied to the account of its key. Every database query for your data filters by that account.
- Sandboxes, images, and build contexts are also tied to a project. A key reaches only those of its own project.
- A provider key limited with
project_idscannot be used by other projects. - The
adminscope is account-wide. An admin key in one project can manage every project, key, and provider key in the account. Projects separate workloads. They are not a wall between administrators. - Isolation is enforced by Meadow’s application code. All accounts share one database and one service.
- An ID from another account or project returns 404, the same as an ID that does not exist.
Sandboxes run at Daytona or Modal, in your own provider account. Isolation between sandboxes is the provider’s.
Code in a sandbox can read everything in its environment. That is the env you passed, and variables the provider sets: on Daytona names such as DAYTONA_ORGANIZATION_ID, DAYTONA_SANDBOX_ID, and DAYTONA_REGION_ID, and on Modal names such as MODAL_SANDBOX_ID, MODAL_TASK_ID, and MODAL_REGION. We saw IDs there and no provider key. A Meadow API key you pass in env is readable by any code you run, so pass only a narrow one. See Run untrusted code.
Network
- The hosted beta is reachable over HTTPS only. Calls from Meadow to providers use HTTPS.
- URLs you supply (webhook URLs, an Azure endpoint) must resolve to public addresses. Meadow rejects loopback and private targets, and webhook URLs must use
https. - Webhook deliveries are signed with HMAC-SHA256 and carry a timestamp, so you can verify the sender and reject replays.
- The beta has no IP allowlist, no private networking, and no single sign-on.
What you should do
- Give workloads keys without
admin, withallowed_models, limits, andexpires_atwhere you can. - Store provider keys that are scoped as narrowly as the provider allows, and that you use only for Meadow, so you can revoke one without side effects.
- Rotate keys by creating first and deleting second. See Authentication and Provider keys.
- Verify webhook signatures.
- Keep secrets out of Dockerfiles, build contexts, labels, and URLs.
Status and company security documents
- Service status and incident history: status.usemeadow.ai.
- Polymath Labs, the company that runs Meadow, publishes its security documents at trust.polymathlabs.ai. They describe the company. They are not a certification of Meadow.
Report a vulnerability
Send security reports to the security contact you were given when you joined the beta. Include the steps to reproduce and the time of your test. Please do not test against other customers’ data, and give us time to fix an issue before you disclose it.