dsh-data-cleaning-agent
github.com/duhu2000/dsh-data-cleaning-agent
v0.9.17
模型与账号
可执行外部程序以 shell 执行命令写入文件
Data cleaning and data enrichment for CSV/XLSX/JSON enterprise lists in DeepSeek Harness, including spreadsheet cleaning, deduplication, profiling, optional Qichacha MCP and exports.
该插件尚未翻译,显示作者原文。
deepseek-harnessdeepseekharnessdshdsh-plugincordispluginextension
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注2需留意4一般16未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中lib/install-preflight.js:6import { execFileSync } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 以 shell 执行命令
shell-exec高关注1 处命中lib/install-preflight.js:45try { host = execFileSync(positional[1] || 'dsh', ['--version'], { encoding: 'utf8', timeout: 15000 }).match(/\b\d+\.\d+…- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 写入文件
writes-files需留意3 处命中lib/image-intake.js:397try { await unlink(path); } catch (error) {lib/image-intake.js:408await mkdir(IMAGE_ROOT, { recursive: true, mode: 0o700 });lib/image-intake.js:410await writeFile(path, decoded.bytes, { mode: 0o600, flag: 'wx' });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意3 处命中lib/client.js:2319const res = await fetch(path, {lib/client.js:5205const response = await fetch(`/data-cleaning/api/workflow/tasks/${encodeURIComponent(latest.id)}/artifacts/${encodeURICo…lib/web.js:239const res = await fetch(path, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 接触凭据或密钥
credentials一般26 处命中lib/client.js:5206method: 'GET', credentials: 'same-origin', headers: { accept: artifact.mediaType || 'application/octet-stream' },lib/image-intake.js:154const auth = /(?:^|\D)(?:401|403)(?:\D|$)|AUTH|TOKEN|CREDENTIAL/i.test(`${code} ${value?.message ?? ''}`);lib/qcc-safety.js:9const SECRET_KEY = /(?:^|_)(?:access_token|refresh_token|id_token|token|authorization|cookie|secret|client_secret|code_v…lib/qcc-safety.js:15const URL_SECRET = /([?&](?:code|token|access_token|refresh_token|id_token|client_secret)=)[^&\s]+/gi;- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般25 处命中lib/engine.js:104({ default: XLSX } = await import('xlsx'));lib/image-intake.js:434require(commandId) {lib/image-intake.js:444const record = this.require(commandId);lib/image-intake.js:464const record = this.require(commandId);- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取文件
reads-files一般1 处命中lib/install-preflight.js:32try { const pkg = JSON.parse(readFileSync(resolve(dir, 'package.json'), 'utf8')); if (pkg.name === name) return pkg.vers…- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 文中出现远程脚本地址
remote-url-reference一般1 处命中docs/USER-GUIDE.md:12bash <(curl -fsSL https://raw.githubusercontent.com/duhu2000/dsh-data-cleaning-agent/main/install.sh)- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| 以 shell 执行命令 | shell-exec | 高关注 | 1 |
| 写入文件 | writes-files | 需留意 | 3 |
| 发起网络请求 | network | 需留意 | 3 |
| 接触凭据或密钥 | credentials | 一般 | 26 |
| 动态加载模块 | dynamic-import | 一般 | 25 |
| 读取文件 | reads-files | 一般 | 1 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 69 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。