Submitted as issue #515.
What this is
Zcash has said publicly it wants post-quantum signatures around 2027. Before cryptography can be migrated, it has
to be located. I am proposing to produce, for the Zcash repositories in scope, a machine-readable cryptographic
inventory (CycloneDX CBOM) and a post-quantum migration map that says, per algorithm and per role, what it is used
for, whether Shor or Grover applies, and what has to change.
$12,000, three two-week milestones, one person.
I have now done the whole stack, unpaid, before any decision
The application cited one repository. While it sits, I did the other five, so you can judge the work rather than
the pitch. Every one is a signed bundle that verifies in one command with the public key it contains — no trust in
me required.
| Repository | Files | Inventory | Shor-vulnerable | Findings | High | Medium |
|---|---|---|---|---|---|---|
librustzcash @ 8672a4b2 |
333 | 46 | 19 | 51 | 2 | 10 |
zebra @ 147a6a8b |
439 | 27 | 14 | 19 | 2 | 2 |
lightwalletd @ 4abfe9cd |
34 | 8 | 3 | 14 | 0 | 0 |
zcash-android-wallet-sdk @ a95780ac |
350 | 14 | 2 | 33 | 0 | 6 |
zcash-swift-wallet-sdk @ 4895ee05 |
205 | 12 | 2 | 32 | 0 | 7 |
zodl-android @ 229dd3bf |
1,609 | 5 | 0 | 2 | 0 | 0 |
| Total | 2,970 | 112 | 40 | 151 | 4 | 25 |
One thing to read correctly in that table: severity depends on a risk profile, and the profile is not the same for
every row. librustzcash and the wallet trees are rated as code that handles spending keys; zebra and
lightwalletd are rated as a consensus node and a lightwallet server, which custody nothing. The file, inventory
and Shor-vulnerable columns are profile-independent and are the ones I would compare across repositories.
verify-bundle --public-key public_key.pem .
→ OK bundle signature valid: 12 files, signed … by key 5b3cf9c9bd0fa544
Bundles go to any committee member who asks. Nothing is held back pending funding.
The Swift SDK is the one place where “nothing found” changed meaning while I was writing this. Its
Package.resolved pins twenty-one Swift packages, and my tooling had never read that format — it parsed the
Cargo.lock beside it and reported two manifests, so the Swift half of a wallet SDK was unexamined while the
report looked complete. The format is now read, OSV is queried under the SwiftURL ecosystem, and the answer is
that none of the twenty-one carries a published advisory. Same number as before, entirely different claim:
it has gone from unexamined to checked.
The result that makes the case better than I could
Auditing one repository tells you about one repository. Auditing all six together showed something none of
them can show alone: 27 advisories recur across more than one Zcash repository, and seventeen of them
appear in three or more. Counted one entry per advisory, collapsing each one’s aliases to the primary
identifier the finding names.
| Advisory | Repositories affected |
|---|---|
GHSA-qwgh-2vcv-g2f7 |
librustzcash, zebra, zcash-android-wallet-sdk, zcash-swift-wallet-sdk |
RUSTSEC-2026-0386 |
librustzcash, zebra, zcash-android-wallet-sdk, zcash-swift-wallet-sdk |
GHSA-2mjx-qc3c-rqvc, GHSA-c8m5-c952-6cm4, GHSA-h2v8-394m-p7vv, GHSA-w44r-93j7-qv28 |
librustzcash, zcash-android-wallet-sdk, zcash-swift-wallet-sdk |
RUSTSEC-2026-0387, -0395, -0397, -0399 … -0410 (11 in all) |
librustzcash, zcash-android-wallet-sdk, zcash-swift-wallet-sdk |
| ten further advisories | two of the six each |
Every identifier here is the primary one the finding names; the full list with versions and aliases is in the
signed bundles, so none of it has to be taken on trust.
Nobody fixes these once, because nobody sees them as one problem. That is the entire argument for a
cross-repository inventory, and I would rather show it than assert it.
The four high-severity findings
zebra:quinn-proto 0.11.16matches two separate advisories, RUSTSEC-2026-0340 and RUSTSEC-2026-0341.librustzcash:rustls-webpkiis pinned at both0.101.7and0.103.3, and both match
GHSA-82j2-j2ch-gfr8 / CVE-2026-93599 / RUSTSEC-2026-0104.
One finding worth stating carefully
zcash-android-wallet-sdk’s SaplingParamTool downloads the Sapling spend and output parameters from
download.z.cash and verifies them against two hard-coded SHA-1 digests.
Stated precisely, because the loose version of this claim would be wrong: the property relied on here is
second-preimage resistance, which SHA-1 still has. Only collision resistance is broken, and this check does not
depend on it. So this is not exploitable as it stands, and I am not reporting it as a vulnerability. It is the
wrong primitive for an integrity check on security-critical cryptographic material, and it is squarely on topic for
this grant: Grover halves preimage security, taking SHA-1 from 160 bits to about 80 — below any acceptable margin
for parameters with this lifetime. SHA-256 is the replacement.
I also found a committed private key in lightwalletd (docker/cert.key) and marked it not applicable after
checking: gen_cert.sh sits beside it and generates exactly that file with CN=lightwalletd.testnet.local and
SANs covering only localhost and 127.0.0.1. Real key material, no real domain, not a production credential —
hygiene for the maintainers, not a security report. Both decisions are recorded in the signed bundles, with their
reasoning, so you can disagree with them specifically.
Two things I got to answer myself
zcash/zcashis archived (last push 2026-07-19), sozcashdis out of scope. My application asked you to
correct my scope guess; this part corrected itself.- Zashi is now
zodl-inc/zodl-android. I will use the current name.
Both are now done, so the scope question becomes: is anything missing from that list of six?
The wallet result, and why I am telling you how I nearly got it wrong
zodl-android reports no shipping dependency carrying a published advisory. Getting to that number took
three passes, and the two wrong ones are worth more to you than the right one.
First pass: zero findings. Which looked clean and was not. My tooling parses pom.xml but had never heard of
Gradle, so a project with no pom.xml got no dependency coverage at all. “Nothing found” meant “never looked” —
the worst possible failure for an audit, because it is indistinguishable from good news.
Second pass, after I added Gradle lock file support: three critical and twenty high. In a wallet. The
temptation to publish that was considerable. Instead I read them: io.netty, org.freemarker,
org.bouncycastle — server-side Java libraries, in an Android app. They arrive through Gradle plugins and never
reach the APK. Reporting them as wallet vulnerabilities would have been alarmist nonsense, and you would have
been right to stop reading there.
Third pass. A convention-plugin module names its configurations compileClasspath and runtimeClasspath
like any other, because from its point of view they are. Neither the file name nor the configurations settle it.
The content does: a module that resolves the Android Gradle Plugin is the thing that builds the app, so it
ships nothing. With that rule they collapse into one informational “non-runtime dependencies” entry — in today’s
bundle, 52 advisories across 16 build-only packages — which is the truth.
I am telling you this because precision is the only thing that makes an inventory worth having, and the only
honest way to demonstrate it is to show where it failed. All three passes are reproducible from the published
methodology; the fix is pinned by tests in both directions.
Why the numbers moved, and what moved them
The application cites 36 findings for librustzcash on 2026-10-21. Two days later the same commit gave
38. Re-run on 2026-10-27, still the same commit, it gives 51. Nothing in the code changed — every audit is
pinned to a commit precisely so this is visible rather than hidden.
I re-audited all six and attributed the difference finding by finding. Of the 50 new findings across the six,
49 are the advisory databases moving — OSV publishing or re-rating entries against dependency versions that did
not change — and 1 is my engine (the Gradle non-runtime entry described above).
zcash-android-wallet-sdk +18, zcash-swift-wallet-sdk +16, librustzcash +13, lightwalletd +2, zebra +1.
No new high-severity finding appeared in any of the six; the four highs are the same four. Across my whole
34-audit portfolio the split on one such re-run was +150 from the databases against −6 from the engine, on
identical pinned code.
That is the argument for funding a re-runnable process rather than a PDF: an audit delivered as a document is
measurably stale within a week of signing, and the figure above is the measurement. I did not plan it — it fell
out of checking my own published numbers.
What I would rather you hear from me
- Post-quantum work is not on ZCG’s “What We’re Ready To Fund” list. The closest listed item is “Audits for
updated Zcash software” under Core, and that is honestly what this is. Weigh it as the unrequested proposal it is. - An advisory match is not a demonstrated exploit. It means a pinned version matches a published advisory.
Whether the affected path is reachable is separate work I do not claim. The tooling records these as known
vulnerable component, deliberately distinct from confirmed vulnerability. - This is not a cryptographic review. Halo 2, the circuits and the protocol are out of scope; hire a
cryptographer for that, who will work faster with the inventory in hand. - The scanner was built with substantial AI assistance and its rules have produced false positives. I find them
by reading findings against real source. In these six, exactly one was a detector error:zebra’s
book/mermaid.min.js, where theMath.randomcalls belong to a vendored documentation library that never runs
in the node. It is recorded in the bundle as dismissed, with that reasoning, rather than quietly dropped.
Outside this scope, re-reading every hard-coded-secret finding in my portfolio against the audited bytes on
2026-10-27 split 11 flagged values into 6 detector errors, 3 credentials published on purpose, and 2 genuine;
the six no longer fire and the fix is pinned by tests in both directions. Every inventory row also carries a
confidence, so weak evidence reads as weak.
What the money is actually for
The scanning is automated and takes minutes; all six repositories cost me an afternoon and I am giving them away.
What I am asking to be funded is the part that does not automate: triage, the consolidated post-quantum migration
map across the whole stack, and a written methodology precise enough that someone who is not me can reproduce it.
Happy to answer anything here.