Skip to content

Detector: ZK verifier missing public-input / field-element range validation #628

Description

@Gbangbolaoluwagbemiga

Epic: Zero-Knowledge Verification

Summary

Flag on-chain proof verification that consumes public inputs without validating they are canonical field elements in range.

Background & Problem

A verifier that accepts out-of-range or non-canonical public inputs can be tricked; this is a classic ZK integration bug.

Impact / Why it matters

Prevents a whole class of critical verifier bypasses.

Proposed Approach

  • Identify verification entry points + public-input params.
  • Check for range/canonicality validation before the pairing check.

Acceptance Criteria

  • Flags missing public-input validation.
  • No FP when validation is present.

Filed as part of the mainnet-readiness & world-class roadmap. Scope is intentionally small enough for one focused PR; comment to claim.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSThird CampaignCampaign: Third Campaignarea: core-enginesanctifier-core static analysis enginecryptographydetectorNew or improved static-analysis detectordifficulty: expertRequires deep expertise, ~2+ weekspriority: criticalBlocker — must fix immediatelypriority: highHigh impact, next sprinttype: featureNew capability or enhancementzkZero-knowledge proofs & circuits

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions