All stories

Trust & security

AI Agent Security & Compliance: SOC 2, GDPR

How Melaya secures AI agents: isolation, AES-256-GCM encryption, a hash-chained audit log, backups, retention and independent testing, and an honest view of SOC 2, ISO 27001 and GDPR.

AI agent securitySOC 2ISO 27001GDPRData residencyTenant isolationEncryptionAudit loggingEnterprise AI
Melaya security architecture: isolation, encryption and audit layers

AI Agent Security & Compliance at Melaya

Updated 23 November 2026. This article was rewritten to describe Melaya as it works today. The maintained reference is the Security Overview, together with the Privacy Policy, the Subprocessors list and the Data Processing Agreement. Where this article and those pages differ, those pages apply.

Melaya is a governed platform for AI agents: you design multi-agent workflows, connect them to the services you use, and let agents act on them, in the cloud or on your own computer. Because agents take real actions, our security model rests on a few commitments. Workloads are isolated from the platform and from each other. Consequential actions can wait for a person: in Safe mode, the default, detected sends, posts, payments and deletions wait for approval. Security-relevant events are recorded in a tamper-evident audit log. And we describe our posture honestly: this article says what is in place, what its limits are, and which certifications we do not hold.

Contents: posture at a glance, isolation and access control, encryption and credentials, where data lives and Zero Data Retention, audit logging, backup and disaster recovery, retention and deletion, independent testing and vulnerability management, SOC 2 and ISO 27001, GDPR and your rights, shared responsibility, and how to reach us.

Security posture at a glance

AreaStatusSummary
Workload isolationIn placeEach tool call runs in its own sandbox under an unprivileged identity with a system-call filter; outbound traffic leaves through a filtered egress proxy
Tenant separationIn placeEvery request is scoped to the signed-in user, with PostgreSQL row-level security as a second layer under roles that cannot bypass it
Encryption in transitIn placeTLS 1.2 or higher with HSTS, a Content Security Policy on the website and app
Encryption at restIn placeSensitive values encrypted one by one with AES-256-GCM; production disks encrypted with keys from Alibaba Cloud's key management service
Credential protectionIn placeSaved credentials are sealed and opened only by a separate credential service on its own server, with no public address
Audit loggingIn placeAppend-only audit log protected by a keyed hash chain; network addresses stored only as keyed hashes
BackupsIn placeEncrypted backups every 6 hours, continuous archiving of database changes, an encrypted off-site copy under a deletion lock
Disaster recoveryPartialRestores are tested; a single primary hosting region without automated failover
Independent testingIn placeAn independent penetration test in two rounds and an independent security code review (November 2026); an external managed penetration test is under way
SOC 2 / ISO 27001Not certifiedControls are built with both frameworks in mind; no report, certificate or attestation is held
GDPRIn placeExport, deletion and privacy controls in Settings > Privacy; a published Data Processing Agreement with Standard Contractual Clauses

Isolation, access control & sandboxing

Three nested layers around every run: isolation, encryption and a tamper-evident audit log
Three nested layers around every run: isolation, encryption and a tamper-evident audit log

Code run by users' tools and workflows is isolated from the platform and from other customers. Each tool call runs in its own sandbox under its own unprivileged system identity, with a system-call filter, and each workflow run uses a separate identity for its user or project. Outbound connections from these workloads leave only through a filtered egress proxy that refuses Melaya's internal systems, private networks and cloud metadata addresses; refused attempts are logged and alerted.

Inside the application, every request is scoped to the authenticated user, and PostgreSQL row-level security enforces the separation again in the database, under database roles that cannot bypass it. Members of a project see that project's runs and shared resources according to their role and each pipeline's visibility settings.

Passwords are stored only as bcrypt hashes. Sign-in and other sensitive authentication operations are rate-limited at the network edge and in the application, and sign-in sessions use signed tokens that expire after seven days. Changing or resetting your password ends every session and revokes your device pairings, your connections from outside AI assistants and your API keys. Two-factor authentication with an authenticator app is available to everyone and is required for administrators and before a Melaya API key can be created. Changing your sign-in email asks for your current password, and also for your two-factor code if you have turned it on.

