brave-browser: Browser crashes when invalid EIP712 request data is submitted

Description

https://user-images.githubusercontent.com/23125059/214696853-845d8d9f-b4fd-45e7-99ad-2c36b5c6fb53.mp4

Steps to Reproduce

  1. clone https://github.com/coinspect/test-dapp-eip-712 and modify line 133 to be { name: 'name', type: 1234 },
  2. start DApp and connect to wallet
  3. click sign

Actual result:

browser crash

Expected result:

Should fail gracefully and not crash the browser process

Reproduces how often:

Easily reproduced

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (15 by maintainers)

Most upvoted comments

That’s correct @kjozwiak it’s not merged yet. I got stuck trying to resolve a CI build issue on https://github.com/brave/brave-core/pull/17292 and haven’t spent the time to try and resolve that yet.

@kdenhartog closed https://github.com/brave/brave-core/pull/17099#pullrequestreview-1302104041 & https://github.com/brave/brave-core/pull/17100#pullrequestreview-1302105403 as it looks like the above is still an issue. Once the issue that @srirambv found has been fixed, lets create new uplifts 👍 If this needs to go out ASAP, the 1.48.x maintenance release is scheduled on February 22 as per https://github.com/brave/brave-core/pull/17100#pullrequestreview-1302105403. If it doesn’t make it, we can just uplift into 1.49.x if needed.