Source: https://keypaste.com/security/
Last updated: 2026-12-01

Security

# What keypaste protects, and what it can't.

keypaste keeps your values in an encrypted KeePass file and stands between them and every AI agent that asks. It doesn't protect against a computer that is already compromised.

[SECURITY.md](https://github.com/notinferred/keypaste/blob/main/SECURITY.md) [Threat model](https://github.com/notinferred/keypaste/blob/main/THREATS.md) 

What it protects

## Your file, your answer, your record.

_1_The file

A copied vault is ciphertextKDBX 4, and new vaults use Argon2d at 64 MiB and two iterations. How long it resists guessing depends on your master password; a key file adds a second factor.

_2_The approval

One field, on your answerNo agent can make your master-password prompt appear or read the vault. A request releases one field after your answer or a rule you set, and you see the agent's label, the item, the field and its reason first.

_3_The record

Logged before it leavesEvery agent request leaves a line in a local, hash-chained log, written before keypaste replies.

_4_Your disk

No plaintext file`keypaste run` puts values in a program's environment and writes no plaintext file.

_5_Share links

Only ciphertext is uploadedA share link is encrypted on your computer, and the key travels in the link.

_6_The source

AGPL-3.0Everything you install is public source. Every download has checksums, and from v0.3.0 a build attestation.

What it can't

## The limits, in writing.

- **Programs running as you.** Your computer account is the boundary: anything running under it can read memory, files and keystrokes, an AI agent with its own shell included. [Sandbox your AI tool](https://keypaste.com/developers/sandbox-your-ai-tool/) narrows it.
- **A value already released.** It stays released. Locking stops the next release; nothing recalls a copy or revokes a credential where it was issued.
- **Who is asking.** Agent labels are not authenticated, so an Allow serves whatever reaches the approver under that label.
- **Memory.** There is no in-memory secrecy: swap, dumps and any process running as you can expose values.
- **What a run does.** A run's command is the runner's claim, and its output scrubber can miss a value.
- **The log's history.** The audit log is tamper-evident, not tamper-proof, and keypaste stores no anchor for it.
- **A copied vault.** It can be guessed offline without limit. A lost master password or key file can't be recovered, by you or by keypaste.
- **Plaintext exports.** `keypaste env export --dotenv` writes plaintext, for a tool that insists on a file.
- **Browser fill.** A filled password belongs to the page and the extension, and a pairing works for whoever holds its key.

Check it yourself

## Don't take our word for it.

### A download

Every version on `dl.keypaste.com` has checksums and, from v0.3.0, a GitHub build attestation that shows which repository, workflow, tag and commit produced the bytes.

An attestation shows origin only: it isn't a signature, and the builds aren't reproducible. [Check a download](https://keypaste.com/download/#verify)

### The audit log

keypaste log verify
keypaste log verify --expect <hash>

Each line carries the hash of the one before it, and a changed, removed or inserted line fails. Keep the latest hash somewhere else and pass it to `--expect`, since deleting the last lines leaves a valid chain.

### The approval

The repository's [approval check](https://github.com/notinferred/keypaste/blob/main/scripts/verify-approval-e2e.sh) runs the real CLI and bridge against a test vault: an approval returns the value, a refusal doesn't, and neither writes the value to the audit log.

Report a problem

## Found something? Tell us first.

Send anything that looks like a security problem to [security@keypaste.com](mailto:security@keypaste.com), not to the issue tracker. SECURITY.md says what happens next, how fast, and which versions are supported.

[Full details](https://github.com/notinferred/keypaste/blob/main/SECURITY.md#reporting-a-vulnerability)
