M

mbh-chat-test

@dcrays/mbh-chat-test

v0.1.4 会话与记忆 含混淆或编码代码写入文件

MBHChat/Mobook 的 DeepSeek Harness 宿主插件和无头 sidecar 桥接(测试)

作者原文(英文)

DeepSeek Harness host plugin and headless sidecar bridge for MBHChat/Mobook (test)

中文简介由 DeepSeek 模型翻译,仅供参考。

分类
session
发布
2026-09-14
版本
v0.1.4

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意2一般20未命中
高关注需留意一般

能力清单

  • 含混淆或编码代码obfuscated-code需留意309 处命中
    • plugin/index.js:2var vm=Object.defineProperty;var ne=(e,r)=>{for(var i in r)vm(e,i,{get:r[i],enumerable:!0})};import{spawn as Mg}from"nod…
    • plugin/index.js:65`)}f.write("payload.value = newResult;"),f.write("return payload;");let Wt=f.compile();return(E,U)=>Wt($,E,U)},n,a=Ie,c=…
    • plugin/index.js:67Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let c=…
    • 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
  • 写入文件writes-files需留意6 处命中
    • plugin/index.js:2var vm=Object.defineProperty;var ne=(e,r)=>{for(var i in r)vm(e,i,{get:r[i],enumerable:!0})};import{spawn as Mg}from"nod…
    • plugin/index.js:67Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let c=…
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 读取文件reads-files一般7 处命中
    • plugin/index.js:2var vm=Object.defineProperty;var ne=(e,r)=>{for(var i in r)vm(e,i,{get:r[i],enumerable:!0})};import{spawn as Mg}from"nod…
    • plugin/index.js:67Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let c=…
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般6 处命中
    • plugin/index.js:67Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let c=…
    • plugin/index.js:68`)}catch{}}function Lg(e){return e.replace(/([?&](?:bot_token|token|authorization)=)[^&\s]+/gi,"$1[REDACTED]").replace(/…
    • cordis.patch.yml:4disabled: !!js process.env.DSH_MBHCHAT_DISABLED === '1'
    • cordis.patch.yml:12watch: !!js process.env.DSH_MBHCHAT_WATCH === '1'
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
含混淆或编码代码obfuscated-code需留意309
写入文件writes-files需留意6
读取文件reads-files一般7
读取环境变量reads-env一般6

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 7 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

这个插件声明的依赖中,有 3 条已公开的安全公告 (最高等级:中):

等级依赖包编号摘要
中wsCVE-2026-45736ws: Uninitialized memory disclosure
修复版本:8.20.1 详情 →
中wsCVE-2026-48779ws: Memory exhaustion DoS from tiny fragments and data chunks
修复版本:5.2.5, 6.2.4, 7.5.11 详情 →
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情 →

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

← 返回全部插件