Skip to content

The audit log

The approver appends one JSON line to ~/.keypaste/audit.jsonl for every call it answers. The bridge writes one only for a call it refused itself or that no approver answered. KEYPASTE_HOME moves the folder; a bridge’s --audit-log moves only its own lines. In the app the log is Activity, in Agents, which lists your browser’s requests as yours and hides its lookups until you show them; the file keeps every line.

A call whose line cannot be written is refused. A line never holds a value, but item names and reasons are logged, so treat the log as sensitive. On Windows it inherits its folder’s permissions, so keep KEYPASTE_HOME in a folder only you can read.

Terminal window
keypaste log
keypaste log --denied
keypaste log --client claude-code --since 2h
keypaste log --json

Terminal window
keypaste log verify
keypaste log verify --checkpoints
keypaste log verify --expect <hash>

Each line holds its predecessor’s hash, so keypaste log verify finds an edited line and exits 5. Whoever can write the file can recompute the chain, so the approver signs a checkpoint every 64 lines and at lock with a key the vault holds; --checkpoints asks for the master password and checks them. Lines after the last checkpoint are unsigned, and deleting the last lines leaves a valid chain. To catch that, keep the Latest hash elsewhere and pass it to --expect (THREATS T-5).

Requests for values, runs, saves and changes, and your browser’s fills, keep their own lines. An agent’s lookups and your browser’s are folded after 30 days into one log_summary line per agent or browser pairing per day. Settings › Keep activity for sets how long anything is kept: 90 days, 1 year (default), 2 years or forever. While app.toml can’t be read, nothing is removed.

  1. Quit the app, keypaste approve and every AI tool running the bridge.
  2. Run keypaste log verify and keep the Latest hash off this computer.
  3. Move the file aside:
Terminal window
mv ~/.keypaste/audit.jsonl ~/.keypaste/audit-2026-10.jsonl
Terminal window
Move-Item "$HOME\.keypaste\audit.jsonl" "$HOME\.keypaste\audit-2026-10.jsonl"

The next record starts a new file. Check the archive with keypaste log verify --audit-log <file> --expect <hash>.

FieldHolds
ts, seq, pidWhen, its place in the log, the process
clientThe agent’s name, version, label and transport
tool, argsThe tool and the item, field and the agent’s reason; a run’s command and command_sha256
vault, entriesThe vault that answered and the items used
decisiongranted or denied
methodHow it was decided, below
prev, hashThe chain
methodMeaning
promptYou answered
pickedA login filled at your pick in keypaste’s list in the page
pressedA run started with the app’s own Run or Open terminal, read in logs written while the app had them; the app no longer writes it
shell-grantA stage loaded again into a terminal you allowed, unasked (shell loads)
protected / unboundA shell load refused unasked: a protected stage, or not from the interactive shell it named
allowed / blockedReleased or refused without asking by a setting or kept answer
exposureA listing
out-of-scopeOut of reach or absent, one answer for both
run-offA run from an agent with run off
rules-changed / narrowingA settings change on an access_change line
no-approver / no-session / vault-lockedNothing held the vault, or not this unlock
vault-changed / mergedAnother program saved the vault
timed-out / cancelled / busy / cooldownNo answer, withdrawn, queue full, refused a moment ago
undeliverable / unfillable / unchangedToo large, a placeholder unfilled, nothing to write
token, share-created, share-revokedA scoped token’s release, a share link made or revoked
not-armed, not-paired, removedBrowser pairing refusals and removal
invalid-request / failed / not-initializedBad arguments, an error, a call before the handshake

v0.3.0 lines may carry grant-cache, policy or policy-limit, which 1.0.0 never writes. keypaste log verify checks the chain, not the words, so a line with a method this version doesn’t know still verifies, and Activity shows it as allowed or denied by its decision.