MetaMask / MetaMask/metamask-extension

Expose excerpt of past interactions within an address component

Open
#17,987 2 comments 0 reactions 0 assignees View on GitHub
team-unkown type-enhancement type-security
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

**This is a security enhancement.**

An ongoing attack tricks the user into sending stablecoins by doing an address poison (probably using profanity or another vanity tool). To reduce the surface of interacting with an unknown address, we may want to expose the last interaction timestamp with the address so it is easy for the user to recognize that known address (even if it is not in the address book).

Eg. `Interacted on Nov 4th, 2022`

We also may want to stop showing truncated addresses when the space is available. If monospaced fonts are available, let's prioritize its use when showing addresses.

REF https://consensys.slack.com/archives/GFX1Y66SD/p1677824671860949

**Proposed UI**
Screen Shot 2023-03-05 at 10 34 19

WIP https://www.figma.com/file/r7NcOZ3r8klYV00sjhgWcN/Show-excerpt-of-past-interactions-in-addresses?t=8XKxP3hl2TvS0uUK-6

Contributor guide

Open the contributing guide

Research direction

Start with the proposed UI in the issue and review the linked Figma design to understand the intended address component changes. Done means showing the last interaction timestamp for a known address, avoiding unnecessary truncation when space allows, and prioritizing monospaced address text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.