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

@bwlfhu/lark-channel-bridge

Latest version: v0.8.3-beta.5

Overview

Last scanned
12 Nov 2026
Published
12 Nov 2026
npm package Publisher: bwlfhu
0 Stars
0 Forks
8 Versions
941 Downloads
TypeScript Repo language

Scan summary

@bwlfhu/lark-channel-bridge was last scanned on 12 Nov 2026 at version 0.8.3-beta.5. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 8 versions; the latest 5 were published within 3 days (10–12 Nov 2026).
  • Findings: 1 rule fired in version 0.8.3-beta.5 (2 instances: 2 high). The score describes this version only.
  • Downloads: 941 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.3-beta.5 LATEST 12 Nov 2026 1 rule fired
0.8.3-beta.4 12 Nov 2026 1 rule fired
0.8.3-beta.3 10 Nov 2026 1 rule fired
0.8.3-beta.2 10 Nov 2026 Not shown
0.8.3-beta.1 10 Nov 2026 Not shown

Rules fired in 0.8.3-beta.5: 1

Findings

2 High

Findings for v0.8.3-beta.5. 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.

Encoded data placed in a DNS lookup

A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.

HIGH
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 0.8.3-beta.5; other versions have their own rules, not their own score.

README

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

lark-channel-bridge

把飞书 / Lark 消息和本地 Claude Code、Codex CLI 或 DeepSeek Harness 打通的轻量 bot。用一条命令启动,扫码绑定 PersonalAgent 应用,然后在飞书里和本机编程助手对话,让它读图、处理文件、改代码。

**Fork 声明:**本仓库是 zarazhangrui/lark-coding-agent-bridge 的定制 fork。原项目与本 fork 均按 MIT License 发布;归属和许可说明见 NOTICE.md 与 LICENSE。

bwlfhu 维护版

本仓库基于 KeepSilenceQP 0.7.1-qp.4,保留流式卡片恢复、Codex 最终回复处理和群提示词会话绑定,并选择性移植 RoverTang 的 DeepSeek Harness(DSH) 后端。支持 Claude Code、Codex、DSH 三种独立后端,不会自动重放中断的任务。

使用 npm install -g @bwlfhu/lark-channel-bridge@0.8.2 安装当前版本 0.8.2。此版本新增工具调用“完整显示 / 仅运行时显示 / 隐藏”,支持底部实时命令状态,完成后移除工具信息。DSH 的安装、现有凭据复用、本地兼容 API 与限制见 DSH 部署说明,后续同步和发布流程见 维护说明。以下上游集成记录来自 KeepSilenceQP,保留作来源追溯。

上游集成记录

最近一次经过验证的上游集成于 2026-07-23 通过 Fork PR #4 完成,选择性纳入原仓库从 c0caa10 到 021b774 的 6 个 commit;原仓库对应的 release merge commit 为 36f7d382。

这里记录的是上游来源范围,不表示两边的 tree 或 patch 等价。上述变更通过 cherry-pick 并处理冲突后集成,以保留本 Fork 已有的群响应策略、配置与访问控制行为、 Codex 最终回复恢复机制和维护版 Channel 打包方式。在 Fork 当前改写后的提交历史中, 对应的集成范围是 ffae698 到 3a2540c, 之后还有仅属于本 Fork 的兼容性修复与发布提交。

该次集成通过 macOS、Ubuntu、Windows CI,以及 991 个通过、3 个跳过的测试、 typecheck/build、release/npm clean-install 校验。

第二次上游检查于 2026-09-20 完成,逐项审阅了 36f7d382..5898681 范围内的全部 10 个 commit。此次纳入了 Web UI 与 supervisor、群选择器、 合并转发失败处理、服务停止与自启动修复、Codex 双形态回复去重、会议支持,以及 Channel 0.6.0。上游纯 merge/version commit 已审阅但没有机械重放;上游的 no-content/最终回复修改则做了适配,保留本 Fork 的单流最终回复与 CardKit 恢复契约, 没有恢复此前已替换掉的“撤回消息”行为。适配后的批次在发布前通过本机 1655 个测试 (33 个跳过)、typecheck 和生产构建。

**后续同步锚点:**将原仓库 commit 5898681 作为不包含在新范围内的下界;下次待检查范围是 5898681..upstream/main。由于已纳入的修改在本 Fork 中经过冲突适配,这里记录的是 上游来源历史边界,不是两仓库的 Git merge base。只有下一批上游修改完成集成并通过 验证后,才能更新这个锚点。

English README

本 Fork 维护的增强能力

这个 Fork 不只是重新打包上游代码。面向多 Bot 项目协作和长时间运行的 飞书 / Lark 编程任务,我们新增并持续维护了以下能力:

