Skip to content

Security

Ömer Faruk Ballı edited this page Oct 3, 2026 · 1 revision

Security

Language: English · Türkçe

This page summarises SECURITY.md. The storage format is documented in docs/vault-format.md.

Reporting a vulnerability

Please do not open a public issue for security problems. Report privately: open the repository's Security tab and choose Report a vulnerability. Include the affected version or commit, browser and operating system, steps to reproduce or a proof of concept, and the impact as you understand it. The aim is to acknowledge reports within 7 days and to agree on a disclosure timeline with you; reporters are credited in the release notes unless they prefer otherwise. Only the latest 1.x release receives security fixes.

What claviger protects against

Threat Protection
Someone reading the browser's storage (stolen disk image, synced profile, malware copying files) Every account record is encrypted with AES-256-GCM under a random data key. That key is wrapped by a key derived from the master password with Argon2id (64 MiB, 3 iterations by default) and, optionally, by a recovery code. Records are bound to their storage key, so swapping records is detected.
Web pages and other extensions The background service only answers messages from claviger's own pages. No persistent content scripts; autofill injects a small function on demand into the active tab only, for an account you linked to that site.
Online password guessing After three wrong passwords each attempt waits longer (2 s, doubling up to 60 s). Data is never deleted because of wrong attempts.
Shoulder-surfing and casual access Exporting, changing the password, lock policy, storage area or recovery code all require the password again. Showing a secret key asks too, unless you turn that off. Each confirmation is single-use and valid for 60 seconds.

Out of scope

  • A compromised browser or operating system. Malware running as you can read the unlocked vault from memory or capture your password.
  • Clearing memory on lock. JavaScript cannot guarantee that secrets are wiped from memory.
  • The "Never" lock setting. It deliberately keeps the vault key on disk; anyone with access to the computer can see your codes.
  • Plain-text exports. They contain unencrypted secrets by design.

Known limitations (accepted for 1.0)

  • Offline guessing. The attempt throttle only slows the interface. Someone with a copy of the vault header can guess offline at Argon2id speed, so use a strong password.
  • The data key is not rotated when the password or recovery code changes. An old copy of the header plus the old password still opens data protected by that key. Rotation is planned after 1.0.
  • Storage writers. Someone who can write the browser's extension storage can resurrect a deleted account or roll an edit back. They cannot read or forge data.
  • Lock settings and "Ask for the password to show a secret key" are sealed under the data key and stay on this device. A storage writer can at most restore an older sealed value, or downgrade a timeout or screen-lock setting to "When the browser closes"; the change is visible in Settings.
  • Synced vaults share the sealed lock record across devices using the same vault.
  • Autofill trusts subdomains. Every subdomain of a linked site is accepted; host-level linking is planned.

See SECURITY.md for the full wording.

Privacy

No account, no server, no analytics. The vault stays in your browser's local storage unless you turn on browser sync, and even then only encrypted data is synced. The only network request is the optional clock check, which you start yourself and which contacts www.google.com once. No remote code or fonts are loaded.

Hardening

  • Cryptography only through WebCrypto and hash-wasm; no custom primitives.
  • A strict extension content security policy.
  • Dependencies pinned through the lockfile and kept to a minimum.
  • Imports and stored data are validated with schemas and limits; errors never include secrets or decrypted data.

Permissions

Permission Why
storage Keep the encrypted vault, local copies and settings
alarms, idle Lock timers, screen-lock detection and daily local copies
activeTab, scripting Fill a code into the current page, only when you ask
clipboardWrite Copy codes
contextMenus The right-click "Fill with claviger" entry
offscreen (Chrome) Clear the clipboard after the time you chose; the background service has no clipboard access
sidePanel (Chrome) Show claviger in the side panel when you pick that open mode
www.google.com (optional) Requested only when you run the clock check

Clone this wiki locally