Security
Built to touch production, carefully.
DeskMango holds the keys to systems your business depends on. This page describes what's implemented today — and, just as plainly, what isn't.
What's in place
Controls implemented in this release.
Envelope-encrypted credentials
Every stored credential gets its own random 256-bit data key and is encrypted with AES-256-GCM. The data key is wrapped by a separate key-encryption key.
Ciphertext is bound to its workspace and record with associated data, so a value copied into another tenant's row fails to decrypt. Keys are versioned for rotation.
The AI never sees credentials
Secrets are decrypted only inside the executor at the moment of a provider call. The model receives operation results — never tokens, keys or connection secrets.
Provider data is untrusted input
Anything returned by a third-party system is wrapped and treated as data, never as instructions. Only your own messages express intent.
The model can only propose operations from the typed registry, and whether they run is decided by policy code — not by the model.
Tenant isolation
Every query is scoped to a workspace, and membership is checked on every request. Resources in workspaces you don't belong to are indistinguishable from ones that don't exist.
Role-based access
Owner, admin, developer and viewer roles. Admins manage connections, members and API keys; developers run changes within policy; viewers can never run a write.
Approvals by risk
Each operation declares a risk level. High-risk operations always require explicit approval, and automations never run medium or high-risk steps unattended.
Hash-chained audit log
Each workspace's audit events form a SHA-256 hash chain. Inserting, editing or deleting a row breaks every later hash, which verification detects.
CSRF protection
State-changing requests authenticated by a session cookie must come from the DeskMango origin. API clients authenticate with a bearer key instead.
Rate limiting
Per-user and per-key request limits on the API, shared across instances through Redis when it's configured.
Secret redaction
Logs, audit metadata and data sent to the model are scrubbed of sensitive fields and recognisable token formats — API keys, bearer tokens and private keys.
Webhook verification
Inbound provider webhooks are authenticated before they're processed: HMAC signatures for Stripe and Resend, a shared secret for RevenueCat, compared in constant time.
Hashed API keys
Workspace API keys are shown once. Only a SHA-256 hash is stored, keys are scoped to read or write, and they can be revoked at any time.
Execution safety
How a change actually runs.
The language model plans. Code decides whether the plan may run, and a deterministic executor performs it.
- 01
Plan
The model proposes steps using only registered operations. Inputs are validated against each operation's schema.
- 02
Decide
The policy engine compares the highest risk in the plan with your workspace policy and the requester's role.
- 03
Approve
If required, the plan waits for an approver with the right role. Approvals expire rather than linger.
- 04
Execute
The executor calls the provider with an idempotency key. Ambiguous failures are checked against provider state before any retry.
- 05
Verify
Consequential writes are read back and compared with the intended result. Every step lands in the audit chain.
Runs automatically
Lists, lookups and audits. Nothing changes in the provider, so no approval is needed.
Configurable
Additive changes such as creating a product or an issue. Automatic by default; a workspace can require approval.
Approval by policy
Changes to existing configuration. Held for an approver unless the workspace policy allows qualified roles to run them.
Always explicit approval
Customer-facing or destructive actions — refunds, submissions, live paywalls, SQL. Always waits for a named approver.
What we haven't done yet
Honest about the gaps.
We'd rather you hear this from us than discover it in a vendor review. We'll update this list as each item is completed.
Independent penetration test
Not yetDeskMango has not yet been tested by an external security firm. We plan to commission one and publish a summary.
SOC 2 or ISO 27001
Not yetWe don't hold any compliance certification today. We won't claim one until an audit is complete.
SSO and SCIM
Not yetSAML single sign-on and automated provisioning are on the Enterprise roadmap. Sign-in currently uses DeskMango accounts.
Managed KMS by default
Not yetThe vault supports pluggable key providers, but the default key-encryption key is supplied by the deployment's environment rather than a managed KMS.
Browser-assisted execution
Not yetSupervised browser sessions for providers without an API are planned and not enabled in this release.
Report a vulnerability
If you believe you've found a security issue, email us with details and steps to reproduce. Please don't test against other customers' workspaces.
Ready when you are.
Type what you need. DeskMango does the rest, in your browser or on your PC.