Security

How Tollgenic approaches security during the private alpha, what is in place, what is planned, and how to report a vulnerability.

Updated · Markdown version

Tollgenic is being built for the request path of publisher websites, with paid actions as a future capability. The marketing site is accepting applications; the gateway is not yet a hosted production service. This page distinguishes locally tested core behavior from controls that must be completed before publisher onboarding.

Principles

Observe first. Every site runs at least fourteen days in observe mode, recording what enforcement would have done, before any response changes.

Fail safe on the routes that matter. Checkout, login, account and form-post routes are never-touch: pass-through in every mode, including enforce. A property test proves the policy engine cannot return anything else for them.

Two ways out. TOLLGENTIC_MODE=bypass turns the Worker into a transparent proxy in one deploy. Removing the Worker route restores the origin even when the Worker is unhealthy. Both are drilled before a site goes live.

Verify, do not guess. Identity is cryptographic or it is unverified. We do not fingerprint, and we do not infer humanity from behaviour.

Implemented and tested in the gateway core

  • Signature parsing and verification, a bounded key-directory client, replay checks using an injected nonce-store interface, and a 24-hour maximum signature lifetime.
  • A deterministic policy engine whose property tests keep designated never-touch routes pass-through in every mode.
  • An in-memory double-entry ledger that checks balances and a payment state machine with tenant-scoped idempotency and recovery for unknown settlement results.
  • A decision-event schema with an explicit field allowlist.

Local tests do not establish production readiness. Production deployment, shared persistence and independent interoperability evidence are separate gates.

Required before publisher rollout

  • Cloudflare Worker integration and deployment checks, including origin pass-through behavior and rollback drills.
  • Production Postgres and shared nonce-store adapters. Row-level security and ledger constraints are defined in the database schema but are not deployed controls today.
  • Closure of the key-directory client’s residual DNS-rebinding risk on the production egress path.
  • Independent signature test vectors and cross-implementation verification.
  • Control-plane authorization, domain ownership proof, reversible policy changes, operational monitoring and retention enforcement.

A threat model and independent security review remain planned work. SOC 2 readiness has not started; no certification is claimed.

Reporting a vulnerability

Use the contact form and choose Security report. Tell us what you found, how to reproduce it, and how to reach you. We acknowledge within two business days and keep you informed until it is resolved. A security.txt with a dedicated mailbox and a PGP key will be published at /.well-known/security.txt once our mail domain is live.

Good-faith research is welcome. Do not access data that is not yours, do not degrade service, and do not test against design-partner sites without their consent. We will not pursue action against researchers who follow these rules.