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: merkle proof data conversion to only remove leading zeros #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ametel01
Copy link
Collaborator

  • Fix critical security vulnerability in u256_to_be_bytes where all zeros were being removed
  • Update implementation to only remove leading zeros while preserving internal and trailing zeros
  • Add comprehensive unit tests to verify correct byte handling
  • Fixes audit finding regarding Merkle proof verification vulnerability

- Fix critical security vulnerability in u256_to_be_bytes where all zeros were being removed
- Update implementation to only remove leading zeros while preserving internal and trailing zeros
- Add comprehensive unit tests to verify correct byte handling
- Fixes audit finding regarding Merkle proof verification vulnerability
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.

1 participant