Duress is an Android app that listens for a duress password typed on the lockscreen. It is meant for people who may be forced to unlock their phone and want a way to signal trouble or erase their data.
When the password is entered, it can send a broadcast message or wipe the device. Wiping needs an optional device admin permission, and the app needs accessibility access to watch the lockscreen. It does not work in safe mode. Tested on Android 12 on an emulator, a Pixel 4a, a Pixel 5a and a Samsung Tab S8. The source is GPL-3.0 licensed and free.
Alternatives to Duress
Products that do a similar job in Security & Privacy.
Tailscale
Mesh VPN that connects your devices over WireGuard
Droynis
Read-only security and privacy audit for Android phones
ProtonVPN
VPN client for macOS focused on security and privacy
Cryptomator
Client-side encryption for files stored in cloud storage folders
Yubico Authenticator
Companion app for managing YubiKey one-time codes and credentials
Sweep
Android checkup that looks for stalkerware and spyware signs on your phone
Bitwarden
Open source password manager with an encrypted vault for the desktop
Clash Verge Rev
Desktop GUI client for managing Clash and Mihomo proxy rules