Outside AI assistants connect through Melaya's MCP server with OAuth. Each area of access is a separate permission you approve, and permissions that change data in your connected services require a verified email address.

Approvals. Every run starts from an instruction, schedule, trigger or pipeline that you authorize. In Safe mode, the default, detected consequential actions wait for your approval, and the approval record keeps what the agent proposed and what you decided. Other modes reduce approvals by design, and no detector catches every action, so supervise high-impact work in proportion to its risk.

The local runner is not a sandbox. Pipelines that run on your own computer run with the permissions of the user account that runs the Melaya runner. Run it under a dedicated account if you need isolation.

Encryption and credential protection

Envelope encryption: a sensitive value is encrypted with AES-256-GCM before it is stored, and reading it needs a key the database does not hold
Envelope encryption: a sensitive value is encrypted with AES-256-GCM before it is stored, and reading it needs a key the database does not hold

In transit. Connections use TLS 1.2 or higher, with HSTS. TLS is terminated at Cloudflare and again on our servers. The website and the web app send a Content Security Policy. Internal services talk over the local host, private network links or mutually authenticated TLS.

At rest. Sensitive values, including the credentials you save for other services, access tokens of connected apps, two-factor secrets and API key material, are encrypted one by one with AES-256-GCM, each with its own data key, before they are stored. The disks that hold live production data are encrypted with keys managed by Alibaba Cloud's key management service, and backups are encrypted before they leave the server.

Saved credentials. The credentials you save for other services are sealed and opened only by a separate credential service on its own server, which has no public address. Each request to it must be signed by the application server and name the account, the run and a reason; the service records every request in a hash-chained log, limits the rate of requests and can be cut off at once. The keys that protect stored credentials never leave that server, and the application servers hold no key that can decrypt them. Each run receives only the credentials of the services its workflow declares, and saved credentials are never shown back in plain text. A run or tool that uses a credential necessarily receives it in usable form, so give each credential only the permissions it needs.

Where your data lives, and Zero Data Retention

Melaya's production servers run on Alibaba Cloud in Singapore, in a private network with separate servers for the application, the credential service and release builds. Public traffic reaches the platform only through Cloudflare. Logs are copied to Grafana Cloud in Singapore, and the encrypted off-site backup copy is stored on Cloudflare R2 in Western Europe. The full list of providers, with what each receives and where, is on the Subprocessors page.

ProviderPurposeLocation
Alibaba CloudProduction servers, database, file storage, credential serviceSingapore
CloudflareNetwork edge, access control for internal tools, encrypted off-site backups (R2)Global edge; backups in Western Europe
Grafana LabsOff-server copy of logs and metricsSingapore
StripePayments, subscriptions and invoicesUSA
ZohoAccount, security and newsletter email; our mailboxesUSA

Local runner. With the Melaya runner, in the desktop app or from the command line, your pipelines run on your own computer or server. With a local model such as Ollama or LM Studio, your prompts reach no model provider. Unless Zero Data Retention is on, Melaya still stores the history of these runs (messages, traces, tool results and approvals) as it does for cloud runs.

Zero Data Retention. With Zero Data Retention on, Melaya's servers store no content of your work: no prompts, outputs, files, chats, tool arguments or results, and no memory. They keep only the metadata needed to run, bill and secure the service. Content and history stay on the computer or server that runs your Melaya runner, and the credentials of the services you connect are kept there too. Zero Data Retention limits what Melaya stores; it does not protect content while it passes through Melaya's servers, for example against someone who has taken control of them. See Zero Data Retention for how it works and its trade-offs.

Model providers. When a run uses a cloud model, the provider you choose receives the prompts, context and tool results of each request and processes them under its own terms.

Audit logging & observability

Append-only audit log: each record is chained to the previous one, and an erasure is recorded without altering the chain
Append-only audit log: each record is chained to the previous one, and an erasure is recorded without altering the chain

Security-relevant events, such as sign-ins and two-factor outcomes, credential and API key changes, changes to privacy settings, revocations and administrator actions, are recorded in an append-only audit log protected by a keyed hash chain, so that an edit or a deletion is detectable. Network addresses are stored in it only as keyed hashes. When an account is deleted, a deletion record is added to the log rather than rewriting it.

