其他 · v0.0.103
jev-review
需要 Node.js ≥ 22.19、对应宿主和本地 Docker。启动宿主前设置凭据并准备镜像。
作者原文(英文)
TypeSafe Jev approval review for Pi and DeepSeek Harness
简介取自插件自己的 README 原文。
pi-packagepijevapprovaldsh-plugindeepseek-harness
认证 L2已扫描 ✓健康 S/100周下载 212
6 项能力安装命令
dsh plugin --profile web add jev-review@0.0.103
已试装 · 层已挂载
已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注1需留意4一般18未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注4 处命中dist/dsh.js:153import { spawn } from "node:child_process";dist/dsh.js:164import { spawn } from 'node:child_process';src/sandbox-worker.ts:5import { spawn } from 'node:child_process';src/sandbox.ts:1import { spawn } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意8 处命中dist/dsh.js:185if (action.kind === 'write') { const p = await target(a.path, true); await fs.mkdir(path.dirname(p), {recursive:true}); …dist/dsh.js:189await fs.writeFile(p,data,'utf8'); return {text:'File edited in sandbox.'};dist/dsh.js:565await writeFile(empty, "", { mode: 0 });src/sandbox-worker.ts:26if (action.kind === 'write') { const p = await target(a.path, true); await fs.mkdir(path.dirname(p), {recursive:true}); …- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 接触凭据或密钥
credentials一般19 处命中dist/dsh.js:70if (url.protocol !== "https:" || url.username || url.password || url.search || url.hash) throw new Error("Invalid LLM_BA…dist/dsh.js:104if (!config.apiKey) return unavailable("Final auto-review model is not configured");dist/dsh.js:113headers: { Authorization: `Bearer ${config.apiKey}`, "Content-Type": "application/json" },dist/dsh.js:769if ([config.apiKey, config.llm.apiKey].some((key) => key && serialized.includes(key))) return fallback("Known reviewer c…- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取环境变量
reads-env一般13 处命中dist/dsh.js:220const child=spawn(program,argv,{cwd:process.cwd(),env:{...process.env,GIT_OPTIONAL_LOCKS:'0'},stdio:['ignore','pipe','pi…dist/dsh.js:359this.environment = Object.fromEntries(Object.entries(process.env).filter(([key]) => [dist/dsh.js:423const candidates = this.config.dockerPath ? [this.config.dockerPath] : process.platform === "win32" ? [join2(process.env…dist/dsh.js:1119TYPESAFE_API_KEY: process.env[config.apiKeyEnv],- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般12 处命中dist/dsh.js:182const data = await fs.readFile(p, 'utf8'); const lines = data.split('\n');dist/dsh.js:187const p = await target(a.path, true); let data = await fs.readFile(p,'utf8');dist/dsh.js:191if (action.kind === 'ls') { const p = await target(a.path); return {text:(await fs.readdir(p,{withFileTypes:true})).map(…dist/dsh.js:197for (const item of await fs.readdir(dir,{withFileTypes:true})) {- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般6 处命中dist/dsh.js:213const prelude = "globalThis.tools=await(async()=>{const fs=await import('node:fs/promises'),path=await import('node:path…src/sandbox-worker.ts:54const prelude = "globalThis.tools=await(async()=>{const fs=await import('node:fs/promises'),path=await import('node:path…- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 4 |
| 写入文件 | writes-files | 需留意 | 8 |
| 接触凭据或密钥 | credentials | 一般 | 19 |
| 读取环境变量 | reads-env | 一般 | 13 |
| 读取文件 | reads-files | 一般 | 12 |
| 动态加载模块 | dynamic-import | 一般 | 6 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 26 个文件,扫描于 2026-10-20。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
100
健康分 S
扣分项下方逐条附证据
- 0没有可扣分的项
认证等级 L2
- L0静态结构与契约✓sha512-1VseKGjp5UmZ/Z+i… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟✓隔离 profile 安装成功,4.8s,层已挂载;宿主带它启动(booted)
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- aimmetal
- 仓库
- https://github.com/aimmetal-tech/jev-review
- 许可
- MIT
- 最后发布
- 2026-10-12
- 周下载
- 212
- star
- 0
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 3 个cordisdsh-experimental-auto-reviewdsh-llm均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | >=22.19.0 |
| 第三方依赖 | 1 个 |
| bundle patch | ./dsh/cordis.patch.yml |
| 依赖安全公告 | 已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。) |
元数据
| 主页 | https://github.com/aimmetal-tech/jev-review#readme |
|---|---|
| 仓库最近提交 | 2026-10-12 |
| 仓库创建 | 2026-10-10 |
DSH