dsh-llm-pi-ai-headers avatar

dsh-llm-pi-ai-headers

为dsh提供商添加自定义请求头

PluginAI 模型
验证
L2 · 结构化
安全
中风险
健康
活跃
信任

功能介绍AI

Adds per-provider custom request headers and retry policy configuration for dsh LLM providers.

  • Configure request headers per provider in settings sidebar
  • Edit retry policy: mode, max retries, error codes, backoff
  • Restores User Agent dropped by official adapter filter

由 AI 基于 README 自动生成,仅供参考。

安装

dsh plugin --profile web add github:xsluck/dsh-llm-pi-ai-headers

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

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

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

DSH.SO AUDIT需注意1e6a11
自动审查 · 每日更新
需注意

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

1 严重·6 警告·6 提示·7 扫描文件数
code-exec ×1
插件版本0.3.0dsh 清单
扫描版本1e6a117c49092026-08-20
当前版本1e6a117c4909

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

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

第二意见扫描(vet · 并行评估期)
vet:干净

vet 判定:vet:干净 · score 81

  • R10 · info [heuristic] — 依赖清单:6 项(@deepseek-ai/dsh-launch-environment, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-llm-pi-ai, @deepseek-ai/dsh-settings, @deepseek-ai/schemastery, @earendil-works/pi-ai,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
  • R12 · info [heuristic] (downgraded) — engines.node=>=18 低于 DSH 运行要求(>=22.19),可能不兼容
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.env
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.env
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.env

vet 仅作参考,不改变 dsh 的四档等级。

风险:中风险1 critical · 6 warning · 6 info

• 静态启发式扫描:已完成(7 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

高危发现 · 7 / 7

  • critical使用 child_process 子进程模块(Node.js)install.mjs:22
    import { spawnSync } from 'node:child_process'
  • warning文件系统写入操作install.mjs:105
    await fs.writeFile(backup, src)
  • warning文件系统写入操作install.mjs:178
    await fs.writeFile(bundle, src)
  • warning文件系统写入操作install.mjs:195
    await fs.writeFile(pluginDst, await fs.readFile(pluginSrc))
  • warning文件系统写入操作uninstall.mjs:47
    await fs.writeFile(args.client, await fs.readFile(backup))
  • warning文件系统写入操作uninstall.mjs:61
    await fs.writeFile(client, await fs.readFile(backup))
  • warning文件系统写入操作uninstall.mjs:84
    await fs.writeFile(patchYml, yml)

静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

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

• 仓库创建: 2026-08-20

• 星标: ★ 0 · 复刻: 0

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

来源

GitHub: github.com/xsluck/dsh-llm-pi-ai-headers

这页有帮助吗?