Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

typevault

Latest version: v0.9.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: devxoul
6 Stars
1 Forks
11 Versions
34.3K Downloads
TypeScript Repo language

Scan summary

typevault was last scanned on 28 Nov 2026 at version 0.9.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 2 were published within 5 days (24–28 Nov 2026).
  • Findings: No rules fired in version 0.9.0.
  • Downloads: 34,259 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.9.0

Findings

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.

README

The publisher’s own README, as collected from the registry.

TypeVault

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.

npm version MIT license

Why TypeVault

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.

Install

bun add -g typevault

Requires Bun ≥ 1.3.

Quickstart

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.

How it works

Grants

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.

Tiers and members

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.

Running with secrets

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.

Asking a human

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"

SDK

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.

Documentation

  • Vaults and members: project and global vaults, unlocking, joining, git history
  • Entries and run: naming, field types and presets, env names, references, redaction
  • Grants: live and sealed grants, ceilings, asking a human, SDK options
  • Owner tasks and imports: rotation, audit, identity backup, 1Password and file imports
  • Reference: environment variables, on-disk layout, known limits

Development

git 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

Acknowledgments

License

MIT

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm typevault

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229