Hunt prep
Before you test Brevis Pico ZKVM
What 15 disclosed reports say about Brevis Pico ZKVM: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Crypto lesson | 12 | 0 | – | – | $0 |
| Business logic lesson | 2 | 0 | – | – | $0 |
| Memory corruption lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Word range check uses unconstrained `upper_all_one` local variable when field prime is `Mersenne31`
The constraint line should be uncommented so that the IsZeroGadget is evaluated and the column is properly constrained; the protocol team fixed this issue.
Disclosed
-
Quotient domain is completely controlled by prover
The quotient degrees should be taken from the length of the chips and not supplied as a prover-trusted input; the text states the protocol team fixed this issue.
Disclosed
-
Chip ordering is used to fetch all chips instead of preprocessed ones
The protocol team fixed this issue in a pull request.
Disclosed
-
`operand_to_check` is not constrained to be a valid word in `eval_ecall`
Ensure that each limb in `operand_to_check` is constrained to be a valid `u8`.
Disclosed
-
wrong sign handling when x == 0 produces non-canonical / out-of-range x = p
The protocol team fixed this issue in a pull request.
Disclosed
-
First chunk having cpu chip is incorrectly checked in convert circuit
The check should be moved before the increment or adjusted to compare the pre-increment value; the protocol team fixed this issue.
Disclosed
-
Malicious verifier will recover private witness values breaking zero-knowledge property
The issue was fixed by updating the gnark library to at least version 0.11.0.
Disclosed
-
`global_cumulative_sum` is not enforced to be zero when combine is complete
The protocol team fixed this by adding an assertion that global_cumulative_sum is zero when flag_complete is true.
Disclosed
-
Inconsistent Multiplicity Increment in `read_ghost_addr`
The protocol team fixed this issue by changing the increment_mult argument to false in read_ghost_addr.
Disclosed
-
compress right after convert can bypass completeness checks
The issue was fixed by either checking completeness conditions on the convert proof or by not allowing the completeness flag to be set to true in the convert step.
Disclosed
-
read_write chip does not enforce constraints on opcode selectors
The issue was fixed by constraining the whole instruction with opcode selector and op_a_0 in the read_write chip.
Disclosed
-
Missing `offset` check will cause integer overflow violating ELF specification
The issue was fixed by using checked arithmetic that returns an error when the offset calculation overflows.
Disclosed
-
ro[config.log_blowup] is not checked to be zero in recursive verifier
The protocol team fixed this issue by adding the missing check that ro[config.log_blowup] is zero.
Disclosed
-
Polynomial evaluations are never observed by recursive verifier
The protocol team fixed this issue by observing each of the evaluations into the challenger.
Disclosed