Benchmark report
Offline verification benchmark: speed, tamper detection and privacy screening
We tested whether anyone can check an agent’s signed record quickly, offline and without trusting us — and where the checks fall short.
| Report no. | NR-2026-10 | Published | |
|---|---|---|---|
| Authors | Nosphera Research (Nosphera) | Revised | |
| Keywords | offline verification, Ed25519, attestations, tamper-evident logs, hash chains, Merkle inclusion proofs, privacy screening, AI agents, benchmark | Reading | 9 min |
Summary
Nosphera says anyone can check an agent’s signed record without trusting Nosphera and without being online. We tested that claim on the real verification code, on one laptop (Apple M5), with networking blocked. A signed attestation verified in a median of 143 µs (99th percentile 184 µs, n = 20,000); almost all of that time is the Ed25519 signature check itself. All 7,000 tampered attestations were rejected. On signed event histories, a chain check alone caught every mutation in 7 of 9 classes (1,000 trials each); removing the most recent events and rewriting history with the genuine key passed the chain check and were caught only when the verifier also held an earlier signed fingerprint of the history. On verified-work ledgers, a rewrite with the genuine issuer key was caught by the public daily anchors in 100% of trials, but removal of the most recent records is not detected by these checks alone; a fix is in progress. Inclusion proofs for a day of one million records were 20 steps (about 1.8 kB as JSON) and verified in a median of 7.96 µs. The privacy screen caught 100% of email addresses and 89.8% of phone numbers, but no names or postal addresses and 15.6% of API-key-like strings, and it wrongly rejected 24.8% of ordinary sentences containing numbers.
Results at a glance
- Checking a Nosphera attestation needs no network and no trust in Nosphera: it took a median of 143 microseconds on one laptop core, about 6,850 checks a second, and every one of 7,000 tampered copies was rejected.
- Editing, reordering, deleting, inserting, splicing, re-signing or replaying events in a signed history was caught 100% of the time (7,000 trials) by the signature and chain check alone.
- Two attacks slip past a chain check: removing the most recent events, and rewriting history with the real signing key. Both were caught by comparing against something published earlier. Removal of the most recent verified-work records is not detected by these checks alone; a fix is in progress.
- Merkle proofs stay tiny as days grow: 20 hashes and about 1.8 kB for a day of a million records, checked in about 7.96 microseconds.
- The privacy screen is a narrow backstop, not a personal-data detector: it caught every email address and 89.8% of phone numbers, missed every name and postal address, and wrongly blocked about a quarter of harmless sentences containing numbers.
Why we ran this
Nosphera gives AI agents a signed, hash-chained history and lets third parties check claims about an agent without asking us. That promise only matters if three things hold in practice. Checking must be cheap enough to do routinely. Tampering must actually be caught. And the history must not leak personal data. This benchmark measures all three with the real verification code, not a model of it.
Everything below ran on one laptop with every network connection blocked. If a check had tried to phone home, the run would have failed. None did.
What we measured
We ran four experiments.
- Attestation checks. How long it takes to verify one signed attestation offline, and whether altered attestations are rejected.
- Tamper detection. Whether nine kinds of mutation to a signed agent history, and to a verified-work ledger, are caught.
- Inclusion proofs. How big a Merkle inclusion proof gets, and how long it takes to check, as a day grows from 10 to 1,000,000 records.
- The privacy screen. How often the screen that guards event bodies rejects personal data, and how often it wrongly rejects harmless content.
Signatures are Ed25519 1 over canonical JSON 2. Daily anchors are Merkle roots 3, the same idea used by Certificate Transparency 45 and by tamper-evident logs more generally 67. Public keys are published in a DID document 89.
1. Checking an attestation offline
An attestation is a small signed statement about an agent (about 562 bytes as compact JSON). A verifier needs only the attestation and Nosphera’s public key, which anyone can fetch once from the public DID document and keep.
- Median
- 143µs
- 95th percentile
- 156µs
- 99th percentile
- 184µs
- Throughput
- about 6,850per secondone core, one at a time
- Cold start, median
- 148µsre-reading the public key document every time
- Tampered copies rejected
- 7,000 / 7,000
The median check took 143 µs. Ninety-nine in a hundred finished within 184 µs. That is about 6,850 checks per second on a single core, done one at a time. Even re-reading the public key document before every single check only moved the median to 148 µs.
Nearly all of the cost is the signature check itself. On the same machine, the bare Ed25519 verification took a median of 142 µs. Faster Ed25519 implementations exist 10, so this figure says more about the library than about the design.
| What we changed | Trials | Rejected | Rejection rate |
|---|---|---|---|
| Raise the claimed score | 1,000 | 1,000 | 100% |
| Swap the subject agent | 1,000 | 1,000 | 100% |
| Extend the expiry date | 1,000 | 1,000 | 100% |
| Corrupt one signature character | 1,000 | 1,000 | 100% |
| Forged with a different key | 1,000 | 1,000 | 100% |
| Checked after it expired | 1,000 | 1,000 | 100% |
| Claims a different issuer | 1,000 | 1,000 | 100% |
Every altered attestation was rejected: a raised score, a swapped subject, a later expiry date, a corrupted signature, a copy re-signed with another key, a different issuer, and an attestation checked after it expired.
We also asked a locally running development copy of the Nosphera service (with development keys, not the production service) for one real attestation. It verified offline against that instance’s public key document, and a copy with the score changed by one point was rejected.
2. Catching tampered histories
We built fresh, genuine histories with the real signing code, applied one mutation, and asked the real verifier whether it noticed. Each row is 1,000 independent histories.
| Mutation | Trials | Caught: chain check | Caught: plus earlier fingerprint |
|---|---|---|---|
| None (control) | 1,000 | 0% | 0% |
| Edit one body character | 1,000 | 100% | 100% |
| Reorder two events | 1,000 | 100% | 100% |
| Delete an event (not the last) | 1,000 | 100% | 100% |
| Delete the most recent events | 1,000 | 0% | 100% |
| Insert a forged event | 1,000 | 100% | 100% |
| Splice in another agent's event | 1,000 | 100% | 100% |
| Edit and re-sign with a wrong key | 1,000 | 100% | 100% |
| Replay (duplicate) an event | 1,000 | 100% | 100% |
| Rewrite with the genuine key | 1,000 | 0% | 100% |
With only the history and the agent’s public key, the verifier caught every mutation in 7 of the 9 attack classes. It raised no false alarms on 1,000 untouched histories.
Two classes passed the chain check every time. Both are expected, and both matter:
- Removing the most recent events. This is not detected by the chain check alone.
- Rewriting with the genuine key. Whoever holds an agent’s signing key can produce a new, valid history. In Nosphera v1 the service signs on the agent’s behalf, so this is the case a sceptic should care about.
Both were caught every time once the verifier also held an attestation issued before the change. Each attestation carries a fingerprint of the history at that moment, so a verifier who kept one can tell when the history has been shortened or rewritten.
The verified-work ledger, where independently confirmed results are recorded, was tested the same way.
| Mutation | Trials | Caught: ledger check | Caught: plus daily anchors |
|---|---|---|---|
| None (control) | 1,000 | 0% | 0% |
| Edit a record's value | 1,000 | 100% | 100% |
| Edit and recompute its hash | 1,000 | 100% | 100% |
| Reorder two records | 1,000 | 100% | 100% |
| Delete a record (not the last) | 1,000 | 100% | 100% |
| Delete the most recent records | 1,000 | 0% | 0% |
| Insert a forged record | 1,000 | 100% | 100% |
| Splice in another agent's record | 1,000 | 100% | 100% |
| Edit and re-sign with a wrong key | 1,000 | 100% | 100% |
| Replay (duplicate) a record | 1,000 | 100% | 100% |
| Rewrite with the genuine issuer key | 1,000 | 0% | 100% |
Here the outside check is the public daily anchor. A ledger rewritten with Nosphera’s own key passed the ledger check every time, and was caught every time against the published anchors. However, removal of the most recent records is not detected by these checks alone. A fix is in progress.
3. Inclusion proofs as days grow
An inclusion proof shows that one record is part of a day’s published Merkle root, without revealing the rest of the day. We measured proofs for day sizes from 10 to 1,000,000 records.
| Records in the day | Proof steps | Proof size, JSON (bytes) | Proof size, packed (bytes) | Verify median (µs) | Verify p99 (µs) | Generate one proof (ms) |
|---|---|---|---|---|---|---|
| 10 | 4 | 363 | 129 | 1.58 | 2.00 | 0.01 |
| 100 | 7 | 635 | 225 | 2.75 | 3.71 | 0.05 |
| 1,000 | 10 | 906 | 322 | 3.92 | 8.79 | 0.45 |
| 10,000 | 14 | 1,269 | 450 | 5.50 | 18.7 | 5.14 |
| 100,000 | 17 | 1,541 | 547 | 6.79 | 21.2 | 62.17 |
| 1,000,000 | 20 | 1,810 | 643 | 7.96 | 22.5 | 858.05 |
Proofs grow with the logarithm of the day size, as theory predicts. A day of a million records needs 20 hashes: about 1.8 kB in today’s JSON format, or 643 bytes if packed. Checking one took a median of 7.96 µs.
Every genuine proof verified (60,000 timed checks). Every altered proof failed: a changed record, a changed sibling hash, a flipped left/right step, or a proof checked against a different day’s root.
The server-side cost is less flattering. Producing one proof for a million-record day took 0.86 seconds, about the same as computing the whole day’s root. That is fine for occasional lookups but would need caching at high request volume.
4. The privacy screen
Before an event body can enter a signed history, a screen checks it for plaintext personal data. We built a synthetic, labelled corpus and ran every item through the real screen. Each item sat in an ordinary text field, except the hash classes, which we placed as labelled.
| Class | Should the screen… | Items | Rejected | Rejection rate |
|---|---|---|---|---|
| Email addresses | Reject | 500 | 500 | 100% |
| Phone numbers | Reject | 500 | 449 | 89.8% |
| Names in free text | Reject | 500 | 0 | 0% |
| Postal addresses | Reject | 500 | 0 | 0% |
| API-key-like strings | Reject | 500 | 78 | 15.6% |
| Obfuscated emails | Reject | 500 | 0 | 0% |
| Plain sentences | Allow | 500 | 0 | 0% |
| Sentences with numbers | Allow | 500 | 124 | 24.8% |
| IDs (UUIDs) in text | Allow | 500 | 0 | 0% |
| SHA-256 in a hash field | Allow | 500 | 0 | 0% |
| SHA-256 in an ordinary field | Allow | 500 | 157 | 31.4% |
The screen does well on contact details. It rejected 100% of email addresses and 89.8% of phone numbers.
It is not a general personal-data detector:
- It caught no names in free text and no postal addresses.
- It caught no obfuscated email addresses.
- It caught only 15.6% of API-key-like strings.
It also over-blocks. It rejected 24.8% of harmless sentences containing numbers. A proper SHA-256 hash placed in a field declared for hashes always passed; the same hash in an ordinary text field was rejected 31.4% of the time.
The practical advice is simple: keep names, contact details and secrets out of anything your agent sends, and never rely on the screen to remove personal data for you. The screen is a last line of defence. The main protection is that only one-way fingerprints are stored on the chain.
What surprised us
- Signature checking, not hashing or JSON handling, dominated attestation verification time.
- The privacy screen wrongly rejected about a quarter of harmless sentences containing numbers, which are common in engineering logs.
- Generating an inclusion proof for a million-record day took over 100,000 times longer than checking it (0.86 s against 7.96 µs).
Appendix A: Method and setup
All experiments ran on one machine: Apple M5 (10 logical cores, 32 GB memory), macOS 26.6.2, Python 3.12.15, cryptography 49.0.0, single-threaded, on 2026-10-14. Every check used Nosphera’s own reference verification code, unmodified, with all network sockets blocked so that any attempt to go online would have aborted the run. (i) Attestations: 1,000 distinct genuine attestations with randomised subjects, claims and dates; 20,000 timed verifications after 1,000 warm-up calls, plus 10,000 ‘cold’ verifications that re-parse the public key document each time; garbage collection paused while timing; per-call wall-clock time; percentiles by linear interpolation. Tamper tests: 1,000 attestations × 7 alterations. (ii) Tamper detection: for each mutation class, 1,000 fresh histories were signed with fresh keys (event histories 5–100 events; ledgers 5–40 records), one mutation was applied at a random position, and the verifier’s verdict was recorded. In total 520,326 signed events were verified. Rates are reported with 95% Wilson intervals in the raw results; at 1,000 of 1,000 the lower bound is 99.6%. (iii) Merkle proofs: random 32-byte leaves; day sizes 10 to 1,000,000; 10,000 timed verifications per size over up to 200 distinct proofs; proof generation and root computation timed separately. (iv) Privacy screen: a synthetic corpus of 5,500 items in 11 classes (500 each), generated from a fixed seed with example domains and fictional number ranges; no real personal data. Random seeds are fixed; signing keys are fresh each run, which does not affect any reported rate.
Appendix B: Reproduce and verify
The verification results in this report can be re-checked by anyone: Nosphera’s public keys are published in its DID document (did:web:nosphera.com), and its daily Merkle anchors are published publicly, so any attestation, signed history or inclusion proof can be verified independently and offline with standard Ed25519 and SHA-256 tools. The experiment scripts, the synthetic privacy corpus generator and the raw per-trial results are available to research partners on request.
Appendix C: Threats to validity
- One machine, one run per experiment, one verifier implementation (Python). Other languages, libraries and hardware will give different absolute times.
- Tamper tests use mutations we designed, not an adversarial red team. They show the checks work as intended against these classes, not that no other attack exists.
- Offline verification checks the signature, issuer and expiry. Whether an attestation has since been revoked needs an online lookup and was not measured.
- Removal of the most recent records is not detected by these checks alone. A fix is in progress.
- In Nosphera v1 the service signs events on agents’ behalf (custodial signing). Rewrites with the genuine key are caught only by comparison with something published earlier.
- Daily anchors protect records only once that day’s root is published. A change made before publication would not be caught by the anchor.
- The privacy corpus is synthetic, English-only and covers a limited set of formats. Real-world rates will differ.
- Text that passes the screen is not stored on the chain (only a one-way fingerprint is), but it is processed by the service to classify the activity. A fingerprint of short, predictable text can be confirmed by anyone who guesses the exact text.
References
- Josefsson, S., & Liusvaara, I. (2017). Edwards-Curve Digital Signature Algorithm (EdDSA). RFC 8032, IETF. www.rfc-editor.org/rfc/rfc8032↩
- Rundgren, A., Jordan, B., & Erdtman, S. (2020). JSON Canonicalization Scheme (JCS). RFC 8785, IETF. www.rfc-editor.org/rfc/rfc8785↩
- Merkle, R. C. (1988). A Digital Signature Based on a Conventional Encryption Function. In Advances in Cryptology — CRYPTO '87, Lecture Notes in Computer Science 293, pp. 369–378. Springer. doi.org/10.1007/3-540-48184-2_32↩
- Laurie, B., Langley, A., & Kasper, E. (2013). Certificate Transparency. RFC 6962, IETF. www.rfc-editor.org/rfc/rfc6962↩
- Laurie, B., Messeri, E., & Stradling, R. (2021). Certificate Transparency Version 2.0. RFC 9162, IETF. www.rfc-editor.org/rfc/rfc9162↩
- Haber, S., & Stornetta, W. S. (1991). How to time-stamp a digital document. Journal of Cryptology, 3(2), 99–111. doi.org/10.1007/BF00196791↩
- Crosby, S. A., & Wallach, D. S. (2009). Efficient Data Structures for Tamper-Evident Logging. 18th USENIX Security Symposium, Montreal. www.usenix.org/conference/usenixsecurity09/technical-sessions/presentation/efficient-data-structures-tamper-evident↩
- Sporny, M., Guy, A., Sabadello, M., & Reed, D. (Eds.) (2022). Decentralized Identifiers (DIDs) v1.0. W3C Recommendation. www.w3.org/TR/did-core/↩
- W3C Credentials Community Group. did:web Method Specification. w3c-ccg.github.io/did-method-web/↩
- Bernstein, D. J., Duif, N., Lange, T., Schwabe, P., & Yang, B.-Y. (2012). High-speed high-security signatures. Journal of Cryptographic Engineering, 2(2), 77–89. doi.org/10.1007/s13389-012-0027-1↩
Cite this
Nosphera Research. (2026). Offline verification benchmark: speed, tamper detection and privacy screening (Report No. NR-2026-10). https://nosphera.com/research/offline-verification-benchmark

