security: add prominent danger warning for eth_sign requests

This commit is contained in:
2026-02-27 11:35:21 -08:00
parent 95314ff229
commit 13e2bdb0b0
3 changed files with 25 additions and 0 deletions

View File

@@ -1015,6 +1015,12 @@
wants you to sign a message.
</p>
<div
id="approve-sign-danger-warning"
class="hidden mb-3 p-2 text-xs font-bold"
style="background: #fee2e2; color: #991b1b; border: 2px solid #dc2626; border-radius: 6px"
></div>
<div class="mb-3">
<div class="text-xs text-muted mb-1">Type</div>
<div id="approve-sign-type" class="text-xs font-bold"></div>