Repository navigation
Community audit invitation — review the DCC protocol, fuzzy extractor, and SSS implementation #3
Replies: 3 comments
|
the useful split here is public review vs vuln handling. Since For the public side, one small thing that would make reviews easier is a template with: component, expected invariant, observed counterexample, affected file/commit, and whether it's disclosure-safe. That lets people discuss model gaps without accidentally turning the discussion into a live exploit writeup. |
|
@sueun-dev — thank you, this is exactly the kind of input I was hoping for. You're right on both points. The public/private split is already the intent behind On the template: great idea. I've added a structured format so reviewers can flag a model gap without it turning into a live exploit writeup — see
Please use that block when posting a finding here. Thanks again for helping shape the review process before it scales. |
📱 Call for testers: the face-scan flow on your phone (Sepolia, no real funds)BioWallet has only been measured end to end on desktop Chrome so far. Before claiming anything about mobile, I'd like independent results from real devices. If you have 15 minutes and a phone with a front camera, your report would help a lot, and it will be published in this thread. What to testUse Sepolia test ETH only. Never put real funds into a test wallet.
Most wanted
What to report (please copy this template)Screenshots are welcome, but crop out anything you consider private. Please never post
Found a security problem?Please don't post it here. Report it privately via GitHub Private Vulnerability Reporting or admin@metaspace.bio (see SECURITY.md). Attempts to fool the face check (photos, videos, masks) are explicitly welcome; the threat model already says liveness detection is UI-level only, and measured results are exactly what's missing. PrivacyThe app has no accounts, cookies or analytics; camera frames never leave your browser. Details: https://biowallet.metaspace.bio/privacy.html. Your RPC requests (balance, sending) go directly to public Sepolia nodes. Thank you! Every report, including "it didn't work on my phone", is useful. — László (developer of BioWallet) |
Uh oh!
There was an error while loading. Please reload this page.
Invitation for community security review
BioWallet is a browser-based biometric Ethereum wallet with a formally verified security protocol. Before pursuing a professional third-party audit, I would like to invite the community to review the implementation and the formal proofs.
What to look at
1. DCC causal chain protocol
File:
src/core/causal_chain.jsFormal proofs:
tests/verify_biowallet.py— 56 Z3 propertiesThe DCC protocol enforces that every vault operation (OPEN, SIGN, EXPORT) is causally preceded by a physical biometric event. Token TTL: 30s/10s/5s, single-use, vault-bound.
Question: are there state transitions or edge cases the Z3 model does not cover but the implementation allows?
2. BCH fuzzy extractor
File:
src/core/fuzzy_extractor.jsBCH(255,55,t=25) over FaceNet Float32[128] embeddings. Tolerates Hamming distance up to t=6 between enrollment and authentication.
Question: is the entropy estimate for FaceNet embeddings reasonable? Is t=25 a safe BCH parameterization for this input distribution?
3. Shamir 2-of-3 SSS over GF(2^8)
Files:
src/core/sss.js·tests/verify_sss_gf256.py— 13/13 PASS, 196,608 exhaustive cases4. Vault cryptography
File:
src/core/vault.jsAES-256-GCM, random 12-byte nonce per operation, PBKDF2-SHA256 (300k iterations), genesis HMAC chain.
Question: nonce policy, downgrade path between vault versions (v1→v5), recovery path security.
5. Worker isolation and message protocol
File:
src/app/vault_worker.jsQuestion: is there a path for malicious postMessage injection or worker message schema confusion?
Known limitations (not in scope for this review)
Resources
All findings welcome — from typos in the proofs to critical implementation bugs. If you find something significant, please use private vulnerability reporting instead of posting it here publicly.
All reactions