GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • RSRegistry StackDocsv0.48.0
  • GitHub ↗
  • Four ways to adopt
  • How the products fit together
  • Overview
  • Your first assertion
  • How Evidence works
  • Return a governed value
  • Control who can request evidence
  • Assert a role-bound relationship
  • Request evidence as an SD-JWT VC
  • Request an assertion
  • Request an access token
  • Verify an assertion

This view

  • Original page
  • New address

GeezerVison is showing docs.registrystack.org — Security

Released docs. You are viewing the documentation published with v0.48.0. Development docs are available at Latest.

Security

View as Markdown

Registry Stack protects data through product-specific authorisation, closed configuration, bounded source access, explicit disclosure, package integrity, and accountable audit.

The threat model, known limitations, and release trust evidence provide review context and public evidence.

At a glance

Section titled “At a glance”
WhatWhere it stands
Evidence authentication on every assertion or definition routeBuilt in. Operational, discovery, and metadata routes and the activated public check are the exceptions
Evidence inbound authenticationOIDC bearer with one governed issuer profile. No API-key or static-credential mode
Deny-by-default authorisation before source accessBuilt in
Only public verification material is publishedBuilt in
Evidence person-level access auditBuilt in and fail-closed, with no best-effort switch
Evidence disclosureFixed by the requirement: only its declared concepts, each in one closed value form. A caller cannot select or widen it
SD-JWT VC assertion serialisationBuilt in as an encoding. The assertion format itself is not a credential lifecycle
Holder-bound presentationDeclared per requirement and verified by the relying party
Replay prevention for presentationNot provided. The relying party owns challenge issuance, retention, and consumption (replay protection)
Key custody, audit retention, isolation, TLS, and edge quotasOperator responsibilities
Compliance with cited external standardsNot claimed

The Evidence request in one pass

Section titled “The Evidence request in one pass”
  • Authenticate. Evidence verifies the bearer signature, issuer, audience, token type, and algorithm against one governed OIDC profile. It never trusts a proxy identity header or falls back to an alternate principal claim.
  • Authorise. One complete grant and authority path must match the requester, requirement, purpose, subject roles, selector profiles, origin, authority, and audience. Authorisation finishes before source credential resolution or source access.
  • Serve. The core runs only the governed source routes, validates typed concepts, and constructs an answer that carries only the requirement’s declared concepts, each in its closed value form. Caller input cannot add a source request, expression, disclosure field, or output projection.
  • Audit. An access-attempt record is durably accepted before each source acquisition and a disclosure-release record before the response leaves. Audit failure blocks the corresponding action. Entries are minimised and value-free. Tamper evidence depends on shipping them to append-only storage.

Every Evidence route returning an assertion or its protected definition requires a verified access token. /health, /ready, /openapi.json, /catalog.jsonld, the issuer JWKS, issuer metadata, and protected-resource metadata are public because they contain no person-level result or grant inventory. The public certificate check is unauthenticated and reads registry data. It exists only when the operator activates it. An issuer publishes only the public half of an assertion-signing key, so a verifier needs no source or service credential.

Subject binding, presentation verification, and replay limits are set out in the Registry Evidence security model.

An AI assistant acting for a citizen

Section titled “An AI assistant acting for a citizen”

A citizen can ask an AI chat assistant to read their own Base Registry Engine (BReg) record and prepare a correction to it through the breg-mcp gateway. BReg decides what the gateway, acting as the citizen’s delegated agent, may read or change. What the design guarantees states each property with its enforcement point. These points complete it:

  • A call the gateway answers or refuses without a registry request, such as describe_service, makes no token exchange.
  • BReg refuses an actor it is not configured to trust for that client.
  • A standing agent without a task grant cannot invoke immediate effects or publish a statistical release.
  • The breg-review page calls BReg only to read the registry contract, the draft, and the draft’s target, and to submit.
  • BReg records an agent’s calls with keyed pseudonyms for the agent, the citizen it acts for, and the client.
  • What the assistant says in conversation is outside these controls. The review page shows the canonical draft BReg holds, not the assistant’s summary of it.
  • BReg ties a Proposal’s target to the requester only through the targets row boundaries its access profile declares. A profile that declares no such boundary gets none of this from BReg.
  • A delegated token that leaks stays valid at BReg until it expires, so the authorization server must keep exchanged token lifetimes short.

Product security models

Section titled “Product security models”

Each product’s security model states what that product guarantees, what the operator must uphold, and which limits a deployment of it accepts.

  • Registry Evidence security model
  • Base Registry Engine security model
  • Registry Casework security model
  • Registry Scheduling security model
  • Registry Render security model
  • Registry Messaging security model
  • Registry Coordinator security model

Maintained boundaries

Section titled “Maintained boundaries”
  • BReg authenticates callers and applies compiled access profiles to its own records, changes, history, and events.
  • Registry Evidence authorises before contacting a fixed source and signs only the concepts its reviewed requirement declares.
  • Registry Manifest publishes static metadata and grants no runtime authority.
  • Registry Discovery returns inert public metadata. The application owns provider trust.
  • Registry Platform supplies shared primitives while each product owns policy and configuration.

Token issuer and key endpoints

Section titled “Token issuer and key endpoints”

Every product that validates access tokens fetches the issuer’s keys under one shared issuer network policy:

  • The declared issuer and a declared key set URI may be on a private network or on loopback. Loopback means a host written as a literal loopback address or localhost. A name that resolves to a loopback address is refused. The operator who writes the runtime file is trusted to name them.
  • Cloud metadata and link-local addresses are refused for declared and discovered endpoints alike.
  • A key endpoint discovered on the issuer’s own origin inherits the issuer’s policy. On another origin it must use HTTPS and is refused when it resolves to a private or loopback address.
  • Redirects are not followed.
  • Plain HTTP beyond loopback needs the product’s allowInsecureHttp: true setting. The setting never extends plain HTTP to a discovered key endpoint on another origin. Startup logs a fixed warning when it is on.
  • jwksSource sets where the keys come from: discovery (the default), a declared uri, or static keys read from a secret for a deployment with no network access to the issuer.

Under allowInsecureHttp: true, an attacker on the network path to the issuer can substitute keys and so mint tokens the product accepts. An HTTPS issuer, an unset allowInsecureHttp, or keys pinned with a static jwksSource each close that path. The security models for Base Registry Engine, Casework, Coordinator, Document Store, Messaging and Scheduling name their own setting path and any stricter rule, such as Coordinator’s loopback rule.

Registry Evidence is stricter. It accepts only a declared uri key source, and it refuses allowInsecureHttp outside the local assurance profile. Registry Render and the evidence-oid4vp verifier front end log no startup warning when allowInsecureHttp is on.

Operator responsibilities

Section titled “Operator responsibilities”

Operators provide identity issuance, TLS and network controls, secret storage, key rotation, durable audit storage, database security, backups, monitoring, and incident response. The software keeps secrets out of distributable artifacts and supplies the enforcement primitives that the operator provisions and runs.

Continue

Section titled “Continue”
  • Threat model
  • Production hardening checklist
  • Known limitations
  • Report a vulnerability
  • Support window

Cookies on Registry Stack

We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.

Your browser asks sites not to track you, so optional tracking stays off.

We could not use or save that choice. Optional tracking remains off.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.