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

koishi-plugin-auto-mas-connector

Latest version: v1.0.8

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: yuzuharayuka
0 Stars
0 Forks
10 Versions
1.8K Downloads
TypeScript Repo language

Scan summary

koishi-plugin-auto-mas-connector was last scanned on 30 Nov 2026 at version 1.0.8. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 2 were published within 4 days (27–30 Nov 2026).
  • Findings: No rules fired in version 1.0.8.
  • Downloads: 1,793 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.8 LATEST 30 Nov 2026 No rules fired
1.0.7 27 Nov 2026 No rules fired
1.0.6 2 Nov 2026 No rules fired
1.0.5 2 Nov 2026 Not shown
1.0.4 2 Nov 2026 Not shown

No rules fired in 1.0.8

Findings

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

README

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

koishi-plugin-auto-mas-connector

通过 Koishi 查询和控制 AUTO-MAS,并接收它推送的通知。

安装

yarn add koishi-plugin-auto-mas-connector

在 koishi.yml 中启用:

plugins:
  auto-mas-connector:
    baseUrl: http://127.0.0.1:36163

复用 Koishi 的 HTTP 端口需要 @koishijs/plugin-server;没有该服务时插件会改为独立监听。

指令

指令 别名 说明
mas.status mas状态 后端状态、运行任务与推送状态
mas.task [任务ID] mas任务 任务列表;带完整 ID 或前缀查结果
mas.queue mas队列 调度队列;-v 显示完整 ID
mas.scripts mas脚本 脚本配置;-v 显示完整 ID
mas.users [脚本] mas用户 脚本用户;-v 显示完整 ID
mas.history [天数] mas历史 执行历史,默认 1 天
mas.start [名称] mas启动 启动脚本或队列;-c 循环执行队列
mas.startqueue [队列] [用户...] mas开队 指定用户启动队列
mas.stop [任务ID] mas停止 停止任务;支持完整 ID 或运行中任务 ID 的前缀
mas.power [操作] -y mas电源 任务结束后关机、重启、休眠等
mas.process [操作] -y mas进程 查看、关闭、启动或重启 AUTO-MAS
mas.screenshot [窗口] mas截图 按配置截图;-a 用 ADB
mas.push [地址] mas推送 查看推送、接收类别、目标与最近推送;-e 启用、-d 关闭、-t 测试
mas.test [-s] mas测试 给聊天目标发测试通知;-s 发六星样例
mas.whoami mas我是谁 查看自己的平台标识

查询类指令所有人可用,控制类指令仅管理员。

配置

配置项 默认值 说明
baseUrl http://127.0.0.1:36163 AUTO-MAS 后端地址
admins 空 管理员标识,格式 平台:用户ID,用 mas.whoami 获取
listenMode auto 推送服务方式:自动、复用 Koishi 服务、独立监听
listenPath /AUTO_MAS 推送路径,需与 AUTO-MAS 的推送地址一致
token 空 与 AUTO-MAS 的 KoishiToken 一致;留空不校验
notifyTargets 空 推送目标:平台、会话类型、会话 ID、接收类别、关键词
notifyEvents 全部启用 全局接收类别,关闭或删行后不接收该类通知
notifyImage 开启 把通知渲染为图片;过长文本仍用合并转发
mergeForward 开启 文本通知使用合并转发;平台不支持时回退为逐条文本
screenshotMode auto 截图方式:自动、窗口、ADB
processControl 关闭 允许通过指令控制 AUTO-MAS 进程

完整配置见控制台。

接入 AUTO-MAS

  1. 在 AUTO-MAS 的通知设置中启用 Koishi,填写地址与令牌:
IfKoishiSupport: true
KoishiServerAddress: ws://<Koishi 地址>:<端口>/AUTO_MAS
KoishiToken: <与插件 token 一致>
  1. 保存后重启 AUTO-MAS。推送通道只在启动时初始化,运行中修改不会生效。
  2. 用 mas推送 查看当前设置,mas推送 -t 让 AUTO-MAS 发一条测试通知;也可以让 mas推送 -e 自动写入。
部署方式 listenMode KoishiServerAddress
同机 自动 ws://127.0.0.1:5140/AUTO_MAS
跨机 / 容器 独立监听 ws://<Koishi 地址>:5150/AUTO_MAS

webhook 与 Koishi 是两种通道:指向 /AUTO_MAS 的 HTTP POST 属于 webhook,不会被本插件接收。

注意事项

  • 类别按正文关键词归类:统计报告、任务完成、异常、六星、活动提醒、维护提醒、更新提醒、社区签到、材料收获、测试通知、其他。停服维护、需要更新客户端、需要人工登录同时计入「异常」,只订阅异常也不会漏收。
  • 通知按正文关键词归类,识别不到的消息归入「其他」;类别没启用、目标订阅的类别或关键词不匹配时,通知会被丢弃并写入一条警告日志。
  • 公招六星喜报可能只有一张图或一行标题,插件会优先转发原图,读不到图片时用图片替代文字发文本卡片;mas测试 -s 可验证这条链路。
  • 收不到通知时,先用 mas推送 看「通道」「类别」「目标」「AUTO-MAS 开关」和「最近」推送结果,再检查 AUTO-MAS 是否已重启。
  • 通知集中到达属于正常现象:AUTO-MAS 在整批任务结束后统一投递;维护与更新提示受 AUTO-MAS 的「任务结果推送时间」控制,设为「不推送」时不会发出。
  • 跨机部署需要放行独立监听端口;不设 token 时任何能访问该端口的程序都能伪造通知。

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 koishi-plugin-auto-mas-connector

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (1)
Research

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

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

Frame 2085668439 (1)
Group 1261154229