Skip to content

[Bug]: MetaMask signature request immediately appears and then disappears depending on the content of the signature request's message #18241

@oconnorjoseph

Description

@oconnorjoseph

Describe the bug

This issue only occurs in v10.26 and not in v10.25.0 or earlier. It occurs in both Chrome v111 and the latest version of Brave.

When sending a signature request to MetaMask, the following message will cause the MetaMask Notification popup for the signature request to appear for <1s and immediately disappear:
image
The MetaMask Notifiation popup loads only displaying the MetaMask logo before immediately crashing.

Modifying this message very slightly by either removing the newline character after the first ':' (as seen in the image below) or removing the first ':' does not produce this error. The MetaMask Notification popups appears as expected for the signature request.
image

Steps to reproduce

  1. Request a signature of the form
blumint.com wants you to sign in with your Ethereum account:
0xa6b691ff5fbDd3A79011899709fB21d3d63cAA27


URI: https://blumint.com/
Version: 1
Chain ID: 1
Nonce: vzIdleYcNrqDJ5JSw
Issued At: 2023-03-20T15:53:22.173Z
Expiration Time: 2023-03-20T16:08:21.892Z
Not Before: 2023-03-20T15:53:21.892Z

Error messages or log output

No error message or log output is produced.

Version

v10.26.1

Build type

None

Browser

Chrome, Brave

Operating system

Windows, MacOS

Hardware wallet

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Sev1-highHigh severity; partial loss of service with severe impact upon users, with no workaround.team-confirmationsPush issues to confirmations teamteam-confirmations-secure-ux-deprecatedDEPRECATED: please use "team-confirmations" insteadteam-extension-platformExtension Platform teamtype-bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions