Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix proof packing/unpacking #1239

Merged
merged 3 commits into from
Mar 14, 2025
Merged

fix proof packing/unpacking #1239

merged 3 commits into from
Mar 14, 2025

Conversation

decentralgabe
Copy link
Contributor

PR Type

  • Bug Fix

Description

Checklist

  • I have self-reviewed this PR.
  • I have left comments in the code for clarity.
  • I have added necessary unit tests.
  • I have updated the documentation as needed.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
@@ -5587,6 +5726,14 @@ packages:
snake-case@3.0.4:
resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==}

snarkjs@0.4.16:
Copy link

@semgrep-code-worldcoin semgrep-code-worldcoin bot Mar 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~~Risk: snarkjs versions before and including 0.6.11 are vulnerable to Improper Validation of Specified Quantity in Input. Double spending is possible because there is no validation that the publicSignals length is less than the field modulus.

Fix: There are no safe versions of this library available for upgrade. Library included at developer-portal/web/pnpm-lock.yaml:5729.

Reference(s): GHSA-xp5g-jhg3-3rg2, CVE-2023-33252~~

Fixed in commit cc8b939

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
@decentralgabe decentralgabe merged commit 22a9372 into main Mar 14, 2025
11 checks passed
@decentralgabe decentralgabe deleted the try-again branch March 14, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants