# Security — what Guardry Secrets protects, and where that ends

> How Guardry Secrets encrypts, isolates and releases your credentials, how sign-in works, and the limits of its protection, stated plainly.

What Guardry Secrets protects, how it does it, and where that protection ends. This page claims no certification Guardry does not hold and no review that has not happened.

## The model

- **One vault per organization.** Each organization has its own database. A credential is bound to its organization before the vault is reached.
- **Checked every time, no cache.** Scope, name prefix, permissions, expiry and revocation are checked inside the vault on each request.
- **Recorded before release.** The audit record is written and stored before a value leaves. If it cannot be written, the read is refused.
- **Agents never change things.** An agent cannot edit, rotate or delete an entry, see members, issue credentials or approve anything.

## How it is built

- **Encryption at rest.** Every value, secret or variable, is encrypted with AES-256-GCM using a random nonce. Each organization has its own key, derived with HKDF-SHA-256 from a root key and the organization's ID. The ciphertext is bound to the organization, entry, project, environment, name and version. Deleted entries keep no ciphertext in the vault.
- **Isolation.** Each organization's vault is a separate Cloudflare Durable Object with its own SQLite database. Members, roles, entries, agent credentials and the audit log live inside it. An agent credential works only for the organization that issued it.
- **Agent credentials.** A long random value shown once. Guardry stores only its hash. Each carries a scope, an optional name prefix, permissions and an expiry, and can be revoked at any time. Revocation is checked on the next request.
- **Audit.** A read decrypts the values, writes one audit record for each, stores it, and only then responds. Calls made through a service are recorded before the outbound request is sent. Denied requests from a valid member or credential are recorded with the reason. The log holds who, what, which version, when, the outcome and the client IP address; never a secret value or a credential. Records cannot be changed or deleted through the application.
- **Sign-in.** People sign in with a passkey, which requires the device's PIN, fingerprint or face. There is no password, and Guardry holds only the public key. Access is by invitation. A one-time recovery code, stored as a hash, can replace a lost passkey; using it removes the old passkeys, ends dashboard sessions and issues a new code. An email address alone can never replace passkeys. Sessions last 12 hours.
- **In the browser.** A revealed value leaves the page after 60 seconds, on close, or when the tab is hidden. Nothing secret is kept in browser storage. The dashboard runs under a strict content security policy with no third-party scripts.
- **CLI.** Requires TLS, refuses redirects, does not cache secret values. `guardry secrets run` starts the program directly and removes its own `GUARDRY_*` variables from that program's environment. A saved profile is bound to the Guardry address that issued it. The installer verifies a signed release manifest.
- **Infrastructure.** Cloudflare Workers for the application, Durable Objects for each organization's vault, D1 for accounts and sessions. Accounts and sessions never hold a secret value or an encryption key.

## Where the protection ends

By design:

- **Not zero-knowledge.** The running service holds the keys it needs to decrypt a value and release it. Protection from the operator and the hosting provider is organizational and logical, not cryptographic.
- **A reader can copy.** An agent that may read a secret can print it, store it or send it elsewhere. Guardry controls who receives a value and records it; it cannot control what happens next.
- **Revocation looks forward.** It stops future requests. It does not recall a value already released, and it does not revoke the key at its provider.
- **One user account, one trust zone.** An agent running with a person's whole operating-system account may reach other credentials on that machine. Use a sandbox or a separate account for stronger separation.

Not there yet:

- **No independent audit yet.** An external security review has not been completed.
- **No certifications.** No SOC 2 report and no ISO 27001 certificate today.
- **No tamper-proof log.** The audit log cannot be changed through the application, but it is not protected against the hosting provider or a compromised service.
- **No automatic rotation or leak scanning.** Rotation is manual, and leak reports come from agents and people.
- **Provider backups.** Deleted data can remain in the hosting provider's encrypted recovery data until its retention window passes.

## Questions

### Is Guardry zero-knowledge or end-to-end encrypted?

No. Values are encrypted at rest with AES-256-GCM under a key derived for each organization, and the service decrypts a value in order to release it to an authorized agent. A service that hands secrets to agents on your behalf has to be able to read them.

### Is Guardry SOC 2 or ISO 27001 certified?

No. Guardry holds no compliance certification today, and no independent security audit has been completed yet. If your organization requires either, Guardry is not yet the right choice for those secrets.

### Can one organization reach another's secrets?

Each organization has its own vault with its own database and its own derived encryption key. An agent credential is bound to the organization that issued it and is rejected anywhere else.

### What does the audit log record?

The person or agent, the action, the entry name and version, the time, the outcome and the client IP address. It never records a secret value or a credential. The record is written before a value is released.

### What happens if I lose my passkey?

Use the recovery code you saved when you created your account. It lets you create a new passkey, removes the old ones, ends your dashboard sessions and gives you a new recovery code. An email address alone cannot replace your passkeys.

### Does revoking an agent make my keys safe again?

It stops that agent's future requests. A key the agent already read may still exist wherever the agent put it, so rotate that key at its provider if you have any doubt.

---

Source: https://guardry.ai/security/ · Updated 2026-11-27 · Guardry for language models: https://guardry.ai/llms.txt
