Skip to content
Waffy

Security

Waffy distributes rules to a whole fleet of servers. The security of the product should therefore be judged on verifiable facts. Waffy is not in production yet: this page describes what is built and under validation.

Opaque, hashed, scoped tokens

Each server receives two opaque tokens, one per scope: reading the vendor URL and sending telemetry. A token is shown once at creation, stored hashed (SHA-256) and revoked individually.

Data scrubbed in the agent

On the fast path, the agent sends only what correlation needs: site, IP address, rule ID, action, trigger count and anomaly score. No headers or request bodies are in it.

Host name hashed, salted per tenant

A site's host name is not sent in clear on the fast path: the agent sends an HMAC-SHA256 computed with a salt specific to your tenant. That salt is encrypted at rest and never changes.

Immutable, verified archives

An archive is never rewritten under the same name. Each one carries checksums and an Ed25519 signature verified before publication. A rollback only moves the version pointer. The production signing key is not in place yet.

Guardrails on custom rules

The compiler refuses a bundle whose rule falls outside its tenant's ID range or contains a forbidden directive (exec, SecRuleEngine Off, ctl:ruleEngine=Off, SecRuleScript). It fails rather than publishes.

Isolation between tenants

Every business table carries the tenant identifier, and queries on those models are restricted to the current tenant. Without a tenant context they fail instead of returning everything; only an explicit system context, reserved for the platform's internal tasks, lifts that restriction. Events and private storage objects are kept per tenant; the paths servers see are opaque hashes.

Verified email and MFA are mandatory

No access to the console without a verified email, then a second factor (authenticator app and recovery codes). No exception by role. A platform operator impersonating a user has passed this gate personally and cannot enrol that user's second factor. Sign-in by a code sent by email is disabled.

Audit log

Rolling back a bundle, showing an agent configuration, and enrolling, locking and resetting the second factor are recorded in an audit log per tenant.

A public site without cookies or scripts

This site sets no cookie, runs no script and sends a content security policy that forbids them. The console lives on another subdomain, with a session cookie limited to that subdomain.

This page describes the design of the product, under validation before production. It does not replace a contract: the data processing agreement is being drafted. See the data processing agreement