Each run keeps its messages, traces, tool calls and approvals as run history, for the period described under Retention below. Server and application logs are kept on the production servers for up to one year, and a copy is shipped to a separate log service. Integrity monitoring checks the production server every five minutes for unexpected changes to software, configuration, accounts, network listeners and containers, and security, backup and integrity alerts reach our team off the server by instant message and email.

Platform code reaches production only as reviewed pull requests with signed commits. Releases are built and signed on a separate build server and verified on the production server before they are installed, and an automated security regression suite, covering isolation, network egress, credential handling and replays of known attack paths, must pass before a release is signed.

Backup & disaster recovery

Encrypted backups of the production database and platform data are taken every six hours, and changes to the database are archived continuously, which allows recovery to a point in time. On the production servers, the encrypted backup repository keeps daily backups for 14 days, weekly backups for 8 weeks and monthly backups for 12 months. An encrypted copy is kept off-site on object storage (Cloudflare R2, Western Europe) for 60 days, under an object lock that prevents it from being deleted or overwritten for 30 days, even with the production server's own access.

Backups are used only to restore the service. If a backup is restored, the data of accounts deleted since it was taken is not brought back into the active systems. Restores are tested regularly without touching live data.

Honest limits.

  • Melaya operates from a single primary hosting region, without a standby replica or automated failover.
  • Deleted data can remain in the backups on our servers for up to about 12 months, and in the off-site copy for up to 60 days, until those backups expire.

Retention and deletion

You decide how long your run history and Assistant chats are kept, with History retention in Settings > Privacy: Keep until I delete, 90, 30 or 7 days, or Off (deleted after 24 hours). Project owners set it for a project's runs.

Run history is also limited by your plan:

PlanLongest run history
Sandbox7 days
Outpost14 days
Forge30 days
Bastion90 days
Other plans400 days

The shorter of your setting and your plan's limit applies, so Keep until I delete keeps run history for your plan's limit, and run history older than 14 months is deleted in any case. Assistant chats follow your own setting. Data past its period is deleted by a sweep that runs once a day.

You can delete chats, runs, uploaded files, memory, connected services, imported contacts and connected devices at any time in Settings > Privacy > Delete data, one category or one item at a time. Deleting your account removes your personal data from our active systems, retires your username so that no one else can take it, and unsubscribes your newsletter contact (our email provider keeps a suppression record so that you are not mailed again).

Your subscription, credit and usage records are deleted with your account. Invoices and payment records are kept by Stripe, our payment processor, for as long as tax and accounting law requires, and by Melaya only where that law requires Melaya itself to keep them. The Privacy Policy lists every period.

Independent testing & vulnerability management

In November 2026, independent security specialists carried out a penetration test of the platform in two rounds and an independent security review of its source code. An external, managed penetration test is under way. Findings are prioritized by severity.

Container images are scanned for known vulnerabilities before they are used and every week after, operating-system security updates are installed automatically, and critical vulnerabilities for which a fix is available are remediated first.

Responsible disclosure. Report vulnerabilities to security@melaya.org; our security contact is also published at /.well-known/security.txt. The Security Overview sets out the scope, rules of engagement and safe-harbor commitment for good-faith research. Melaya does not currently run a paid bug bounty.

SOC 2 and ISO 27001

SOC 2 Trust Services categories, shown as readiness and not as an attestation
SOC 2 Trust Services categories, shown as readiness and not as an attestation

Melaya builds its controls with the SOC 2 Trust Services Criteria and ISO/IEC 27001 in mind. Melaya does not hold a SOC 2 report, an ISO/IEC 27001 certificate or any equivalent third-party certification or attestation, and this article makes no such claim. Enterprise customers can ask for our current control summary at security@melaya.org.

Melaya keeps a written incident-response procedure covering detection, containment, evidence preservation, revocation of affected credentials and sessions, recovery and communication, and a written business continuity plan covering hosting outages, the loss of a key service provider and staff availability.

GDPR and your rights

