Ordinum Labs · Case Studies
From a failed authorization test to a verified fix
A stale read cache we planted in our PocketBase client path: found, confirmed, reduced, then checked as fixed, without counting a pass where the property never came into play.
By Armaan SinglaRevision 1 · run at product commit 768a9b5
The finding
Yes. With a defect we planted in our own client path for unmodified PocketBase 0.40.6, ordinum verify returned FIX_VERIFIED: read authorization was violated in 10/10 comparison runs on the failing build and 0/10 on the fixed build (one-sided Fisher p = 5.41e-06).
Evidence classification: Planted defect in our client path, not a PocketBase bug.
What was tested
Can Ordinum take a failing authorization test on real, unmodified software, confirm and reduce it, and then show that a fix removes it, without counting a vacuous pass as a fix?
PocketBase 0.40.6, unmodified, with the binary pinned by SHA-256, on one host. The access policy and the workload are Ordinum's own.
What we planted: pc_stale_read_cache, a stale read cache in Ordinum's own PocketBase client path. The failing build includes it; the fixed build is the same build without it, the change an engineer would make.
Why it matters
A failing test is only useful if you can trust what happens after the fix. Ordinum's verdict requires the failure to be gone on the fixed build and the property to have actually been exercised, so a change that simply stops the code path from running does not count as a fix.
How it worked
ordinum verify runs a search campaign on the failing build, confirms each violation by re-running it, and reduces the fault schedule with delta debugging.
It then runs the confirmed cases against the failing and the fixed build, and compares the two with a one-sided Fisher exact test.
The fixed build also gets its own search campaign. FIX_VERIFIED requires that every confirmed violation is gone, that this campaign finds none, and that each required property (read_authz and model_agreement here) was actually exercised: a pass in which the property never came into play does not count.
Finally, ordinum ci replays the saved regression cases.
The run was executed on 1 November 2026 at product commit 768a9b5, inside a network namespace with loopback only (unshare -rn), without Docker. It took about 5.5 minutes on a 16-vCPU WSL2 laptop.
What it shows
- Verdict
- FIX_VERIFIED (ordinum verify, exit 0)
- Confirmation
- read_authz and model_agreement, each confirmed 5/5
- Reduction
- 1-minimal fault schedule
- Failing vs fixed
- 10/10 vs 0/10, one-sided Fisher p = 5.41e-06
- Property exercise
- read_authz exercised in 100/100 executions on each build
- Regression
- ordinum ci: 2 PASS, exit 0
- Runtime
- About 5.5 min on a 16-vCPU WSL2 laptop, no Docker
What it does not establish
- We wrote the defect, so finding it checks the engine. It is not a discovery.
- One host, our own policy and workload, not a production deployment.
- Exercise counts are declared by the adapter: a count is only as good as that declaration.
- Ten runs per build is a statistical comparison, not a proof that the failure can never return.
- No historical third-party failing/fixed reproduction, and no new third-party vulnerability, has been shown yet.
Artifacts and reproduction
Technical details
- Source revision
- Product commit 768a9b5 (stable checkpoint)
- Target
- PocketBase 0.40.6, unmodified, binary pinned by SHA-256
- Planted defect
- pc_stale_read_cache, in Ordinum's own PocketBase client path
- Commands
- ordinum verify --require-exercise read_authz --require-exercise model_agreement, then ordinum ci
- Isolation
- unshare -rn (loopback only), no Docker
- Host
- a 16-vCPU WSL2 laptop
Related
Corrections
- 1 November 2026First published.
Methods note
Engineering and review used AI coding and review agents; reviews were not independent human audits.
EVALUATIONS
Request an evaluation. Bring one system and one failure.
We start with a short discussion and a demo, then agree on a suitable system and testing scope with you.
Research-stage. Runs on your machines; evaluations are guided by the founders.