Skip to content
Crypto Audit finding Advanced

ro[config.log_blowup] is not checked to be zero in recursive verifier

The recursive verifier in the Pico zkVM omits a check that the reduced opening value ro[config.log_blowup] is zero, allowing a malicious prover to create domains of size 1 and bypass FRI verification. This breaks the soundness of the proof system, meaning a prover could produce false proofs that the verifier accepts.

1AutumnLeaf777 Follow

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2025-08-pico-judging/issues/228

Found by

1AutumnLeaf777

Summary

The recursive verifier is missing a check that asserts the validity of the reduced openings

Root Cause

https://github.com/succinctlabs/sp1/blob/28ee277e048e49ebdc608f63a1f6b77240e0668f/crates/recursion/circuit/src/fri.rs#L219 as we can see there is a final check that ro[config.log_blowup] is equal to zero in the extension field however this check is missed here: https://github.com/sherlock-audit/2025-08-pico/blob/main/pico/vm/src/compiler/recursion/circuit/fri.rs#L212-L231 This allows a malicious prover to construct domains of size 1 and provide reduced openings on that domain, which allow them to bypass FRI verification

Internal Pre-conditions

None

External Pre-conditions

None

Attack Path

The prover can set the values of each domain to have size 1 meaning that queries on them yield the same point, which allows him to bypass the query verification logic

Impact

The recursive verifier does not have soundness guarantees especially with respect to the simulation of the PCS

PoC

No response

Mitigation

Add the check that the ro[config.log_blowup] is 0 to ensure domains of size 1 cannot be created

Discussion

sherlock-admin2

The protocol team fixed this issue in the following PRs/commits: https://github.com/brevis-network/pico/pull/61

The original report as published on Sherlock, by 1AutumnLeaf777. Images and videos are our own copies; raw HTML is shown as text. View it on Sherlock.

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

The recursive verifier omits a check that ro[config.log_blowup] equals zero, which is present in the reference implementation, allowing domains of size 1 to be used.

Impact

The recursive verifier lacks soundness guarantees, so a malicious prover could bypass FRI verification and simulate the PCS.

What the attacker needed

Ability to submit a crafted proof

The fix

The protocol team fixed this issue by adding the missing check that ro[config.log_blowup] is zero.

How it was found

  1. Set the values of each domain to have size 1.
  2. Provide reduced openings on that domain.
  3. Bypass the query verification logic.

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 recursive verifier is a program that checks proofs about other proofs. FRI is a technique used in some proof systems to check that certain mathematical commitments are correct. The verifier here forgot to check one value, so an attacker could craft a proof that passes verification even though it is invalid.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by 1AutumnLeaf777

View all

5 more disclosed reports, best first.

More from Brevis Pico ZKVM

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.