Security and how to verify it
Last updated: 13 November 2026 · Describes Kavach 1.3.4
You should not have to take our word for it. This page says what Kavach protects, what it does not, and gives you steps to check the main claims yourself.
What Kavach protects
- Items (logins, cards, notes, keys and so on) live in a SQLCipher database, which encrypts the whole database file with AES-256.
- Secure Files (documents and media up to 20 MB) are stored as separate AES-256-GCM encrypted blobs.
- Password hardening: typed secrets are stretched with Argon2id (64 MiB memory, 3 iterations, parallelism 4, 32-byte random salt) so that guessing is slow.
- Android Keystore holds the secrets that must survive between launches, and the attempt counters for PIN and password entry.
- Rate limiting: wrong PIN or password entries trigger growing waits, and after 10 wrong PINs the keypad is disabled until the master password is used.
- Screen: screenshots, screen recording and the recents thumbnail are blocked.
- Clipboard: copied secrets are flagged sensitive and cleared after 45 seconds.
- Locking: Kavach locks when you leave the app, when the screen turns off, and after your idle time.
- No account, no servers. Nothing is sent to us, because we run nothing to send it to.
What Kavach does not protect against
- A weak password. Argon2id slows an attacker down. It cannot rescue a short or common master password or backup password.
- A rooted or compromised device. If an attacker can extract Android Keystore contents or run code as Kavach, on-device protections such as the PIN gate and its counters can be bypassed.
- A camera pointed at your screen, or someone watching you type.
- Other apps reading the clipboard during the 45 seconds a copied secret is there, on older Android versions.
- Plain CSV exports. A CSV export is readable by design; Kavach warns before creating one.
- Memory remnants. Keys are wiped after use, but a typed password held in a text string cannot be reliably erased until the system clears it.
- Losing your credentials. We cannot recover your data. Without your credentials and without a backup, it is gone.
- The Pro purchase flag is stored on the device with no server check. Someone with a rooted phone could unlock Pro for free. This does not affect your data.
What leaves your device
| Connection | When | What is sent |
|---|---|---|
Google Drive (www.googleapis.com) | Only if you sign in and back up, or switch on auto-backup | One encrypted .kavach file, in Kavach's private app folder of your own Drive |
Have I Been Pwned (api.pwnedpasswords.com) | Only when you run the Security Scan | The first 5 characters of a one-way SHA-1 hash of a password, with padding |
| Google Play Billing | Pro purchase and restore | The Pro product id, handled by Google Play |
There is no analytics, crash reporting, advertising or tracking code. QR codes are read on your phone by an open-source decoder written in Dart (a port of ZXing), with no network use. Versions up to 1.3.3 used Google's ML Kit for this, and Google documents that ML Kit sends diagnostic data (device details, app version, performance metrics) to Google. Version 1.3.4 removed it. If you use an older version, update. Cleartext (non-HTTPS) traffic is blocked, and Android's own cloud backup of the app is switched off.
Permissions
These are the permissions in the 1.3.4 release, read from its merged manifest. You can read that file yourself: AndroidManifest.xml, and the list of packages the app is built from: dependencies.txt.
CAMERA— scanning 2FA QR codes. Images stay on the device.USE_BIOMETRIC,USE_FINGERPRINT— the system biometric prompt. Kavach never sees biometric data.INTERNET,ACCESS_NETWORK_STATE— the optional Drive backup and breach scan, and checking for a connection first.com.android.vending.BILLING— Pro purchase through Google Play.VIBRATE— keypad feedback.- An internal permission named
app.codewalker.kavach.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION, added automatically by an Android library to keep the app's own broadcasts private.
The copy delivered by Google Play also lists com.android.vending.CHECK_LICENSE, the Play licence-check permission. It is not in the file above, which is our build before upload and does not declare it. It appears when the app is delivered through Google Play.
Check it yourself
1. It works with the network off
Turn on airplane mode, or in Android Settings open Apps, then Kavach, and turn off mobile data and Wi-Fi for the app. Create, view, edit and search items, add a 2FA code, make a local backup file. All of that works. Only Drive backup, the breach scan and purchases need a connection.
2. See what it connects to
Run a packet-capture or firewall app that logs per-app connections (for example, PCAPdroid or NetGuard), then use Kavach normally. You should see no connections until you start a Drive backup or a breach scan, and then only the hosts in the table above.
3. Check the permissions and backup flag
Install the app, then with a computer and USB debugging:
adb shell pm path app.codewalker.kavach
adb pull <path printed above, the base.apk> kavach.apk
aapt2 dump badging kavach.apk | grep uses-permission
aapt2 dump xmltree --file AndroidManifest.xml kavach.apk | grep -i -E "allowBackup|usesCleartext"
The permissions should match the list above, allowBackup should be false, and cleartext traffic should be disallowed. Note that this checks the delivered app, not our source.
4. Try to take a screenshot
Open Kavach and try a screenshot or screen recording. Android blocks it, and the recents screen shows a blank card.
5. Check a backup file with your own code
A .kavach backup is a simple, documented format. If you write your own decryptor from the description below and it opens a backup using your backup password, you have confirmed how backups are protected without trusting our code.
offset size field
0 4 magic "KVCH" (0x4B 0x56 0x43 0x48)
4 4 format version, uint32 little-endian (currently 1)
8 32 Argon2id salt
40 12 AES-GCM nonce
52 N+16 ciphertext followed by the 16-byte GCM tag
key = Argon2id v1.3(password as UTF-8, salt, memory 65536 KiB,
iterations 3, parallelism 4, output 32 bytes)
plaintext = AES-256-GCM-decrypt(key, nonce, ciphertext+tag) // no extra authenticated data
plaintext is UTF-8 JSON: { "schemaVersion", "exportedAt", "itemCount", "items": [...], "files": [...] }
("files" is present only when the backup contains Secure Files)
If you would rather not write one, verify_backup.py is a short script (about 50 lines, Python with argon2-cffi and cryptography) that follows exactly this description and uses no Kavach code. It asks for the password, prints a summary, and tells you if the password is wrong or the file was changed.
A wrong password or any tampering makes the GCM tag check fail. Note that Secure Files inside a backup are included in the JSON, and the plaintext contains your secrets, so do this on a test backup.
Reporting a problem
If you find a security problem, please email thecodewalker.dev@gmail.com with the subject "Kavach security report", what you found, the app version, and steps to reproduce. Please give us reasonable time to fix it before you publish details, and please do not use real user data when testing. We read every report and will tell you what we decide. There is no paid bounty program.
Keeping this page honest
This page is dated and names the version it describes. When something it says changes in a release, the page is updated with that release. If you find a statement here that does not match the app, that is a bug in this page, and we want to hear about it.