-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
feat: add malicious deeplinks, bypasses and reorg #328
Conversation
@@ -3069,65 +3102,6 @@ const initializeFormElements = () => { | |||
} | |||
}; | |||
|
|||
/** | |||
* Send With Odd Hex Data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this piece just moved to the new ppom section
|
||
const handleNewChain = (chainId) => { | ||
chainIdDiv.innerHTML = chainId; | ||
const networkId = parseInt(networkDiv.innerHTML, 10); | ||
chainIdInt = parseInt(chainIdDiv.innerHTML, 16) || networkId; | ||
chainIdPadded = `0x${chainIdInt.toString(16).padStart(77, '0')}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need this new format for the ChainID padded integer bypass
@@ -1636,7 +1669,7 @@ const initializeFormElements = () => { | |||
params: [ | |||
{ | |||
from: accounts[0], | |||
to: '0x5FbDB2315678afecb367f032d93F642f64180aa3', | |||
to: `${maliciousAddress}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all the malicious address ocurrences have been replaced by the new const variable, for clarity
Description
In this PR we add a couple of more functionalities for testing the PPOM feature:
Screenshots
Before
After
malicious-deeplinks-bypasses.mp4
Manual QA Steps