Melaya Labs LLC, based in the Sharjah Media City free zone in the United Arab Emirates, is the controller of the personal data described in the Privacy Policy. For business customers, our Data Processing Agreement forms part of the Terms of Service: Melaya acts as processor for the customer's content, and the agreement incorporates the European Commission Standard Contractual Clauses, the UK Addendum and the Swiss adaptations, with a 72-hour breach-notification commitment and audit rights.

Most rights are built into the product:

  • Access and portability. Settings > Privacy > Export data gives you a machine-readable copy of your personal data in one JSON file. A readme in the file names the size limits of large sections and what is left out, such as secrets, and why.
  • Correction. Edit your profile in Settings.
  • Deletion. Delete data by category or item, or delete your account, as described above.
  • Objection. Turn off Help improve Melaya models, Location metadata or Memory in Settings > Privacy, or unsubscribe from marketing email.
  • Everything else. Write to privacy@melaya.org.

Changes to your privacy settings are recorded in the audit log. If a personal-data breach occurs, we notify the competent authorities within the time limits that apply, such as 72 hours under the GDPR, and we inform affected users without undue delay where the law requires it.

Shared responsibility model

Shared responsibility: Melaya runs isolation, encryption and the audit trail; you choose credential scopes, models and where the runner runs
Shared responsibility: Melaya runs isolation, encryption and the audit trail; you choose credential scopes, models and where the runner runs

Security on Melaya is shared, and the platform is designed so that you can hold your part.

  • Your account. Use a strong, unique password and turn on two-factor authentication.
  • Credential scope. Give each credential you save only the permissions your workflows need, keep test and production credentials apart, and revoke a credential at its provider as soon as you suspect misuse.
  • Model choice. You choose which model providers your runs use. If no external provider is acceptable, pair the runner with a local model.
  • Approvals and autonomy. You choose the approval mode of your agents and the permissions you grant to outside AI assistants.
  • Runner hosts. The computer or server that runs the Melaya runner is yours to secure.

Never put secrets in prompts, screenshots, logs or untrusted content.

Working with our team

Security questions and vulnerability reports: security@melaya.org. Privacy, data protection and DPA requests, including a countersigned copy of the DPA for business customers: privacy@melaya.org. Security questionnaires are answered with what is implemented today, not with a roadmap.

Frequently asked questions

Is Melaya SOC 2 compliant?
Melaya does not hold a SOC 2 report. Its controls are built with the SOC 2 Trust Services Criteria in mind, and enterprise customers can ask for the current control summary at security@melaya.org.
Is Melaya ISO 27001 certified?
No. Melaya does not hold an ISO/IEC 27001 certificate or any equivalent certification. Its controls are built with ISO/IEC 27001 in mind.
Has Melaya been independently tested?
Yes. In November 2026, independent security specialists carried out a penetration test of the platform in two rounds and an independent security review of its source code, and an external, managed penetration test is under way.
How does Melaya isolate tenant data?
Every request is scoped to the signed-in user, and PostgreSQL row-level security enforces the separation again in the database under roles that cannot bypass it. Code run by tools and workflows runs in its own sandbox under an unprivileged identity, with a system-call filter and a filtered egress proxy.
Is my data encrypted?
Yes. Connections use TLS 1.2 or higher with HSTS. Sensitive values such as saved credentials and two-factor secrets are encrypted one by one with AES-256-GCM, production disks are encrypted, and backups are encrypted before they leave the server.
Where is my data stored?
On Melaya's production servers on Alibaba Cloud in Singapore, with an encrypted off-site backup copy in Western Europe. With Zero Data Retention on, the content of your work is stored only on the computer or server that runs your Melaya runner.
How long are backups kept?
Backups on our servers keep daily copies for 14 days, weekly copies for 8 weeks and monthly copies for 12 months, and the encrypted off-site copy is kept for 60 days under a 30-day deletion lock. The data of a deleted account is not restored from them.
Does Melaya log agent actions?
Yes. Each run keeps its messages, traces, tool calls and approvals as run history, for the period your settings and plan allow, and security-relevant events are written to an append-only, hash-chained audit log. The runtime checks behind approvals are described in our anti-hallucination system.

Version 2.0, 2026-11-23.