Trust center

Security & compliance

A trust product has to be honest about its own trust posture. This page separates what is shipped from what is still being built, and states plainly what the bot can and cannot see.

Last updated: December 2, 2026

Status key

● Available● In development● Planned● TBD / not yet decided
In development

Hash-chained audit ledger

The hash-chained audit ledger is an append-only table. Each row carries the previous row's hash and a hash of its own content, so changing any row breaks every hash after it:

hash = sha256(prev_hash + "\n" + canonical_json(payload) + "\n" + seq)

The sequence number is allocated inside the same BEGIN IMMEDIATE transaction as the insert, so the hash can include it. A genesis row with an empty previous hash anchors the chain. A unique constraint on (event, subject) makes ingestion idempotent, so a retry cannot duplicate an entry.

All writes go through one append helper guarded by an in-process mutex; nothing else writes the table. A verification endpoint that walks the chain and reports the first bad sequence is part of the same work and not yet live.

Trust boundary. A hash chain proves that rows were not changed after they were written by an actor without database access. An attacker with write access to the database could rewrite the whole chain. Detached Ed25519 signatures on exports and periodic off-box chain heads are planned to close that gap; until they ship, do not treat the ledger alone as proof against an insider with database credentials.

Partly available

Role-based access control (RBAC)

Global roles today are admin, user, partner and developer, stored on the user record. Per-group access is being added: a group has one owner, and invited operators can be granted read or write access to that group only.

Reads are scoped to the caller's groups; an admin can see all. Writes — overrides, revocations and access-code creation — require the owner/operator relationship plus an API key with the write scope. Tenant isolation will be enforced on the decisions and members endpoints, with cross-tenant access tests. Every authorization decision will be logged.

Available

API keys, sessions and secrets

API keys are stored only as hashes — a copy of the database does not yield usable keys. Send a key as an Authorization: Bearer token or an x-api-key header. Keys carry read and write scopes; a key can never be minted with a scope its owner does not hold. Revocation is immediate, with a short rotation grace window.

Session tokens are stored hashed, and webhook secrets are compared in constant time. Access codes will be stored hashed when the membership tables ship. There are no secrets in source control; environment files are deployed by script, not committed. Evidence and SIEM scopes are planned alongside those features.

Available

Transport

Traffic is served over HTTPS. The API does not send wildcard CORS headers, so third-party pages cannot read it from a browser with your credentials.

TBD

Data residency

The service runs on a single-region SQLite database today, and the production region has not been chosen. Before launch we will document whether primary storage is in the EU or the US. Because the app owns its database and deploy, a per-region deployment for customers with residency requirements is feasible; it is not available yet.

Planned

Data Processing Agreement

Operators are the controllers of their member data; TG Members acts as a processor. A DPA template is being prepared and will be published and available on request. Counter-signed DPAs are planned for the Evidence and Agency plans.

To request the current template or discuss a signed agreement, contact security@tgmembers.co.

Not yet completed

Penetration test status

A third-party penetration test (pen-test) has not been completed. We will require one before selling the Evidence plan, and critical findings will be fixed before general availability. The agreed scope covers:

  • Authentication and session handling
  • Cross-tenant access (IDOR) against group identifiers
  • API-key scope escalation
  • Ledger tamper resistance
  • Evidence export access control

A summary report will be published here when it is available. We do not claim a certification we have not obtained.

Available to state plainly

What the bot can see

The moderation bot can see, and only see:

  • Messages in groups where it has been added as an administrator, in order to classify them
  • Sender ids and handles attached to those messages
  • Join, leave and kick events in those groups
  • Administrator actions relevant to membership and moderation

The bot cannot:

  • Read private chats
  • Read groups it has not been added to
  • Read message content after a message has been deleted

This is stated plainly here, in the FAQ, and in the DPA, because operators should not have to guess.

In development

What we store

We store verdicts with reason codes and hashed or normalized evidence, not raw message bodies beyond the plan's retention window. Membership records hold the member identifiers needed to run membership — a Telegram user id, handle, status and dates — not message content. Payment identifiers come from Stripe; card data never reaches us.

The membership and trust tables are being built together with the ledger. Today the decision log is readable; the durable audit ledger and evidence exports are still in development.

Reporting a vulnerability

Found a security issue? Email security@tgmembers.co with details and reproduction steps. Please do not open a public issue first. See support for other contact channels.