Skip to content

Security and privacy

What is protected

Topic What Keystone does
Licence keys Only a hash is kept for lookup (HMAC-SHA256 when OG_KEYSTONE_HASH_SECRET is set). With OG_KEYSTONE_ENC_KEY each new key is also encrypted for recovery; the key itself lives outside the database.
Show-once secrets A licence key, API key token and webhook or connector secret are displayed once, with Cache-Control: no-store. Lists show only the last four characters.
API keys Stored as a hash, compared safely. Scopes read and write. Created and revoked only by an administrator.
Signed answers Licence answers are signed (Ed25519) and bound to the key fingerprint, site, nonce and a 24-hour window. Plugins verify with the embedded public key.
Rate limiting Every public route is limited per client address; repeated unknown keys lock an address out of the public routes.
Activation limit Enforced inside a database transaction with a row lock, so parallel activations cannot exceed it.
Credits Every change is one transaction that locks the balance first; a balance can never go below zero.
Webhooks HMAC-SHA256 signed with a timestamp; https only; private and loopback targets refused; redirects off.
Download links Signed, short-lived (5 minutes; 2 minutes on the portal), naming a release and licence, never a path. Files are confined to the releases folder.
Connectors Signed requests, single-use nonces, 5-minute clock window, optional address allow-list, scopes; a wrong key id and wrong secret look identical.
Errors Unexpected errors are logged on the server and answered with a generic message.
Audit log Every admin action and licence change records the actor. Key material is stripped from payloads.
Outbound calls None except webhooks you configure. No phone-home.

Known limits

  • A webhook host is checked on save and before sending, but the HTTP request resolves it again (DNS rebinding); redirects are off.
  • OG_KEYSTONE_ENC_KEY protects both recoverable keys and webhook secrets.
  • A download link can be reused within its few minutes and is not tied to a site.
  • Failed activation attempts are not yet written to the audit log (denied public requests are, with an OGK- reference).
  • Audit events have no retention period yet.
  • GDPR export and erase tooling is planned. Until it exists, erasing a person's data is a manual database task.

Privacy

Nothing is sent to OG Nexus or anyone else by default. Personal data held: the owner email on a licence, order reference, site URLs of activations, the account email on a membership and the customer email on each credit row. Audit events and webhook bodies can contain a buyer's email. Client IP addresses are used for rate limiting in the object cache or transients and are not stored in tables.

Good practice

  1. Store every secret in a password manager and wp-config.php only; never in chat, email or a ticket.
  2. Back up OG_KEYSTONE_ENC_KEY. Without it recovered keys and encrypted secrets are lost.
  3. Keep the releases folder outside the web root.
  4. Turn on only the portal features you need.
  5. Revoke a connector or API key the moment it may be exposed.

Reporting a problem

Security reports go to the OG Nexus owner through Contact us. A public security address has not been set up yet.