Vault panic/quick-hide and decoy settings flip without confirmation or toast #191
Labels
No labels
blocked:depends-p1
blocked:gate-research
blocked:lint-failed
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
data-loss
documentation
enhancement
feature-request
in-progress
needs-decompose
needs-triage
pwa
quickfix
security
security/high
security/medium
test
test-coverage
triage-approved
vault
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_kin_app_sync#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
In
Settings -> Vault:In contrast, the adjacent Reset Vault Data button correctly gates behind a
ConfirmDialog(src/pages/Settings.tsx:2195) before destructive action.Why this matters
The panic gesture is a safety feature. If the user accidentally toggles Quick-Hide OFF while configuring something else, they have silently disarmed the panic gesture with no undo. The same applies to the decoy type -- if a quick tap changes the decoy from "Blank Screen" (plausible deniability) to "Calculator App" or "Home Page", the panic response no longer protects the user as expected, and they may not notice until they need it.
Repro
Settings -> Vault -> Quick-Hide (Panic Gesture)-> toggle ON.All three changes are persisted silently to Capacitor Preferences (
vaultPanicEnabled,vaultPanicDecoyType,vaultPanicShakeThreshold) -- verified via storage shim during the 2026-09-20 privacy vault shakedown.Severity
Cosmetic / UX. Not data-loss, not functional. But misaligned with the safety intent of the feature.
Suggested fix
Either:
enrollVault,changeVaultPin, andresetVaultDataalready toast), or"Disarm panic gesture?") similar to Reset Vault Data.