Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.48.0.
This page lists the residual risks a Registry Render deployment accepts, with the conditions under which each applies. Several apply only when you seal documents. To deploy and configure Render, see Deploy Registry Render and the Registry Render configuration reference.
Accepted residuals
Section titled “Accepted residuals”A render worker is not a sandbox
Section titled “A render worker is not a sandbox”It runs as the serving process’s user, with the same filesystem and network.
A worker that gained code execution through a Typst or decoder defect could read files that user
can read, including key files under secretProviders.file.root, connect to any socket that user
can reach, and signal the serving process, which can stop the service.
The worker starts with a cleared environment (only the dynamic loader’s search paths are kept), and
on Linux the serving process marks itself non-dumpable before it reads any secret, which keeps the
parent’s environment and memory out of the worker’s reach.
On macOS it does not: a same-user process reads another’s arguments and environment through
KERN_PROCARGS2, so such a worker can read every ${VAR} and secret:env value the serving
process holds; seal on Linux.
The rest is not enforced.
The worker needs only its pipes, so refusing socket creation and restricting its filesystem view
(seccomp, Landlock) would narrow it; neither is in place, because each needs per-architecture
filters proven on the release image.
The audit log is not tamper-evident on the host
Section titled “The audit log is not tamper-evident on the host”It carries no hash chain or signature, so a host user able to write the audit file can remove,
rewrite, or reorder lines undetected.
A render worker that gained code execution is such a user: it runs as the serving user, who owns the
file destination.
Deployments that need tamper evidence ship the file or stdout stream to append-only storage they
control; deployments that seal use audit.destination: stdout, shipped to storage the serving user
cannot write.
macOS workers have no address-space cap
Section titled “macOS workers have no address-space cap”RLIMIT_AS is not exposed by rustix on macOS: the timeout kill is the sole wall.
Run Serve deployments for pilots on Linux, where the rlimit applies.
The output-size check runs after PDF export
Section titled “The output-size check runs after PDF export”The check runs in memory after export; Linux workers bound the spike by RLIMIT_AS, macOS only by
the kill.
A chunked body that trips the tower stream limit mid-body
Section titled “A chunked body that trips the tower stream limit mid-body”Such a body breaks the request stream, so the connection closes with no response and no audit event. Refusing chunked transfer before the first body byte is what keeps that path unreachable for ordinary callers; the backstop remains for a client that frames a Content-Length and then sends more.
Asset caps are code-level constants
Section titled “Asset caps are code-level constants”The caps (per-asset 2 MiB, request total 8 MiB, JPEG and PNG only) are constants in code, not per-document manifest declarations.
A compromised worker can still get arbitrary content sealed
Section titled “A compromised worker can still get arbitrary content sealed”The worker renders the content, so one that gained code execution can return any single-revision
document, and the parent signs it.
That content sits in the first revision, under documentDigest, because the parent writes every
byte after it: comparing the digest with the record, or re-rendering from the record and comparing,
exposes it.
The parent bounds what it signs (the seal key never enters the worker, and the parent accepts only a
single-revision answer and writes every byte after it), not what the document says.
The mitigations are governed templates, which are verified at startup and by each worker, the key
staying outside the worker, and the value-free audit that lets an institution reconcile every
sealed hash with its own records.
The same worker can rewrite a file audit destination (see
The audit log is not tamper-evident on the host),
so that reconciliation holds only for an audit sent to stdout and on to storage the serving user
cannot write.
Such a worker can also connect to a Transit seal’s proxy socket, which the serving user can reach,
and have Transit sign digests of its choosing outside the parent and its audit.
A Vault or OpenBao audit device, when one is enabled, records each such call; the worker sandbox
named in A render worker is not a sandbox, which refuses socket
creation, is what would close it.
The timestamp authority’s identity is not pinned
Section titled “The timestamp authority’s identity is not pinned”Render reaches the authority over TLS with the host’s root certificates, or with only the CA bundle
timestampAuthority.caBundleRef names, and accepts a token that matches the signature, nonce and
key usage; it does not pin the authority’s certificate or decide whether it is trusted.
Validators decide trust in the seal certificate and the timestamp authority.
Local seal key files are for test seals
Section titled “Local seal key files are for test seals”A local-jwk signer’s privateKeyRef resolves a JWK through the file secret provider, so the key
is readable by the serving user and, with the worker not a sandbox (see
A render worker is not a sandbox), by a worker that gained
code execution.
assuranceProfile: production refuses a key file: production custody is Transit, reached through a
signing proxy.
A compromised serving host can still ask that proxy to sign for as long as it is compromised, but
cannot take the key.
The custody check refuses only a Transit key that can leave Transit (exportable, derived, or with
plaintext backup allowed). An imported (bring-your-own-key) Transit key passes it, so where the key
material was before its import is the institution’s to account for.
Custody is read at startup only: a change to the key’s flags after serve starts shows at the next
start.
A PKCS #11 HSM or a cloud key service is not supported.
Reading a key file leaves two copies of key text that Render does not erase: a file the strict JSON
parser refuses (bad syntax, a duplicate member) drops its partial parse tree inside
registry-platform-canonical-json, and serde_json keeps a scratch copy of a string written with
escapes, which a base64url member does not need.
The test-seal command generates a fresh development authority for each specimen.
Pass its public root directly to the verifier for that PDF.
In the Population example, the issuer assigns an opaque reference before signing.
Scanning its QR code reveals the document type, reference, issuance time and signed-file fingerprint.
The public example also lets readers download its fictional PDF and public test certificate.
When you select your own copy for comparison, the browser hashes it on your device.
To check the digital signature on a recipient’s copy, verify that PDF against its test root.
/ready is unauthenticated
Section titled “/ready is unauthenticated”Anyone who reaches the listener reads each seal’s id, readiness, value-free reason and test-only
mark, and, while a Transit seal is not ready, makes it probe Transit over a fixed message: at most
one probe in flight per seal, and the next no sooner than one second after a failed one ended,
however many calls arrive.
/ready never waits on Transit, so a stalled proxy cannot hold the readiness answer an orchestrator
acts on.
The listener stays on a loopback or private address.
No revocation data, no qualification
Section titled “No revocation data, no qualification”A seal is PAdES baseline B-B or B-T. It embeds no revocation information (no B-LT or B-LTA) and makes no eIDAS qualification claim.
PDF/A conformance rests on the template
Section titled “PDF/A conformance rests on the template”veraPDF passed a fixture template at every accepted PDF/A level and at PDF/UA-1, rendered and
sealed, so the seal keeps a level the rendered file meets; check refuses a reserved space the
level’s string limit cannot hold.
A deployer’s own template is not checked against its level, and veraPDF checks machine-checkable
rules only.
Report a vulnerability
Section titled “Report a vulnerability”Report a suspected vulnerability through the process in Report a vulnerability.
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.