How we protect Chaveiro

Chaveiro is designed so that a breach of our server exposes nothing that matters. Here is how, in plain language, with the technical details for anyone who wants to check.

Updated on

Zero knowledge

Everything you store is encrypted on your device before it goes to the server. Opening the vault takes two things only you have:

  • Your master password, which you memorize.
  • Your Secret Key, 128 random bits created on your first device. It lives on your devices and in your Emergency Kit; we have no copy.

Because of the Secret Key, someone who stole our database could not brute-force passwords, not even weak ones: every guess would also require guessing 128 random bits.

Signing in without sending the password

Sign-in uses the OPAQUE protocol. Your device proves to the server that it knows the master password and the Secret Key without sending either of them, or a hash of them. The server keeps nothing that would reveal your password.

AI agents use, but never see

  • No Chaveiro tool hands a password, 2FA code or secret to the AI model. It only gets titles, domains and the result (“filled”, “denied”).
  • The browser extension does the filling, and it checks the website’s address first. An agent tricked by a fake page cannot send the password to the wrong website.
  • Every use needs your permission:
    • a use code agreed in advance, valid for one website, for a while (from 10 minutes to 30 days, or until you revoke it) and a set number of times. Even with no use limit, each code logs in at most 20 times an hour, and when you change the password it switches to the new one;
    • or an approval on your phone right then.
  • Every use goes into the history, and a single button cuts all AI access at once.
  • In the terminal, chaveiro run puts API keys into the command’s environment variables and hides their values in the output the agent reads.

A link has two parts. Before the # is the identifier, which the server sees. After the # is the key that opens the content, and browsers never send that part to any server. The server only keeps the encrypted content and the rules: dates, view limit and cancellation.

Algorithms

Only standardized algorithms and well-known libraries, implemented once in a Rust core that every app uses:

Purpose Algorithm
Vault encryption XChaCha20-Poly1305
Master password derivation Argon2id (at least 64 MiB of memory)
Sign-in OPAQUE
Sharing with devices and people HPKE with X25519 + ML-KEM-768 (quantum-resistant)
Signatures Ed25519
Subkeys HKDF-SHA-256

Infrastructure

  • Where it runs: server and database in Brazil, in the AWS São Paulo region, isolated from the company’s other products.
  • Encrypted connections: all traffic uses HTTPS, including between the server and the database.
  • Firewall: it limits attempts per IP address and blocks addresses known for abuse.
  • E-mail: system messages are signed (DKIM) and only delivered over encrypted connections.
  • Deletion: it is immediate (see delete your account).

What is still missing

To be honest:

  • External audit: Chaveiro has not yet had an independent security audit. One is planned.
  • Open source: until then, we will publish the cryptography specification and the apps’ source code as free software (AGPL-3.0).

Report a vulnerability

Found a security problem? Write to seguranca@chaveiro.digital with steps to reproduce it. We reply within 3 business days.

We ask that you:

  • test only with your own accounts;
  • do not access other people’s data;
  • do not harm the service;
  • give us reasonable time to fix it before disclosing.

We will take no action against anyone who follows these rules. The security.txt file has the same details.