dsh-skill-pack-security-provider
github.com/PerryLink/dsh-skill-pack-security
v2.2.24
模型与账号
可执行外部程序发起网络请求硬编码外部上报地址
面向 DeepSeek Harness 的八个安全审计技能 + 一个自动化插件供应链门禁。
作者原文(英文)
Provider plugin for dsh-skill-pack-security: registers the pack's skills/ (zh) or skills-en/ (en) edition on ctx.skills AND the plugin_vet supply-chain gate tool on ctx.tools (license/SBOM/commit-lock/malware scans + five-dimension risk card). Ships both
中文简介由 DeepSeek 模型翻译,仅供参考。
dshdsh-plugindeepseek-harnessskill-packskillssecuritysecurity-auditsupply-chain
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注2需留意3一般18未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中lib/vet/scanners.js:14import { spawn } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 发起网络请求
network需留意4 处命中lib/vet/engine.js:4* report. Pure orchestration — all side effects live in `source.ts`/`fetch.ts`lib/vet/engine.js:15import { VetFetchError } from './fetch.js';lib/vet/fetch.js:45response = await fetch(url, {lib/vet/fetch.js:88response = await fetch(url, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 硬编码外部上报地址
hardcoded-endpoint需留意2 处命中lib/vet/redact.js:28{ pattern: /https:\/\/discord(?:app)?\.com\/api\/webhooks\/[0-9]+\/[A-Za-z0-9_-]+/g, replace: 'https://discord.com/api/w…lib/vet/redact.js:29{ pattern: /https:\/\/api\.telegram\.org\/bot[0-9]+:[A-Za-z0-9_-]+/g, replace: 'https://api.telegram.org/bot[REDACTED]' …- 确认这个地址属于插件作者,且不是临时或匿名托管。
- 接触凭据或密钥
credentials一般149 处命中lib/vet/checks.js:389const CRED_TOUCH = /(\.ssh\b|id_rsa|id_ed25519|\.npmrc|\.gitconfig|\.aws\b|credentials|known_hosts)/i;lib/vet/checks.js:426reason = zh ? '触碰用户凭据或全局配置' : 'touches user credentials or global config';lib/vet/redact.js:2* Report redaction: no secret-shaped text may ever leave the scan engine.lib/vet/redact.js:5* the canonical report, mirroring the pack's `secret-scan` redaction rule- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般8 处命中lib/vet/engine.js:43const head = (await readFile(join(root, '.git', 'HEAD'), 'utf8')).trim();lib/vet/engine.js:50const ref = (await readFile(join(root, '.git', refMatch[1]), 'utf8')).trim();lib/index.js:68if (!existsSync(dir))lib/index.js:72entries = readdirSync(dir, { withFileTypes: true });- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般1 处命中lib/types/vet/tool.d.ts:16export declare function buildVetTool(config: VetConfig, lang: Lang): import("@deepseek-ai/dsh-tools").ToolDefinition;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| 发起网络请求 | network | 需留意 | 4 |
| 硬编码外部上报地址 | hardcoded-endpoint | 需留意 | 2 |
| 接触凭据或密钥 | credentials | 一般 | 149 |
| 读取文件 | reads-files | 一般 | 8 |
| 动态加载模块 | dynamic-import | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 75 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)