ZecSec: Zcash Ecosystem Security


ZecSec's Q1 2023 Transparency Report

The ZecSec project publishes quarterly transparency reports in order to ensure accountability and to help the Zcash community understand how its funds are being spent. This is the report for Q1 of 2023.

Note that some of these reports may be delayed, and some information may be redacted or slightly modified, in order to prevent the disclosure of unresolved security bugs.

The current grant allows me to bill $1000 USD per day, up to a maximum of $17,000 per month, up to 12 total months. The sections below break down and explain my invoices for Q1 2023. The previous transparency report, for Q4 2022, can be found here.

January

In January, the bulk of my time went into a security audit of lightwalletd. I also did a quick review of ZGo and did some research on secure messaging cryptography, thinking about how Zcash’s memo field could be extended to better support messaging use cases.

DaysDescription
12Security audit of lightwalletd
1Secure messaging cryptography research
2Quick security review of ZGo
2Miscellaneous time including office hours, PR review, and preparing the last transparency report

Total days: 17, Total paid: $17,000.

February

In February, the main item I spent time on was thinking about how we could change the Zcash protocol to make transaction syncing more performant and scalable. I was also put in touch with some SGX/ORAM researchers interested in using the technology to help solve Zcash’s performance issues, which led me to writing a risk analysis of SGX and other Trusted Execution Environments.

DaysDescription
2lightwalletd audit remediation coordination/assistance
3SGX / TEE / ORAM research leading to the risk analysis blog post
6Scalable transaction detection protocol design
3Quick security audit of free2z
3Helping investigate disclosed memory exhaustion bugs in zcashd

Total days: 17, Total paid: $17,000.

March

In March, I audited Zondax’s shielded hardware wallet code. I also reviewed the ZIPs for Zcash Shielded Assets (note that I missed a bug!).

DaysDescription
12Security audit of Zondax’s shielded Zcash Ledger app code
1Researching Identity-Based Encryption for scalable protocol designs
3ZSA ZIPs review
1Office hours and other miscellaneous items

Total days: 17, Total paid: $17,000.

Conclusion

In Q1 of 2023, I completed two major audits (of lightwalletd and Zondax’s shielded hardware wallet), several quick audits (of ZGo, free2z, and the ZSA ZIPs), and published research on a scalable protocol design and an analysis of the risks of using SGX/ORAM to fix Zcash’s performance issues.

In total, I invoiced 51 days and received $51,000 paid in ZEC.

If you have questions about the work that was done or have suggestions for future priorities, you can either email me at zecsec@defuse.ca or reply on the grant’s forum thread.