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

add sanitizeTypeData function with tests #1028

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

brunobar79
Copy link
Member

@brunobar79 brunobar79 commented Oct 2, 2023

Fixes BX-1051
Figma link (if any):

What changed (plus any additional context for devs)

Added sanitize function to filter out fields that doesn't match the types in the message that's being signed to prevent phishing attempts. With this fix what you see is what you sign.

Screen recordings / screenshots

What to test

Unit tests were added

@linear
Copy link

linear bot commented Oct 2, 2023

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Here's the packed extension for this build:
rainbowbx-aa5b4266afbd4d64d64dad1efc0d042d70a6033d.zip

@brunobar79 brunobar79 requested a review from a team October 2, 2023 21:29
@brunobar79 brunobar79 merged commit 2967116 into master Oct 3, 2023
3 checks passed
@brunobar79 brunobar79 deleted the @bruno/712-ui-fix branch October 3, 2023 15:34
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Here's the packed extension for this build:
node_modules.tar.gz
rainbowbx-296711687eabac500285d3316dcd9c0c38c5c5fb.zip

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.

3 participants