Security

Built to be argued with.

An authorization layer holds the decisions, not the payloads. Aprve is designed so that a compromise of the ledger does not hand over customer data, and a compromise of the transport does not silently rewrite a decision.

What Aprve stores

Decision records
Agent identity, the action as submitted, the policy and rule that decided it, the outcome, the timestamp, and the hash chain.
Calling credentials
A SHA-256 hash of each API key or capability token. Plaintext is shown once at issue and never stored.
Action context
Whatever the caller sends as context, stored as-is on the record. Send identifiers, not payloads.
Signing secrets
Per-client HMAC secret, in a separate record readable only by admins.
Contact enquiries
Name, email, company and message submitted through this site.

What leaves Aprve

Anchor batches
A Merkle root, a sequence range, and a client slug. Never records, never action detail.
Gate webhooks
Decision id, outcome, resolver, and the record hash, to the URL the client configured.
Nothing else
No third-party analytics on authenticated console pages, no model calls on the decision path.

Access and separation

Console
Signed-in users only. Every read and write is scoped by role.
Calling systems
One token per client or project, with scopes, an optional expiry, and a tool allowlist.
Public surface
Verification returns a sanitized record: no amounts, no context, no payload.
Revocation
Immediate. A revoked token fails authentication before any policy is read.
Integrity

Records are append-only. Sequence numbers are monotonic per client and each record commits to the hash of its predecessor, so removal or alteration is detectable by recomputation rather than by trusting the operator. A correction is a new record that references the original; both remain.

Verification recomputes the hash from the stored fields and checks the declared link to the previous record. The result is a boolean plus the recomputed digest, published without authentication.

Signing modes

hash_chain is the default: the chain is the proof, and no secret is involved.

hmac_sha256 signs every decision response with a per-client secret over a documented canonical string, so a caller can prove the response came from Aprve and was not altered in transit. Rotate the secret from the client page; the previous one stops working immediately.

Next on this path: Ed25519 with a published JWKS endpoint, then keys held in an HSM. The canonical string and the call site do not change when that lands.

Fail-closed, by construction

No active policy denies. An unmatched action denies. An expired gate applies its configured default and labels it a timeout. A revoked or expired token denies before policy is read. The only path to an allow is a rule that says so, and the response names that rule.