TETHESIS
SECURITY

Security and data governance

Configured access rules are enforced by the database across supported read, search and write operations. History is hash-chained and can be verified away from the server. Self-hosted releases are signed, and the host checks the signature before it installs anything.

CREDENTIALS

Keys, tokens and sign-in

API keys

Stored only as a hash and shown once. A key can be limited to named graphs, given an expiry, renamed or revoked. A key without a write role can’t write.

Delegated keys for agents

Mint a child key for an agent run. Its rights are the intersection with the parent’s on every request, it never outlives the parent, and one call suspends every key of a run.

Capability tokens

Signed, short-lived tokens for one principal on one graph, with a lifetime you choose.

Sign-in for MCP clients

Remote MCP clients sign in with OAuth. Consent is given with an existing key, a token never has more rights than that key, and revoking the key ends its tokens at once.

Other modes

JWT bearer tokens, HMAC-signed requests, and TLS — with mutual TLS on self-hosted servers.

Abuse limits

Unauthenticated requests are rate-limited by address. Authorization denials are limited per credential, so a valid key can’t probe outside its scope without limit.

ISOLATION & ACCESS

Rules the engine enforces on every request

Graph scope

A key’s graph scope holds on every route. On a multi-tenant server a graph without an owner serves platform credentials only.

Labels & relationship types

A policy allows or denies read, write and grant per label and relationship type. Covered reads and counts exclude records hidden by the configured access policy.

Individual nodes

Record-level RBAC distinguishes nodes with the same label. Access controls apply across governed graph traversal, ranking, historical queries and memory.

Cross-region access

Cross-graph calls across servers and regions are guarded for compliance; deployment policies must address residency and transfer requirements.

Fields

Field rules hide single properties and can require a stated purpose before a value is returned.

Search

Vector, full-text and hybrid search leave out records the caller can’t read — before ranking, not after.

Aggregates only

A key can be limited to noised counts, sums and averages under a privacy budget — never individual rows.

Engine records

Run traces, budget records and waits are readable only by their owner and administrators.

Access is governed at graph, label, relationship-type, individual-node and property scopes, with purpose restrictions where configured.

DATA PROTECTION

Personal data sealed per person

Properties declared as personal data are encrypted under a key for each subject. On the hosted service the keys are held in a managed key service. Destroying a subject’s key makes their sealed values unreadable in current data and in history, and produces a signed receipt anyone can verify without the server.

Erasure deletes nothing. It doesn’t reach backups taken before it, values written before the property was declared, or properties that aren’t declared. Cryptographic erasure, in full →

Hosted infrastructure. On the managed service, data is stored on encrypted disks and connections use TLS.
INTEGRITY

Check the history without trusting us

Every committed write is in a hash-chained history log; who wrote each batch is in a second chain; field-access events in a third. Ask for a signed anchor whenever you like and keep it outside the server. Later, check an export with the free-standing verifier — it doesn’t talk to the server, and it contains none of the server’s code.

# keep an anchor outside the server, then export + verify offline curl -s -H "Authorization: Bearer $KEY" https://<server>/graphs/ledger/audit/anchor > anchor.json curl -s -H "Authorization: Bearer $KEY" https://<server>/graphs/ledger/audit/export -o ledger-history.tar invariantdb-verify export ledger-history.tar --keys keys.json --anchors anchor.json # PASS history chain 18,421 records: each hashes to itself and links to the one before # PASS anchor 1 history up to seq 18,342 is as it was at 2026-11-12T09:30:00Z # RESULT: VERIFIED

Snapshot files are hashed when published and re-hashed daily; stored data that fails to verify is refused, not served. Anchors and exports need an administrator or auditor credential and the server’s signing key; records after your newest anchor rest on the server’s signature until the next anchor.

SUPPLY CHAIN

Signed releases, checked before install

Every self-hosted release ships with SHA-256 sums and ed25519 signatures. The host kit’s verify-release.sh checks each binary’s hash, signature, architecture and C library before anything runs. The host kit itself and a signed release binding (the release name, build id and every file’s hash) are signed too, so an older signed release can’t be passed off as a newer one.

# verify every binary's hash + signature before install for f in gq-server graphiquity gq-upgrade; do verify-release.sh $f --sha256-file $f.sha256 --sig-file $f.sig --require-signature done
  • The release-signing public key is compiled into the server and the verifier; compare it with the value in your licence documents.
  • With RequireSignedRelease=true, an unsigned binary or kit, or a release without a signed binding, is refused before anything changes.
  • Checks always use the verifier already installed, never the one inside the new kit.
  • Upgrades can run offline from a local release file; the licence is checked locally, with no phone-home.
  • The Python and Node SDKs install from a URL carrying their SHA-256; pip refuses a file that doesn’t match, and there’s no package under that name on a public registry to impersonate.
CONTINUITY

Durable writes, verified restores

A write is acknowledged only after it reaches the write-ahead log on disk, and acknowledged writes survive a crash. Backups compress on several threads, restores check the whole archive, and a full re-hash can be run before you rely on a restored graph.

PLAINLY

What we don’t claim

No SOC 2 report or FedRAMP authorization is asserted here. HIPAA compliance is not a product certification. Confirm current organizational assurance and contractual status directly with Tethesis. Erasure reaches the live graph, not earlier backups. Raft replica clusters are run by the operator; there is no managed failover.

RETENTION AND EVIDENCE

WORM, erasure and independent verification

MECHANISMCONTRACT / BOUNDARY
WORMOnce engaged, covered updates and deletes are refused. New records are allowed. Cryptographic erasure is refused on a WORM graph.
Subject-key erasureSealed values become unreadable across live and retained historical data when subject keys are destroyed. Earlier backups and external copies remain outside the guarantee.
External anchorsKeep signed anchors outside the server and verify exports with the offline verifier. A hash chain alone cannot defeat an operator able to recompute it.
Compliance evidenceLicensed signed compliance exports, provenance, access-event logs and historical queries support a controls assessment. Certification and legal compliance depend on the complete system.
AGENT SECURITY / CONTROL BOUNDARIES

Restrict the worker and the information it sees.

CONTROLCONTRACT
Tool policyClassify tools as read, propose or act. Reject unknown arguments and command-like parameters under the configured policy; strip model-supplied consent arguments. Tool availability depends on prior reads.
Information-flow controlsFence model-visible context by trust tier, strip hidden fields and gate tools by the lowest tier of content seen. These are runtime controls, not a guarantee against every prompt-injection technique.
Delegation chainCaller → agent → task → read/propose credentials. Each child is no wider than its parent; credentials remain outside model-visible context.
Server enforcementConfigured authority rules, held approvals and stale-approval refusal; kill switch and break-glass controls; per-operation budgets; read-only and limited MCP connections.
Attribution and evidenceRecord agent traces, write and answer receipts, provenance and memory episodes. Optional trust stamps record person/agent attribution and credential; trust stamps are off by default.

Tool validation and trust-tier fencing are runtime protections, not a replacement for configured engine authorization or independent review. Runtime information-flow controls →

Security references

For enterprise diligence, deployment responsibilities and verification boundaries, visit the Trust Center.