Skip to content
Access control Write-up Intermediate

$3,500 Bounty —  Total Failure of Password Protection While Extracting Seed Phrase — A Critical…

MetaMask's UI layer could access the seed phrase without requiring the user's password, bypassing the expected authentication checkpoint. While not directly exploitable at the time, any code running in the UI could potentially extract the seed phrase without a password.

hacker-write-ups Follow

Published on hacker-write-ups.medium.com

In this write-up, we break down a critical flaw discovered in the MetaMask browser extension, where a password check was entirely bypassed when accessing the user’s seed phrase — one of the most sensitive components of any crypto wallet. While not directly exploitable, the implications were serious enough to earn a…

Hacker Write-Ups, on hacker-write-ups.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a broken separation of concerns: the UI layer was allowed to access the seed phrase directly instead of going through a password-protected backend check.

Impact

Although no XSS vulnerability existed at the time, the flaw significantly increased the attack surface: if any XSS bug were present, it could give attackers direct access to the seed phrase without needing the password.

What the attacker needed

MetaMask browser extension; code execution in the UI (e.g., via XSS)

The fix

Authentication boundaries should be enforced so that the UI cannot bypass password checks when accessing sensitive data like the seed phrase.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A seed phrase is a list of words that can restore a crypto wallet, so it must be kept secret. Normally, MetaMask asks for your password before showing it. This report found that the wallet's interface could read the seed phrase without asking for the password, which is dangerous if malicious code ever runs in that interface.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.