# \[ghost-eye\] Single D keypress irreversibly deletes a wallet seed, no confirmation, no backup

**URL:** <https://ghostforum.org/t/ghost-eye-single-d-keypress-irreversibly-deletes-a-wallet-seed-no-confirmation-no-backup/176>\
**Category:** Submitted\
**Tags:** ghost-eye\
**Created:** [October 9, 2026, 2:53am UTC](https://ghostforum.org/t/ghost-eye-single-d-keypress-irreversibly-deletes-a-wallet-seed-no-confirmation-no-backup/176 "2026-10-09T02:53:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rusdiwireng](https://ghostforum.org/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@Rusdiwireng](https://ghostforum.org/u/Rusdiwireng)\
**Post date:** [October 9, 2026, 2:53am UTC](https://ghostforum.org/t/ghost-eye-single-d-keypress-irreversibly-deletes-a-wallet-seed-no-confirmation-no-backup/176/1 "2026-10-09T02:53:01Z")

</div>

**Component:** `ghost-eye` @ `ee23e6b`, `src/components/wallet/accounts.rs:211-222` (`delete_row`), `:541` (key binding).

**Description:** `KeyCode::Char('D')` maps directly to `delete_row()`, which removes the `AccountInfo` (containing the hex seed) from memory and rewrites the `wallet-keys` file without it. No confirmation dialog exists anywhere in the app, there is no backup file, and there is no trash. If the seed was generated inside ghost-eye and never copied elsewhere, one accidental `D` (adjacent to movement keys) permanently destroys access to the funds. The only guard prevents deleting the last remaining wallet.

**Impact:** Purely local user error, no attacker path. The consequence (total key loss) is disproportionate to the trigger (one keypress).

**Severity: Low.** Reason: local-only, no attacker path; capped because a single accidental keypress can permanently destroy fund access.

**Recommendation:** Require explicit typed confirmation (for example, type the wallet name) before deleting a key, and write a timestamped backup of the removed line before rewriting the file.

**Verification:** VERIFIED (code read).

---

<div class="post-metadata">

**Author:** ![VoidDragon](https://ghostforum.org/user_avatar/ghostforum.org/voiddragon/32/16_2.png) [@VoidDragon](https://ghostforum.org/u/VoidDragon)\
**Post date:** [October 11, 2026, 3:19pm UTC](https://ghostforum.org/t/ghost-eye-single-d-keypress-irreversibly-deletes-a-wallet-seed-no-confirmation-no-backup/176/2 "2026-10-11T15:19:53Z")

</div>

Thank you for your report!

You are 100% correct here. This really needs some attention, since some users have already reported the same issue - but they were lucky, because it was an empty address. It should be fixed in an upcoming release.

---

<div class="post-metadata">

**Author:** ![system](https://ghostforum.org/uploads/default/original/1X/f825b09f2858dd06dbbbfa63828cd03c35016a8c.png) [@system](https://ghostforum.org/u/system)\
**Post date:** [October 14, 2026, 3:19pm UTC](https://ghostforum.org/t/ghost-eye-single-d-keypress-irreversibly-deletes-a-wallet-seed-no-confirmation-no-backup/176/3 "2026-10-14T15:19:55Z")

</div>

Closed on October 14, 2026, 3:19pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
