MetaMask / MetaMask/metamask-extension

[Bug]: Lock/Unlock - Locking the wallet leaves unapproved number (blue badge) in the MM icon

Open
#42,605 5 comments 0 reactions 0 assignees View on GitHub
regression-RC-13.28.0 Sev2-normal team-networks type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

Whenever I lock the wallet with Biometrics enabled, even if I lock it manually or auto-lock, the 'pending approval' number appears in the MM icon.

### Expected behavior

We shouldn't see pending approvals when we lock the wallet

### Screenshots/Recordings

https://github.com/user-attachments/assets/73e60d97-bc23-47ba-a0e5-a06a5facc8f6

### Steps to reproduce

1. Lock the Wallet
3. See unapproved number in MM icon
4. Unlock
5. See approvals cleared
6. Lock again
7. See more unapproved number in MM icon
8. Unlock
9. See approvals cleared

### Error messages or log output

```shell

```

### Where was this bug found?

Production

### Version

13.28.0 13.30.0

### Build type

None

### Browser

Chrome

### Operating system

MacOS

### Hardware wallet

_No response_

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the MetaMask extension on Chrome and macOS with biometrics enabled, following the lock, unlock, and relock steps in the report. Trace the lock/unlock flow and pending-approval badge behavior; done means locking the wallet no longer shows an unapproved number while unlocking still clears approvals.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.