Get started
SecurityEvidenceWARD

We tried to make our own receipts lie

Every action a Quox agent takes leaves a signed receipt. A receipt is only worth something if it cannot be faked, so we spent a week trying to fake ours. Here is what broke.

Adam Cowles23 November 20264 min read
A glowing chain of linked receipt cards on a dark background, one card lifted out of line under a magnifying lens, with a thin cyan seal running along the rest of the chain

Every action a Quox agent takes leaves a receipt. The receipt says what ran, who allowed it and what came back, and it is chained to the one before it and signed, so nobody can quietly edit history afterwards.

That is the claim, anyway. A receipt is only worth something if it cannot be faked. So last week we tried to fake ours.

We did it the way we would audit anything else: a formal security engagement in Quox Security, every check filed as a finding, every finding closed only with live evidence. It found six problems. Four are fixed and proven on the running system. Two are still open, and we say which below.

1. The public checker did not insist on a signature

Anyone can check a Quox receipt chain without logging in. That is the point of it. But the public checker treated a missing signature as a warning, not a failure. With no key loaded, a chain whose signatures had been stripped still came back marked intact.

The logged-in checker already refused that. The public one now matches it.

2. Unsigned links slipped through a strict check

The checker has a strict mode that should mean every link in the window is signed. It only checked a signature when one was present. Remove the signature, rewrite the chain to match, and the strict check passed.

Strict now means what it says: every link signed and verified, or the chain fails.

3. Two report checkers trusted a key anyone could make

Our security posture and uptime reports carry their own signature bundle. When the checker could not find our pinned signing key, it fell back to the key packed inside the bundle itself. Anyone can generate a key pair, so anyone could have produced a report that checked out as valid.

Both now route through one shared checker, and valid requires the pinned key.

4. Our own probe froze the server for 205 seconds

This one we found the hard way. While gathering live evidence for the first three fixes, our own audit run sent one request to the public checker. On a chain of 8.1 million entries, that request read far more than it needed to, all at once, and the server stopped answering anything else for 205 seconds.

A public page that a single visitor can stall is a problem whoever the visitor is. The checker now caps the work one request can do. The live re-test came back in 1.3 seconds on the same chain.

We have also changed how we probe: one small request first, then widen. That rule now lives in the procedure our agents follow, not in someone's memory.

5. Still open: the chain uses an older hash format

The live chain still builds each link with the first version of the WARD format. Its own specification has since replaced that step, because the old way can let two different records produce the same hash input. The newer format is written down and its test vectors exist.

Switching a live evidence chain to a new format cannot be undone, so that step waits on a human decision. Until then this finding stays open.

6. Still open: a self-signed bundle counts as signed

The certifier for VOLT bundles marks a bundle as signed when its signature checks out against a key the bundle carries itself. That is the same mistake as number 3, in a different place. It is rated low because nothing trusts that flag on its own today, but it is wrong, and it is filed.

Why we publish the misses

A trust layer that has never been attacked has not earned the name. Every receipt system says it is tamper-evident. The useful question is what happened when someone tried, and whether you can see the answer.

Every check in this audit, and the evidence that closed each finding, sits in the same engagement store we use for any security audit, so it can be replayed and checked rather than taken on trust.

This is now ongoing work, not a one-off. A dedicated audit stream keeps attacking the receipts, the checkers and the keys behind them, and each finding is fixed in public. The next post on it will say whether those last two are closed.