Scan your whole stack
Are you using typevault?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.9.0
typevault was last scanned on 28 Nov 2026 at version 0.9.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.9.0 LATEST | 28 Nov 2026 | No rules fired |
| 0.7.1 | 24 Nov 2026 | No rules fired |
| 0.7.0 | 20 Nov 2026 | No rules fired |
| 0.6.1 | 19 Nov 2026 | Not shown |
| 0.6.0 | 9 Nov 2026 | Not shown |
Findings for v0.9.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.9.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Secrets for agents, not for transcripts. A CLI-first vault that gives each agent session only the secrets its grant allows. Values reach programs, never the model, and every read is logged.
| Grants, not keys | Agents get a short-lived grant scoped to tiers, names and a TTL. Revoking it takes effect at once. |
| Tiers are keys | Each tier has its own keypair, so access comes from holding a key, not from a permission check. |
| Your own key | Every person and machine has its own key. Nobody passes a shared key or password around. |
| Commit it to git | .typevault/ holds only ciphertext, wrapped keys and signed files. Rollbacks are refused. |
| Out of transcripts | run passes secrets as env vars and redacts the output. The model never sees a value. |
| Ask a human | A one-time link where the browser encrypts the value before it is sent. |
| Audited | Every read through a live grant is logged with its label and reason, in a verifiable hash chain. |
| Imports | 1Password straight from the app, plus .env, Bitwarden, LastPass, KeePass and CSV. |
TypeVault is general-purpose: any agent runtime can use it. TypeClaw is its first consumer, sandboxing each session and mounting only the agent socket.
bun add -g typevault
Requires Bun ≥ 1.3.
typevault init # creates .typevault/ here; the first time, also your password and Secret Key
typevault unlock # once per session (8h by default); your agents read through it
printf '%s' "$OPENAI_KEY" | typevault set typevault://openai --preset api_key --stdin
typevault set typevault://anthropic --preset api_key # from a terminal: type it in a one-time local page
export TYPEVAULT_GRANT=$(typevault grant --tier default --label session:abc)
typevault run -- ./deploy.sh # OPENAI and ANTHROPIC arrive as env vars; output is redacted
typevault whoami # live grant, sealed grant, unlocked session or machine key
Commands use the nearest project vault, like bun and npm; -g selects the global one in ~/.typevault.
An issuer (you, TypeClaw or CI) mints a grant, and the agent reads through it. The daemon checks every read against the grant, logs it, and refuses it once the grant is revoked, along with every grant derived from it.
sequenceDiagram
participant I as Issuer
participant D as Daemon
participant A as Agent
I->>D: grant --tier member --only 'typevault://github/*' --ttl 30m --label ci:deploy
Note over I,D: through its admin socket, never above its ceiling
D-->>I: live grant (tvl1.…)
I->>A: TYPEVAULT_GRANT
A->>D: read typevault://github/bot, with a reason
D->>D: check tiers, names and TTL, then log the read
D-->>A: value, into run's child only
I->>D: grant revoke --label ci:deploy
A-xD: the next read is refused, as are reads with derived grants
| Live (default) | Sealed (--sealed) |
|
|---|---|---|
| Needs the daemon | yes | no |
| Audit | every read | issue time (reads best-effort) |
| TTL / revocation | enforced / instant | advisory / impossible |
| Use for | laptops, containers, typeclaw | CI, one-shot containers |
More: grants, ceilings and the SDK.
A secret is encrypted to its tier. Tier keys are wrapped to members, and a person's member key is sealed by their password and a Secret Key that stays on their device. Adding or removing a member rotates every tier they reach.
typevault tier add trusted
typevault tier include trusted default # trusted reaches everything default reaches
typevault join # a teammate, in their clone: prints the line below
typevault member add bob tvp1:... --tier default # rotates every tier bob reaches
typevault join --machine --name ci # CI or an agent host: no password, its own key
More: vaults, members and git history, and working with a teammate: what each person does by hand.
run loads what the grant reaches as env vars, never sets loader variables like PATH or NODE_OPTIONS, and
redacts the child's output. A variable whose value is a typevault:// reference gets that field, so you pick the name.
flowchart LR
agent[Agent] -- "typevault run -- ./deploy.sh" --> load["Load entries and typevault:// references"]
daemon[Daemon] -- "values, through the grant" --> load
load -- "env vars, never PATH, NODE_OPTIONS, ..." --> child["./deploy.sh"]
child -- "stdout, stderr" --> redact[Redact values]
redact -- "masked output" --> transcript[Agent's transcript]
DATABASE_URL=typevault://postgres/prod#url typevault run -- ./migrate.sh
typevault run --only typevault://github/bot -- ./login.sh
More: naming, field types and what run loads.
typevault request gives the agent a one-time URL and a match code to pass on. The browser encrypts the value
before sending it, so tunnels and proxies carry only ciphertext.
sequenceDiagram
participant A as Agent
participant D as Daemon
actor H as Human
participant B as Browser
A->>D: request resend --preset api_key --reason "…"
D-->>A: one-time URL and match code
A->>H: URL and match code
H->>B: opens the URL, checks the code, enters the value
B->>B: encrypts to the tier
B->>D: ciphertext only, safe through tunnels and proxies
D->>D: decrypts, checks it is the requested entry, re-encrypts, signs, stores
D-->>A: stored as typevault://resend, the value never comes back
typevault request resend --preset api_key --reason "send the weekly digest"
The same access, in-process (Bun only):
import { createClient, parseEntryName } from 'typevault'
import { createAdmin } from 'typevault/admin'
import { createRedactor } from 'typevault/redact'
// An issuer issues a grant within its socket's ceiling...
const grant = await createAdmin({ ceiling: 'bot' }).grant({ tiers: ['member'], ttl: '30m', label: 'session:abc' })
// ...and the agent side reads through it (live via the daemon, or sealed in-process).
const vault = await createClient({ grant })
const { fields } = await vault.get(parseEntryName('typevault://openai'), 'send the weekly digest')
// Nothing is redacted for you: scrub anything that can reach output.
const redactor = createRedactor(await vault.readValues())
Options: SDK options. skills/typevault teaches coding agents to
use grants, run and references.
run: naming, field types and presets, env names, references, redactiongit clone https://github.com/typeclaw/typevault
cd typevault
bun install
bun run test
Pre-commit checks (all must pass):
bun run typecheck
bun run lint
bun run format:check
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.