领域 本 Fork 新增的能力 解决的问题
共享 Bot Registry 已连接的 profile 会把观测到的 Bot 身份自动登记到安装级共享 registry;CLI 可以补充别名和非本机 Bot entry,并保证精确名称、别名和 App ID 全局唯一。 项目准备过去依赖 profile 本地或人工复制的身份事实,同一个 Bot 名在不同 profile 或主机上可能解析不一致。
多 Bot 项目环境准备 /botAdmin 和 /project bootstrap 通过显式 --plan-writer 与 --implementer 角色发现并邀请指定 Bridge Bot、准备工作目录并保存群级基础角色,但不会自动启动工作流。 过去准备多 Bot 项目需要人工逐个拉 Bot、改权限、切目录和记录角色,没有一个经过校验的统一入口。
原生 Bot-to-Bot 交接 lark-channel-bridge at-bot 会用当前群实时 Bot 列表校验目标,并以当前 profile 的 Bot 身份发送飞书原生结构化 mention。 纯文本 @名字、手拼 mention JSON、过期的 open_id 或选错回传对象,都可能让交接静默丢失,但 Agent 仍误以为已经通知成功。
按群定制行为 支持按群加载 operator prompt,并提供 mention-only、owner-default、all-messages、按群 owner-allowlist 四种响应模式,不需要为了免 @ 而向所有群成员开放 Bot。 一套全局 Prompt 和全局 @ 策略无法满足不同项目群的角色分工;Bot 可能在 owner 希望它响应时保持沉默,或响应范围过大。
结构化 Agent 上下文 Bridge 会注入消息、发送者/Bot 身份、引用消息、交互卡片和回传路由信息,并在每次 Codex run 中用 developer instructions 传递 Bridge 规则。 把协议规则混在普通用户文本里更容易被忽略或误解,尤其是在引用回复、卡片、Bot 发送者和 Codex 恢复会话场景。
Reaction 驱动控制 对相关消息添加 Reaction,可以同意下一步、要求进一步解释、确认手动步骤已完成,或停止当前工作链。Bridge 会把目标消息与校准后的 Reaction 状态一并交给 Agent,持久化防重状态,并保留未预埋 emoji 供 Agent 结合上下文判断。 若把 Reaction 当成孤立 emoji,可能重复旧任务、丢失被回应消息,或把停止信号错误地启动成新一轮 Agent。
可靠的过程消息与最终回复 COT/过程输出和最终答案彻底分开,卡片与纯文本模式都单独发送最终回复;同时补齐话题路由、CardKit 流过期、陈旧回读、Codex 空终态/持久化终态和 Markdown 渲染失败的恢复路径。 长任务可能留下陈旧卡片或运行中 footer、重复旧内容、误触发 fallback、回复跑出话题,或者本地已经结束却没有把最终答案送到飞书。
延后自重启与结果回执 同 profile 自重启会等待当前回复和活跃任务排空,再由 detached helper 重启,并向原群、原话题或原私聊发送且只发送一条成功/失败回执。 Bot 自部署时可能在回复中途把自己终止,重启后用户也无法确定新进程是否真正连接成功。
维护版 Channel 与可安装产物 Release 内置维护版 @larksuite/channel 0.6.0-qp.1,基于上游 0.6.0 并保留 CardKit stream rollover 修复,KeepSilenceQP 原版曾以自包含的 @penn.qp/lark-channel-bridge npm 包发布;本维护版采用独立包身份。 rollover 可能先把前一张卡完整重发一遍再创建下一张卡,形成重复消息;file dependency 也可能在发布产物中丢失。
Fork 扩展能力速查

共享 Bot Registry 属于安装级能力,所有 profile 共用。已连接的 profile 会自动登记观测 到的 Bot 身份;运维人员可以补充别名或非本机项目 Bot。名称和别名采用 NFC 归一化后的 精确匹配,名称、别名和 App ID 全局唯一,本机 profile 仍在使用的 entry 不能删除:

lark-channel-bridge bot-registry list
lark-channel-bridge bot-registry add --name <bot-name> --app-id <cli_xxx>
lark-channel-bridge bot-registry add --name <bot-name> --app-id <cli_xxx> --alias <other-name>
lark-channel-bridge bot-registry remove --name <canonical-bot-name>

App Secret 按 profile 加密保存。secrets set、list、remove 供运维人员使用; secrets get 是 profile 本地 lark-cli binding 使用的 provider 协议:

lark-channel-bridge secrets set --app-id <cli_xxx> [--profile <name>]
lark-channel-bridge secrets list [--profile <name>]
lark-channel-bridge secrets remove --app-id <cli_xxx> [--profile <name>]

Reaction 输入会经过权限校验、状态校准和持久化,并与目标消息一起交给 Agent。11 个预埋 飞书 emoji type 映射为 4 类意图:

意图 预埋 emoji type 行为
同意并继续 OK, LGTM, Yes, CheckMark, JIAYI(+1) 仅当目标消息提出下一步时继续
进一步解释 WHAT, THINKING 展开或澄清目标消息
手动步骤已完成 DONE 从目标消息要求的手动步骤继续
停止当前工作 No, CrossMark, MinusOne(-1) 按 /stop 语义中断匹配的工作链

