Security model

WP Agent Bridge follows one core principle: define what the platform cannot do before expanding what it can do.

Permission boundaries

  • File read, write, create, and delete are separate permissions.
  • Database read and write are separate permissions.
  • Server commands, deploy, environment, SSL, and domain management are separate capabilities.
  • WordPress administration applies only to WordPress sites.
  • Advanced capabilities are never enabled automatically.

Change safeguards

  • Plan and deterministic plan hash
  • Current-state SHA-256 conflict checks
  • User confirmation for high-impact operations
  • Pre-change backups
  • Atomic writes where supported and post-write verification
  • Rollback for supported operations
  • Audit history and explicit operation results

Universal Site Agent

The agent is confined to the connected site root. Path traversal, absolute-path escapes, and symlink escapes are blocked. Sensitive areas such as .env and .git remain protected by default. Cloud stores only the required credential material and never exposes raw secrets to AI responses.

Agentless SFTP / FTPS

The setup flow connects only to public hosts, blocks private/local networks, verifies the site root, encrypts credentials with AES-GCM, and pins the SFTP host key or FTPS certificate fingerprint after first trust.

Cloud → site boundary

Remote callbacks must stay on the site's validated public HTTPS host. Private, link-local, localhost, and metadata destinations are rejected to prevent SSRF-style internal access.

Terminal and database

Unrestricted shell and generic Universal database mutation remain disabled. Future modules require separate permissions, allowlists, timeouts, backups/transactions, and explicit confirmation. Full file access does not enable them.

Recovery and release security

Recovery is independent from the normal WordPress/API path. Release packages are signed with Ed25519, verified with SHA-256, and guarded by preflight, backups, health checks, and rollback rules.

OAuth and secrets

Only publishable client configuration is exposed to browsers. Service-role credentials, Recovery keys, hosting credentials, and release-signing private keys remain backend-only.

Responsible disclosure

If you find a security issue, email reproducible steps to [email protected]. Never send active passwords, OTPs, API keys, or tokens.