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

pi-ai-vault

Latest version: v0.14.3

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: xiaolikt
0 Stars
0 Forks
21 Versions
2.5K Downloads
Rust Repo language

Scan summary

pi-ai-vault was last scanned on 30 Nov 2026 at version 0.14.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 21 versions; the latest 5 were published within 2 days (29 and 30 Nov 2026).
  • Findings: No rules fired in version 0.14.3.
  • Downloads: 2,474 downloads.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.14.3 LATEST 30 Nov 2026 No rules fired
0.14.2 30 Nov 2026 No rules fired
0.14.1 30 Nov 2026 No rules fired
0.14.0 30 Nov 2026 Not shown
0.13.0 29 Nov 2026 Not shown

No rules fired in 0.14.3

Findings

Findings for v0.14.3. 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.14.3; other versions have their own rules, not their own score.

README

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

pi-ai-vault

English

ai-vault 的 pi 扩展——omp 也能直接装同一个包(omp 是 pi 的兼容分支,清单和工具 API 一致;差别只在 src/host.ts 的运行时探测里)。

它把本地加密密码库交给 ai-vault 这个 Rust CLI:一台电脑一个库(~/.ai-vault),所有 agent 共用。插件本身不做加解密,只持有会话令牌。

安装

pi install npm:pi-ai-vault        # pi,自动带上 ai-vault CLI
omp plugin install npm:pi-ai-vault  # omp,同一个包

然后在该宿主的会话里:

/vault init

(弹窗设主密码,两次。有桌面就开 zenity,没有就退回宿主自己的输入框。)

不想用 npm 也可以从仓库装:pi install git:github.com/xiaolikt/ai-vault。

工具

工具 作用 模型看到密码?
vault_list 本地库条目元数据 否
vault_get 读一条:先本地库,再 Bitwarden;Bitwarden 命中会问「读一次 / 导入 ai-vault」 是,用户当场允许
vault_add 存一条,Bitwarden 的全部类型(登录、笔记、银行卡、身份、SSH 密钥、银行账户、驾照、护照);秘密字段在弹窗里输 否
vault_import 把 Bitwarden 登录项抄进本地库(先确认) 否
bw_list / bw_run / bw_clipboard / bw_reveal 在线 Bitwarden(bw CLI) 否,bw_reveal 除外
bw_inject 注入 bash 环境(仅 pi,omp 不注册) 否
ente_list Ente Auth 条目元数据 否
ente_code 当前 TOTP/Steam 验证码(每次确认) 是,用户当场允许

命令

/vault init | unlock | lock | status | list | add | remove
/vault grant <名称> [分钟] | revoke <名称|all> | audit [n]
/vault import <bitwarden.json> | import-bw [搜索词]
/bw status|unlock|lock|clear

解锁模式

本地库什么时候要主密码,由这台机器的模式决定(/vault mode,切换要主密码):

模式 行为
every 每次调用都问;不留任何能打开库的东西
never 永远不问,读取也不弹确认窗——「agent 可以自由使用」的那批密码

默认(time)读取同样不弹窗:解锁会话的主密码就是授权,每次读取仍记审计。/vault confirm on 让每次读取都弹窗。 | time(默认,4 小时) | 问一次,之后机器上所有 pi/omp 进程共用这次解锁 N 小时 | | every | 每次调用都问;不留任何能打开库的东西 |

vault_get 找不到本地条目时会去 Bitwarden 搜;命中后按 bitwarden.import 处理:

bitwarden.import 行为
ask(默认) 给你看这一条 → 读一次 → 问「导入 ai-vault / 只用这一次」
always 命中直接导入并返回,不开窗口
never 只读一次,永不写入本地库

所以默认情况下 只有你同意导入的密码才会进 ai-vault。Bitwarden 自己的主密码请求频率也有单独设置(bitwarden.unlock:never / time / session),用 /vault settings 查看和修改。

Ente

ente CLI 自己登录一次(ente account login --app auth),插件只是它的客户端:ente_list 只给元数据,ente_code 每次弹窗确认。

想完全免钥匙串:ente vault key generate → /vault ente-key 粘进去 → /vault settings ente.unlock never。密钥由 ai-vault 加密封存。详见仓库 README。

安全边界(一句话版)

模型的 bash 能找到会话令牌、能 list,但签不出读取确认(签名密钥只在插件进程内存里)、改不了令牌文件(带 HMAC,改了就作废)、免费拿不到 grant(要主密码)。详见仓库 README「安全」一节。

隔离

每个会话、每个子代理各自 ai-vault unlock,拿自己的令牌和读授权;父会话的解锁子代理继承不到。空闲 10 分钟自动失效,/new、/fork、退出会清掉本绑定的令牌。

完整说明(CLI 参数、退出码契约、Bitwarden 擦洗、审计、安全模型)见仓库 README:https://github.com/xiaolikt/ai-vault

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 pi-ai-vault

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229