未预埋 emoji 仍会交给 Agent 结合上下文判断。重复事件、重试、重启和仍显示在消息上的 旧 Reaction 不会重放已完成工作;移除 Reaction 也不会回滚已完成的外部操作。

其他已经落地、但容易遗漏的 Fork 能力:

  • /new chat [name] 会新建群、邀请命令发送者、继承当前工作目录,并开启全新会话。
  • /resume [N] 在私聊中列出兼容历史;/account 和 /account change 用于查看或 更换当前应用凭据。
  • /stop comment:<scopeHash> 与 /timeout comment:<scopeHash> <N|off|default> 允许管理员控制云文档评论任务; /doc 用于说明无需绑定的评论模型。
  • 当 bridge-aware lark-cli 支持回调签名时,Agent 创建的 CardKit 2.0 按钮可以把签名 载荷送回同一 session。
  • 可把 reviewed Group Prompt 安装到 ~/.lark-channel/profiles/<profile>/prompts/groups/<chatId>.md。它必须是普通 UTF-8 文件、不能超过 64 KiB;在目标群或目标话题 scope 执行 /new 后,Bridge 会在那里 固定并激活新的不可变快照。

关于能实现的效果,详情可以阅读飞书文档

主要功能

  • 在飞书私聊直接发消息,或在群里 @bot,把任务转给本机 Claude Code / Codex CLI。
  • 流式卡片:文本回复和工具调用实时更新在同一张卡片上。
  • COT 过程消息:可选先发一条过程消息展示 agent 的阶段性文本和工具调用,再单独发送最终答案。
  • 会话延续:每个聊天、话题或文档评论有自己的会话,不会互相串。
  • 排队与消息合并:短时间连续发送的消息会合并处理;任务运行中收到的普通消息会排队到下一轮,/new、/cd、/ws use、/stop 这类命令可以中断当前任务。
  • 多工作空间:用 /cd 切换当前项目,用 /ws 保存和复用常用项目目录。
  • 图片 / 文件:直接发给 bot,bridge 下载到本地后交给本机 agent 处理。
  • 卡片按钮:/help、/ws list、/status 返回可点击的交互卡片。

前置条件

安装

git clone https://github.com/bwlfhu/lark-coding-agent-bridge.git
cd lark-coding-agent-bridge
corepack enable
pnpm install --frozen-lockfile
pnpm build
node bin/lark-channel-bridge.mjs run

打包安装与 DSH profile 配置见 部署说明。CLI 命令保持 lark-channel-bridge。

首次启动

lark-channel-bridge run

第一次运行会进入扫码向导:

  1. 终端渲染二维码。
  2. 用飞书 App 扫码。
  3. 选择或创建 PersonalAgent 应用。
  4. 如果终端提示,选择本次要初始化的 agent。
  5. 成功后配置写入 ~/.lark-channel/config.json。

没有指定项目目录也可以启动。bridge 会创建一个 profile 托管的默认工作目录;启动后在飞书里发送 /cd <path> 切到实际项目。

如果已经有 PersonalAgent app,可以在初始化时传 --app-id 跳过创建应用流程;命令会提示输入 App Secret。

lark-channel-bridge run --app-id cli_xxx
# 或直接初始化并启动后台服务
lark-channel-bridge start --app-id cli_xxx

Lark 国际版应用可加 --tenant lark。

后台运行

run 适合首次配置和前台调试。确认 bot 能正常收发消息后,先用 Ctrl-C 停掉前台进程,再用系统服务常驻后台:

lark-channel-bridge start
lark-channel-bridge status
lark-channel-bridge stop

服务层命令必须先全局安装,不能直接用 npx。daemon 的 launchd plist / systemd unit / Windows 任务会记录 bridge CLI 的路径;如果这个路径来自 npm 临时缓存,缓存清掉后 daemon 就起不来。run 用 npx 单次启动没问题。

服务层命令按 profile 注册,每个 profile 有独立服务:

lark-channel-bridge start [--profile <name>]
lark-channel-bridge stop [--profile <name>]
lark-channel-bridge restart [--profile <name>]
lark-channel-bridge status [--profile <name>]
lark-channel-bridge unregister [--profile <name>]

平台映射:

  • macOS:launchd 用户代理 ai.lark-channel-bridge.bot.<profile>
  • Linux:systemd 用户单元 lark-channel-bridge.bot.<profile>.service
  • Windows:Task Scheduler 任务 LarkChannelBridge.Bot.<profile>,launcher 是 .cmd

daemon 日志在 ~/.lark-channel/profiles/<profile>/logs/daemon/。

多 profile:分别运行 Claude 和 Codex

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 @bwlfhu/lark-channel-bridge

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229