Containment over prevention
Prevention fails eventually. The useful question is what a compromise reaches once it has happened, which is a design decision rather than an operational one.
Platform
How WebFrolic is built to contain a compromise rather than assume one never happens: signed credential records, isolated cells, loud changes and honest boundaries.
The premise
Every control below answers one question: when an attacker reaches something, how far do they get and how quickly does somebody find out?
Prevention fails eventually. The useful question is what a compromise reaches once it has happened, which is a design decision rather than an operational one.
Silent change is the expensive kind. Anything that alters how an account authenticates sends a notification, including to the address being replaced.
Every control here has a limit. Those limits are written down on this page rather than discovered during a security review.
Credential integrity
Passwordless authentication makes a stolen credential database worthless. It does nothing about a database an attacker can modify, where swapping a stored public key is a working credential and nothing notifies anyone.
Every credential record is signed with a key tied to that record and that customer. The signature covers the binding — which credential, which user, which tenant, at which assurance level — not the key material alone.
Signatures live apart from the records they protect and are referenced opaquely, so restoring one credential row does not restore the proof that makes it valid.
Verification happens on the authentication path. A record that does not verify authenticates nobody; it does not log a warning and continue.
TOTP secrets and password hashes are encrypted at rest. Signing addresses tampering; encryption addresses disclosure. They are different problems.
Writing a valid record requires the account holder to have authenticated at the assurance level the change demands, and the signing key is reachable only by the application, never from the database.
Blast radius
WebFrolic runs on a cell architecture: a single active node with a passive standby, tied to a single database.
A compromised database reaches the tenants in that cell and no further. There is no shared store whose compromise would reach everybody.
The application advances a version at each checkpoint. Restoring a snapshot taken before the last checkpoint does not quietly take effect — bringing the service up against it requires a deliberate restart by an administrator.
Cells are independent, so patches can roll in parallel when urgency demands it, and phased by criticality when it does not.
Keys
Trust anchors — the public keys and certificates registered against an application — carry a declared use, and verification requires the declared use to match the operation.
A key registered for wallet verification will not authenticate a client at the token endpoint. A key registered for client authentication will not verify a credential.
A tenant can bring its own encryption and signing keys. Beyond the compliance argument, it is what makes a tenant portable between cells without an offline move.
The application can ask for a signature. It is not a place from which key material can be exported.
Visibility
Password-era flows notified on every change because the industry learned, expensively, that silent changes are the dangerous ones. Passwordless credentials inherited none of that. These flows put it back.
Adding a credential notifies. So does removing one, which matters more, because removal is an attacker’s preparation step rather than their payoff.
Changing a communication method notifies the old address as well as the new one, so swapping a recovery address cannot hide the next step.
Recovery can be configured to need explicit approval from the account holder, or to let them block it outright. The rules are set separately for administrators, employees and customers.
Signup and recovery are rate limited against how people actually behave, so abuse has to be expensive to be worth attempting.
Cross App Access
The draft allows choices we think are wrong for a credential that mints access across application boundaries. Each refusal below is explained on the <a class="inline-link" href="cross-app-access.html#restrictions">Cross App Access page</a>.
An ID token asserts an authentication event. It cannot be bound to a key and nothing revokes it. A refresh token forces a live check of session and user state on every issuance.
Asymmetric client authentication by default, with client secrets permitted only under explicit tenant policy and recorded as a lower assurance grant.
The subject must already exist in the tenant. A federated provider can say who somebody is; it cannot cause them to be created.
The requesting application is recorded as a principal of its own, not folded into the user field, so the log shows which agent acted and on whose behalf.
Limits
A control with no stated limit is marketing. These are the boundaries.
Record signing defends a database-only compromise: injection, a stolen backup, an exposed snapshot, leaked database credentials. An attacker executing inside the service can ask the service to sign, and no signing scheme changes that.
An attacker replaying a live session token never reaches authentication. That is a different problem answered by short sessions, device binding and revocation that propagates.
Malware on a user’s machine with access to their authenticator is outside what a server-side control can reach.
Weak recovery rules, over-broad scopes or disabled notifications are configurable. The defaults are the safe ones; the settings are yours.
Related capabilities
These pages carry the detail behind the decisions above.
We would rather answer hard questions early than discover them in procurement.