Chip ordering is used to fetch all chips instead of preprocessed ones
The verifier uses a prover-supplied chip ordering to decide which chips to open, allowing a prover to provide openings for only a subset of chips. An attacker could therefore submit invalid execution proofs that the verifier accepts.
Originally disclosed on Sherlock
Source: https://github.com/sherlock-audit/2025-08-pico-judging/issues/204
Found by
1AutumnLeaf777
Summary
The prover provided chip_ordering allows for a prover to only provide chips that they would like opened rather than the opening values for every chip.
Root Cause
We can see that the chips that will be used in the verify_shard function are created here:
https://github.com/sherlock-audit/2025-08-pico/blob/main/pico/vm/src/machine/verifier.rs#L77
This is entirely prover controlled and thus similar to the previous issue #4 we can see that the prover can selectively provide openings for some chips and not for the entire execution.
Internal Pre-conditions
None
External Pre-conditions
None
Attack Path
- Attacker specifies the chip ordering to be only for one specific chip
- They manipulate the opened values and traces accordingly like in issue #4
Impact
Invalid proofs of execution are accepted by the verifier
PoC
No response
Mitigation
Ensure that the chip ordering is used only to validate against preprocessed chips
Discussion
sherlock-admin2
The protocol team fixed this issue in the following PRs/commits: https://github.com/brevis-network/pico/pull/61
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the verifier trusts a prover-controlled chip ordering to select which chips to open, instead of using it only to validate against preprocessed chips.
Impact
Invalid proofs of execution are accepted by the verifier.
What the attacker needed
None
The fix
The protocol team fixed this issue in a pull request.
How it was found
- Attacker specifies the chip ordering to be only for one specific chip
- They manipulate the opened values and traces accordingly like in issue #4
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A zero-knowledge proof system lets someone prove a computation happened without showing all the details. Here, the person making the proof could choose which parts of the computation to reveal, so they could hide the parts that would show their proof was wrong. The checker accepted these incomplete proofs as valid.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.