Security

Security is the architecture

Not a plugin. Dalva is built so the usual ways into a CMS simply do not exist.

Six layers between an attacker and your site

Each layer assumes the one before it can fail. An attack has to beat all of them, not just one.

Every attack stops at its own layer

  1. 01 Strict browser policy stops Injected scripts
  2. 02 Phishing-resistant sign-in stops Stolen passwords
  3. 03 Least-privilege roles stops Over-reaching access
  4. 04 Content as validated data stops Stored XSS
  5. 05 Sandboxed extensions stops Malicious plugin code
  6. 06 Tamper-proof audit log stops Erased traces

legitimate traffic reaches your site attacks break on a layer

  1. Strict browser policy

    A Content Security Policy without inline scripts, HSTS, triple CSRF protection and no framing of the admin panel.

    Blocked: Injected scripts

  2. Phishing-resistant sign-in

    Argon2id hashing, enforced 2FA per role, passkeys, breached-password checks, rate limits and re-authentication for sensitive actions.

    Blocked: Stolen passwords

  3. Least-privilege roles

    Granular permissions for people and scoped keys for AI. Publishing by AI always waits for a human.

    Blocked: Over-reaching access

  4. Content as validated data

    Pages are JSON blocks checked against strict schemas, never stored HTML, so stored XSS is ruled out by design.

    Blocked: Stored XSS

  5. Sandboxed extensions

    Plugins run in WebAssembly with memory and time limits, no file system or database, and network only to declared hosts.

    Blocked: Malicious plugin code

  6. Tamper-proof audit log

    Every sensitive action is recorded, and the database itself blocks edits and deletes of the log.

    Blocked: Erased traces

Verified, not promised

lines of PHP or server-side templates fed by user content
0
findings from an independent security review fixed, each with a regression test
24/24
uses of 'unsafe-inline' or 'unsafe-eval' in the site's Content Security Policy
0
audit log: updates and deletes are blocked by database triggers
Append-only

Also built in, not bolted on

  • SSRF protection

    Imports and webhooks resolve DNS once and refuse private networks, including DNS rebinding tricks.

  • Encrypted secrets

    API tokens of add-ons are encrypted at rest and never shown to AI agents or exported.

  • Signed webhooks

    Every outgoing request carries an HMAC signature your systems can verify.

  • Rate limits everywhere

    Logins, forms, the API and AI keys have limits, shared across instances with Redis.

  • AI kill switch

    One click revokes every AI key, ends all sessions or disables all plugins.

  • Least-privilege database

    The application role cannot alter the schema or rewrite the audit trail.

Remote code execution

Nothing on the server runs what users upload

Remote code execution is how most CMS servers are taken over. Dalva removes the usual paths instead of filtering them.

  • No PHP, no theme file editor and no plugin installs that run code on the server
  • Uploads are re-encoded images; SVG, HTML and scripts are rejected, and media is served with its own sandboxing policy
  • Untrusted input is only ever parsed as JSON and validated against strict schemas, never evaluated or deserialized into code
  • Plugin code runs in QuickJS compiled to WebAssembly, in a separate thread, with no access to Node.js
  • Containers run read-only, as a non-root user, with every Linux capability dropped and no shell in the image

Common attacks, side by side

AttackTypical WordPress siteDalva
Malicious or vulnerable pluginRuns with full access to files and databaseSandboxed, declared permissions, human review per version
Stored XSSHTML in posts and plugin fieldsContent is validated data, strict CSP blocks inline scripts
File upload to RCEPHP files in uploads are a classic entry pointOnly re-encoded images, read-only containers
Credential stuffing2FA only through extra pluginsEnforced 2FA, passkeys, breached-password checks, rate limits
Compromised AI agent or API keyNot coveredScoped keys, approval mode, IP allow-lists, instant revocation
Silent tamperingLogs can be edited or disabledAppend-only audit log enforced by the database

Frequently asked questions

Is Dalva immune to remote code execution?

No system can promise that. Dalva removes the common RCE paths of a CMS (server-side plugins, executable uploads, unsafe deserialization) and contains what is left with a WebAssembly sandbox, read-only containers and least-privilege database access.

How do updates work?

One versioned release and one command, ./bastion update. There are no dozens of plugins to patch separately, and dependencies are monitored automatically.

How do I report a vulnerability?

Please report it privately through the contact page, not in public issues. We confirm reports within 48 hours and share a fix plan within 7 days.

Run a site you do not have to babysit

Install Dalva and get these protections by default, without extra plugins.