Skip to content

Releases: MetaMask/phishing-warning

1.2.2

01 Feb 17:00
9acdad4
Compare
Choose a tag to compare

Changed

  • Update ses version from v0.12.4 to v10.18.1 (#53)
  • Update @metamask/design-tokens from 1.9.0 to 1.11.1 (#46)
    • This includes minor color updates.

1.2.1

12 Jul 20:16
fa28a81
Compare
Choose a tag to compare

Fixed

  • Fix build script to exclude file imports from @metamask/post-message-stream which expect to only run in the context of a Web worker (#27)

1.2.0 [DEPRECATED]

12 Jul 18:27
65a37e8
Compare
Choose a tag to compare

Added

  • Add a check for the protocol of the url being blocked. Remove continue at your own risk option if protocol is disallowed (#16)
  • Add optional arg newIssueUrl to getUrl function so that the correct link to direct disputes can be specified by a hash query param. (#23)

v1.1.0

16 May 15:04
d463627
Compare
Choose a tag to compare

Added

  • Add service worker for offline caching (#9)
  • Add favicons (#8)
  • Add actions to publish to gh-pages (#3)
  • Add dummy "main" script (#6)
    • This allows locating the package install directory using require.resolve, which is better for compatibility between package managers.
    • The main script throws an error, helping to prevent accidental misuse.
  • Skip initialization if the page is being loaded solely to install the service worker (#11)
    • If the hash #extensionStartup is set, skip setup and assume the page is being loaded just for service worker installation. We use this technique to ensure the service worker is installed during the MetaMask extension startup process.
  • Add anti-clickjacking measures (#12)
    • A script was added to the HTML file to detect when the frame is being embedded. If it detects that it is embedded, a separate design is used that prompts the user to open the warning page in a new tab to proceed. This ensures the blocked page cannot be added to the safelist via a clickjacking attack.