dsh-witness avatar

dsh-witness

Plugin
验证
L1 · 已找到
安全
中风险
健康
活跃
信任
未评级

功能介绍

安装

dsh plugin --profile web add github:Wang-Lin-Chang/dsh-witness

Install method: GitHub · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

安全报告

自动静态扫描,非人工审核。

DSH.SO AUDITMEDIUM67cb09
自动审查 · 每日更新
MEDIUM

非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。

7 严重·9 警告·0 提示·8 扫描文件数
code-exec ×7
插件版本0.2.0
扫描版本67cb09eb5fe82026-08-21
当前版本67cb09eb5fe8

扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

风险详情

风险等级规则位置描述
critical
使用 child_process 子进程模块(Node.js)
detach-runner.cjs:23
const { spawn } = require('node:child_process')
critical
使用 child_process 子进程模块(Node.js)
detach-runner.cjs:34
const r = require('node:child_process').spawnSync('powershell', ['-NoProfile', '-Command', `[int](Get-Date -Date (Get-Process -Id ${process.
critical
使用 child_process 子进程模块(Node.js)
detach-runner.cjs:126
try { require('node:child_process').spawnSync('powershell', ['-NoProfile', '-NonInteractive', '-Command', ps], { windowsHide: true, timeout:
critical
使用 child_process 子进程模块(Node.js)
lib/WitnessJobRegistry.js:4
import { spawn, spawnSync } from 'node:child_process';
critical
使用 child_process 子进程模块(Node.js)
lib/spawnDirCleanup.js:8
import { spawnSync } from 'node:child_process';
critical
使用 child_process 子进程模块(Node.js)
src/WitnessJobRegistry.ts:9
import { spawn, spawnSync } from 'node:child_process'
critical
使用 child_process 子进程模块(Node.js)
src/spawnDirCleanup.ts:8
import { spawnSync } from 'node:child_process'
warning
文件系统写入操作
detach-runner.cjs:40
fs.writeFileSync(lockFile, `${process.pid}:0`, { flag: 'wx' })   // wx = O_EXCL 独占;lock 立即存在(收养观测窗口)
warning
文件系统写入操作
detach-runner.cjs:44
if (lockCreated) { try { myStartSec = procStartSec(); fs.writeFileSync(lockFile, `${process.pid}:${myStartSec}`) } catch {} }   // startSec 
warning
文件系统写入操作
detach-runner.cjs:50
try { fs.writeFileSync(exitFile, '', { flag: 'wx' }) } catch {}   // 预创建 exit.txt(防任务抢建伪造;wx 防覆盖已有)
warning
文件系统写入操作
lib/WitnessJobRegistry.js:185
fs.writeFileSync(path.join(d, 'autopsy.json'), JSON.stringify({
warning
文件系统写入操作
lib/WitnessJobRegistry.js:196
fs.writeFileSync(path.join(d, 'state', 'done'), String(code));
静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

最近提交 2026-08-20 · 活跃度:活跃

• 仓库创建: 2026-08-21

• 星标: ★ 0 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

GitHub: github.com/Wang-Lin-Chang/dsh-witness

这页有帮助吗?