Security feature: Show seed phrase only after entering password #872
Labels
enhancement
New feature or request
good first issue
Good for newcomers
security
Issues related to security; could lead to loss of funds
Milestone
Is your feature request related to a problem? Please describe.
When logged into JAM, any user of that computer can easily access the seed phrase by simply selecting "Show seed phrase" as shown in the attached screenshot. This presents a significant security risk, as there is no additional authentication step required to view this sensitive information. This lack of a security barrier could lead to unauthorized access to the wallet if someone else gains temporary access to the browser window.
![grafik](https://private-user-images.githubusercontent.com/121948323/389442077-5c1e092b-aa0d-458d-8836-b76b8e140316.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDM4NTEsIm5iZiI6MTczODkwMzU1MSwicGF0aCI6Ii8xMjE5NDgzMjMvMzg5NDQyMDc3LTVjMWUwOTJiLWFhMGQtNDU4ZC04ODM2LWI3NmI4ZTE0MDMxNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QwNDQ1NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMWFkNDQzMzcxYTQyYzc5ODZhMDI5ZDkzNWJhMzBmYzc3N2U4ODQ4YTg4MTE1MjI4MTQwY2I2YTc3OGM0OGNhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.S8W4vrd1yXkE6NdYdsC9rvLBVSWKTtV2DjLxiL1dYAo)
![grafik](https://private-user-images.githubusercontent.com/121948323/389442200-940377fa-9c9f-4383-b972-283cbf3b6063.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDM4NTEsIm5iZiI6MTczODkwMzU1MSwicGF0aCI6Ii8xMjE5NDgzMjMvMzg5NDQyMjAwLTk0MDM3N2ZhLTljOWYtNDM4My1iOTcyLTI4M2NiZjNiNjA2My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QwNDQ1NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZTQ1YmJlYzY2OWU3MjBkZWY1Njc3ZGJjMTczYjIzNGVjYjkyZmNlZTg0ODM0MDI2NGYzYTgwZWUzY2E1ZWZjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1aUcsm5jnq7KOThlL_p_5JwhcWSrTf0JbBZx15PI0Rs)
Describe the solution you'd like
Implement an additional layer of security for displaying the seed phrase. Specifically, when a user attempts to view the seed phrase, they should be prompted to enter their wallet password again. This step would ensure that only the legitimate wallet owner can view the seed phrase, adding an essential security checkpoint.
Describe alternatives you've considered
Timed Access: Allow the seed phrase to be visible for only a short period (e.g., 30 seconds) after successful authentication, after which the user would need to re-authenticate to view it again. Or lock the browser window after a certain amount of time.
Additional context
The text was updated successfully, but these errors were encountered: