Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Determine security model for labeling plugins in UI #115

Description

@danfinlay

Our current beta somewhat punts this issue: When referring to a plugin, we name it by entry-point (which is the most secure string we can render, but is not totally human friendly).

There are other points in the UI where we'd like to more gracefully refer to a given plugin, but we need to ensure:

  • Plugins cannot impersonate primary MetaMask UI
  • Plugins cannot impersonate other plugins

This issue will represent a place to discuss ways of ensuring users have the most friendly and secure labeling of plugins in our UI.

A few ideas:

  • During plugin installation, one permission can be "To present itself as [X] in your interface" (this could be defined by the name field in the plugin manifest).
  • We could give users the opportunity to locally nickname a plugin at install time or later.
  • We could deterministically generate a security background pattern that is force-rendered under all UI provided by a given plugin, along with a MetaMask-secured icon/button for getting more info about the info source.
  • We could maintain a sort of name registry, which we allow for labeling.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions